From 25f635852aee76255f7210c43d43668a80fdccce Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Mon, 6 Mar 2017 21:51:00 +0100 Subject: dpdk: dpdk-input optimizations and fixes - fix issue caused by assumption that ethertype starts at 0 - intoduce buffer templates to speed-up vlib_buffer_t metadata initialization - avoid check for multiseg buffers inside loop if multiseg is disabled - interleave prefetches to reduce load on L1 cache Change-Id: I3b76e6d3e1e15ed28f01625edb7fbe9f38112e03 Signed-off-by: Damjan Marion --- src/plugins/dpdk.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/plugins/dpdk.am') diff --git a/src/plugins/dpdk.am b/src/plugins/dpdk.am index 01383de6..f1a37ae2 100644 --- a/src/plugins/dpdk.am +++ b/src/plugins/dpdk.am @@ -16,6 +16,10 @@ vppplugins_LTLIBRARIES += dpdk_plugin.la dpdk_plugin_la_LDFLAGS = $(AM_LDFLAGS) -Wl,--whole-archive,-l:libdpdk.a,--no-whole-archive,-lm,-ldl +# due to internal compiler error in GCC when compiling dpdk/device/node.c +# debug sysmbols level reduced to 1. See GCC PR #79953 for details +CFLAGS += -g1 + dpdk_plugin_la_SOURCES = \ dpdk/main.c \ dpdk/buffer.c \ -- cgit 1.2.3-korg