Enable PCI extended tags in the DPDK config 67/1767/2
authorDamjan Marion <damarion@cisco.com>
Sun, 26 Jun 2016 18:12:40 +0000 (20:12 +0200)
committerDave Barach <openvpp@barachs.net>
Sat, 2 Jul 2016 12:22:43 +0000 (12:22 +0000)
This change should improve DPDK performance on 40G+ NICs
with small packets.
It also removes ITR setting for i40e devices, allowing driver to set default.

Change-Id: I70761b155e48fb0281f7c231516d83027bd16ca2
Signed-off-by: Damjan Marion <damarion@cisco.com>
dpdk/Makefile

index 51c7ee5..6296c96 100644 (file)
@@ -108,7 +108,9 @@ $(B)/custom-config: $(B)/.patch.ok Makefile
        $(call set,RTE_LIBEAL_USE_HPET,y)
        $(call set,RTE_BUILD_COMBINE_LIBS,y)
        $(call set,RTE_LIBRTE_I40E_16BYTE_RX_DESC,y)
-       $(call set,RTE_LIBRTE_I40E_ITR_INTERVAL,16)
+       $(call set,RTE_PCI_CONFIG,y)
+       $(call set,RTE_PCI_EXTENDED_TAG,"on")
+       $(call set,RTE_PCI_MAX_READ_REQUEST_SIZE,4096)
        @# enable debug init for device drivers
        $(call set,RTE_LIBRTE_I40E_DEBUG_INIT,$(DPDK_DEBUG))
        $(call set,RTE_LIBRTE_IXGBE_DEBUG_INIT,$(DPDK_DEBUG))