From ed5a133ef8debf7580d6c5bc16187222244c8b0e Mon Sep 17 00:00:00 2001 From: Hongjun Ni Date: Fri, 29 Jul 2016 19:55:19 +0800 Subject: 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 --- nsh-plugin/nsh/nsh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nsh-plugin/nsh/nsh.h') 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) \ -- cgit 1.2.3-korg