aboutsummaryrefslogtreecommitdiffstats
path: root/build/external
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2018-10-23 16:15:58 -0700
committerDamjan Marion <dmarion@me.com>2018-10-24 12:13:18 +0000
commita35fc46c0ae6e6d21b35413bdc993171265fd4e5 (patch)
tree785f29c8f7c3ecbf4c51c5fd8b598aaf00053de1 /build/external
parent7d645f771cea143eab834e7f3383e36cef565786 (diff)
dpdk: disable unused rxtx callbacks in ethdev
Save a few cycles on every rx and tx burst call by not compiling in support for DPDK Rx and Tx callbacks. This feature is optional and unused by current VPP code. Change-Id: I1916bc8822e2bd405c1ac3909e85467a01023862 Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'build/external')
-rw-r--r--build/external/packages/dpdk.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/external/packages/dpdk.mk b/build/external/packages/dpdk.mk
index b9d868d1dcd..b981ebbe2d1 100644
--- a/build/external/packages/dpdk.mk
+++ b/build/external/packages/dpdk.mk
@@ -196,6 +196,7 @@ $(B)/custom-config: $(B)/.patch.ok Makefile
$(call set,RTE_LIBRTE_PMD_TAP,$(DPDK_TAP_PMD))
$(call set,RTE_LIBRTE_PMD_FAILSAFE,$(DPDK_FAILSAFE_PMD))
@# not needed
+ $(call set,RTE_ETHDEV_RXTX_CALLBACKS,n)
$(call set,RTE_LIBRTE_CFGFILE,n)
$(call set,RTE_LIBRTE_LPM,n)
$(call set,RTE_LIBRTE_ACL,n)