summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/dpdk/init.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-02-27 11:29:20 +0100
committerNeale Ranns <nranns@cisco.com>2017-02-27 12:27:43 +0000
commitff542707733102b2573dca2496ea427b3dba3b10 (patch)
treedf4267e0a6111dd95bc17f6c787ad882c685fec4 /src/vnet/devices/dpdk/init.c
parent39f9d8bd226ab5aa366f181a5cbf7c873f599e06 (diff)
vlib: add VLIB_BUFFER_EXT_HDR_VALID flag
Change-Id: If56c66dd12eded1cc997087de5fd1b975766c4e2 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/devices/dpdk/init.c')
-rwxr-xr-xsrc/vnet/devices/dpdk/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/dpdk/init.c b/src/vnet/devices/dpdk/init.c
index c50c0659696..ec008c20707 100755
--- a/src/vnet/devices/dpdk/init.c
+++ b/src/vnet/devices/dpdk/init.c
@@ -1790,7 +1790,7 @@ dpdk_init (vlib_main_t * vm)
/* Default vlib_buffer_t flags, DISABLES tcp/udp checksumming... */
dm->buffer_flags_template =
- (VLIB_BUFFER_TOTAL_LENGTH_VALID | VNET_BUFFER_RTE_MBUF_VALID
+ (VLIB_BUFFER_TOTAL_LENGTH_VALID | VLIB_BUFFER_EXT_HDR_VALID
| IP_BUFFER_L4_CHECKSUM_COMPUTED | IP_BUFFER_L4_CHECKSUM_CORRECT);
dm->stat_poll_interval = DPDK_STATS_POLL_INTERVAL;