net/ena/base: prefetch cache with intention to write
authorMichal Krawczyk <mk@semihalf.com>
Tue, 11 May 2021 06:45:44 +0000 (08:45 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 11 May 2021 13:00:44 +0000 (15:00 +0200)
commiteb357d5f86ab23cdebe8f203a4d914087b8da1a5
tree56b4af288fadec19020e04b2cff2deef3ae4ad7d
parent71f0a44d6f9076abc5914a9105b886fe518925a9
net/ena/base: prefetch cache with intention to write

As in the v20.11 rte_prefetch0_write API was added, it should be used
in the platform file for the definition of the macro prefetchw, instead
of using simply prefetch0.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Amit Bernstein <amitbern@amazon.com>
drivers/net/ena/base/ena_plat_dpdk.h