From: Stephen Hemminger Date: Tue, 23 Oct 2018 23:15:58 +0000 (-0700) Subject: dpdk: disable unused rxtx callbacks in ethdev X-Git-Tag: v19.04-rc0~547 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=a35fc46c0ae6e6d21b35413bdc993171265fd4e5;p=vpp.git 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 --- 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)