aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_bvi.h
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-09-12 06:53:03 -0400
committerDamjan Marion <dmarion@me.com>2018-09-13 15:35:16 +0000
commitc25eb4547a4d25c0808a33e2a79fb7485b5bfe20 (patch)
tree9fed85b5bebdec24a9d49adc567b32598928d506 /src/vnet/l2/l2_bvi.h
parent008eef3073e07de3e5802215ffb213fbc198814b (diff)
L2-FWD: use vlib_buffer_enqueue_to_next and cache prefetch fix
before: l2-fwd ... 1.72e1 256.00 after: l2-fwd ... 1.49e1 256.00 Change-Id: I24b29b799435776abc6e60df0dd0301b74aac99b Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/l2/l2_bvi.h')
-rw-r--r--src/vnet/l2/l2_bvi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/l2/l2_bvi.h b/src/vnet/l2/l2_bvi.h
index cc86072fab7..7abe462054e 100644
--- a/src/vnet/l2/l2_bvi.h
+++ b/src/vnet/l2/l2_bvi.h
@@ -38,7 +38,7 @@ static_always_inline u32
l2_to_bvi (vlib_main_t * vlib_main,
vnet_main_t * vnet_main,
vlib_buffer_t * b0,
- u32 bvi_sw_if_index, next_by_ethertype_t * l3_next, u32 * next0)
+ u32 bvi_sw_if_index, next_by_ethertype_t * l3_next, u16 * next0)
{
/* Perform L3 my-mac filter */
ethernet_header_t *e0 = vlib_buffer_get_current (b0);