diff options
author | Hongjun Ni <hongjun.ni@intel.com> | 2016-07-29 19:55:19 +0800 |
---|---|---|
committer | Hongjun Ni <hongjun.ni@intel.com> | 2016-07-29 03:42:07 +0000 |
commit | ed5a133ef8debf7580d6c5bc16187222244c8b0e (patch) | |
tree | ed7c89e3738ae8746ffb1abab6b5f995c644e253 /nsh-plugin/nsh/nsh.h | |
parent | dd4641c844d60ad21ab638cd08cfd89f02eaf071 (diff) |
Fix nsh_add_del_map issue with VAT
PatchSet 4: rebuild
PatchSet 4: rebuild
PatchSet 3: rebuild again
PatchSet 2: rebuild
Change-Id: Id8c10d65767a9d4eded63d7be6a87e2f87f383db
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh-plugin/nsh/nsh.h')
-rw-r--r-- | nsh-plugin/nsh/nsh.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nsh-plugin/nsh/nsh.h b/nsh-plugin/nsh/nsh.h index c574148..0dbc8c8 100644 --- a/nsh-plugin/nsh/nsh.h +++ b/nsh-plugin/nsh/nsh.h @@ -24,7 +24,7 @@ typedef struct { /** Key for nsh_header_t entry: 24bit NSP 8bit NSI */ u32 nsp_nsi; - /** Key for nsh_header_t entry to map to. : 24bit NSP 8bit NSI + /** Key for nsh_header_t entry to map to. : 24bit NSP 8bit NSI * This may be ~0 if next action is to decap to NSH next protocol * Note the following heuristic: * if nsp_nsi == mapped_nsp_nsi then use-case is like SFC SFF @@ -42,7 +42,7 @@ typedef struct { typedef struct { nsh_map_t map; - u32 is_add; + u8 is_add; } nsh_add_del_map_args_t; typedef struct { @@ -87,7 +87,7 @@ _(nsp_nsi) \ _(c1) \ _(c2) \ _(c3) \ -_(c4) +_(c4) /* TODO Temp killing tlvs as its causing pain - fix in NSH_SFC */ #define foreach_32bit_field \ _(nsp_nsi) \ |