dpdk: disable unused rxtx callbacks in ethdev 88/15488/3
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 23 Oct 2018 23:15:58 +0000 (16:15 -0700)
committerDamjan Marion <dmarion@me.com>
Wed, 24 Oct 2018 12:13:18 +0000 (12:13 +0000)
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>
build/external/packages/dpdk.mk

index b9d868d..b981ebb 100644 (file)
@@ -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)