summaryrefslogtreecommitdiffstats
path: root/nsh-plugin/nsh/nsh.api
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2016-10-18 20:01:31 +0800
committerHongjun Ni <hongjun.ni@intel.com>2016-10-19 01:33:28 +0800
commitd1fb1f4bb8b18815fd936a3ab088b96bd82a67c4 (patch)
treef9ba3b1e9a0ab3f299e25ba66adc9a2d90342f0a /nsh-plugin/nsh/nsh.api
parentd4dd7550ba003b9534593da035c48a110a60cc4f (diff)
Add nsh_action filed in nsh map API
In order to support SF, NSH Classifier, add nsh_action: swap|push|pop in nsh map API. Change-Id: I6e9eee13cbd2aa61e72420bfb4f74e9bb7bdfe4d Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh-plugin/nsh/nsh.api')
-rw-r--r--nsh-plugin/nsh/nsh.api2
1 files changed, 2 insertions, 0 deletions
diff --git a/nsh-plugin/nsh/nsh.api b/nsh-plugin/nsh/nsh.api
index 582f84e..9434ba5 100644
--- a/nsh-plugin/nsh/nsh.api
+++ b/nsh-plugin/nsh/nsh.api
@@ -86,6 +86,7 @@ define nsh_add_del_map {
u8 is_add;
u32 nsp_nsi;
u32 mapped_nsp_nsi;
+ u32 nsh_action;
u32 sw_if_index;
u32 next_node;
};
@@ -111,6 +112,7 @@ define nsh_map_details {
u32 map_index;
u32 nsp_nsi;
u32 mapped_nsp_nsi;
+ u32 nsh_action;
u32 sw_if_index;
u32 next_node;
};