config: enable packet prefetching with Meson
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 13 Nov 2020 14:52:12 +0000 (15:52 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 14 Nov 2020 09:56:30 +0000 (10:56 +0100)
commit048a2aa3f30c90c7f9339a17bfd1e663e379625f
treecd2b769e5dbb23d2cf35771ec087bd8c88984ee1
parentb605df71beaac34f2af0df7eb9e759ca0c80acf3
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 <yong.liu@intel.com>
Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
config/rte_config.h