aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>2016-12-20 15:20:32 +0000
committerSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>2016-12-20 15:24:02 +0000
commit767b2f59a85d7b80a5dc597363261e0b181601bf (patch)
treec1cad84ace8448701c7b3976d68e69dd4bb65422
parenta1bd0230d2412223141486192ee0d4632bfe8710 (diff)
dpdk: fix advance header for ip4-no-checksum
Fixes: 78eeef747b19 ("Improve dpdk-input node to handle drivers not setting mbuf PTYPE") Change-Id: I94addcec2bf3097ab047e8d7e957bc983eab9add Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
-rw-r--r--vnet/vnet/devices/devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vnet/vnet/devices/devices.c b/vnet/vnet/devices/devices.c
index 624cf76b2c2..cd4386ebdca 100644
--- a/vnet/vnet/devices/devices.c
+++ b/vnet/vnet/devices/devices.c
@@ -44,6 +44,7 @@ device_input_next_node_advance[((VNET_DEVICE_INPUT_N_NEXT_NODES /
CLIB_CACHE_LINE_BYTES) +1) * CLIB_CACHE_LINE_BYTES] =
{
[VNET_DEVICE_INPUT_NEXT_IP4_INPUT] = sizeof (ethernet_header_t),
+ [VNET_DEVICE_INPUT_NEXT_IP4_NCS_INPUT] = sizeof (ethernet_header_t),
[VNET_DEVICE_INPUT_NEXT_IP6_INPUT] = sizeof (ethernet_header_t),
[VNET_DEVICE_INPUT_NEXT_MPLS_INPUT] = sizeof (ethernet_header_t),
};