From: Maxime Coquelin Date: Fri, 13 Nov 2020 14:52:12 +0000 (+0100) Subject: config: enable packet prefetching with Meson X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=048a2aa3f30c90c7f9339a17bfd1e663e379625f;p=dpdk.git config: enable packet prefetching with Meson With Make build system, RTE_PMD_PACKET_PREFETCH was enabled by default. It got lost when transitioning to Meson build system. In order to avoid performance changes, this patch enables packet prefetching in rte_config.h. Fixes: 9314afb68a53 ("drivers: add infrastructure for meson build") Cc: stable@dpdk.org Reported-by: Marvin Liu Suggested-by: David Marchand Signed-off-by: Maxime Coquelin --- diff --git a/config/rte_config.h b/config/rte_config.h index 25219f04af..a0b5160ff2 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -103,6 +103,9 @@ /****** driver defines ********/ +/* Packet prefetching in PMDs */ +#define RTE_PMD_PACKET_PREFETCH 1 + /* QuickAssist device */ /* Max. number of QuickAssist devices which can be attached */ #define RTE_PMD_QAT_MAX_PCI_DEVICES 48