On Fri, May 30, 2025 at 02:57:06PM +0100, Anatoly Burakov wrote:
> There is an option `RTE_PMD_PACKET_PREFETCH` in `rte_config.h` that is
> always set to 1 by default, and that controls some prefetch behavior in the
> driver. However, there's another prefetch behavior that is controlled by
> `RTE_PMD_USE_PREFETCH`, which is always defined unconditionally (literally
> using `#if 1` construct).
> 
> Replace the check to also use `RTE_PMD_PACKET_PREFETCH` to allow turning it
> off at build time.
> 
> Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com>
> ---
Acked-by: Bruce Richardson <bruce.richard...@intel.com>

Reply via email to