X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fpppoe%2Fpppoe.h;h=f010750f420a973fa1e1e0e9cedd04359bd95dd4;hb=eb987d3a09f669787014b1553f032219522149e1;hp=b79e4eaae5108aac596dd2f5bd276459cc36525d;hpb=4e5ceefb5522cfde1e916d84b56c318ec1ea614e;p=vpp.git diff --git a/src/plugins/pppoe/pppoe.h b/src/plugins/pppoe/pppoe.h index b79e4eaae51..f010750f420 100644 --- a/src/plugins/pppoe/pppoe.h +++ b/src/plugins/pppoe/pppoe.h @@ -48,6 +48,9 @@ typedef struct typedef struct { + /* Required for pool_get_aligned */ + CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); + /* pppoe session_id in HOST byte order */ u16 session_id; @@ -73,7 +76,7 @@ typedef struct _(DROP, "error-drop") \ _(IP4_INPUT, "ip4-input") \ _(IP6_INPUT, "ip6-input" ) \ -_(CP_INPUT, "pppoe-tap-dispatch" ) \ +_(CP_INPUT, "pppoe-cp-dispatch" ) \ typedef enum { @@ -163,7 +166,7 @@ typedef struct u32 *session_index_by_sw_if_index; /* used for pppoe cp path */ - u32 tap_if_index; + u32 cp_if_index; /* API message ID base */ u16 msg_id_base; @@ -177,7 +180,7 @@ typedef struct extern pppoe_main_t pppoe_main; extern vlib_node_registration_t pppoe_input_node; -extern vlib_node_registration_t pppoe_tap_dispatch_node; +extern vlib_node_registration_t pppoe_cp_dispatch_node; typedef struct { @@ -198,7 +201,7 @@ typedef struct { u8 is_add; u32 client_if_index; - u32 tap_if_index; + u32 cp_if_index; } vnet_pppoe_add_del_tap_args_t; always_inline u64