net/ena: flush Rx buffers memory pool cache
authorIdo Segev <idose@amazon.com>
Tue, 26 Jan 2021 18:32:22 +0000 (19:32 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:12 +0000 (18:16 +0100)
commit4387e81c94f4702ec2eb2037df2bfa19927309d7
tree25236b6af0d235f53e40142bb4dae3fbcbaa144b
parentc0a8b0247533ccae77af853600e58565ad94b0aa
net/ena: flush Rx buffers memory pool cache

As the refill called as part of ena_start(), we end up the refill
progress with stuck buffers at the caller core cache.

Calling to flush the cache results with invalidate this cache and free
those stuck buffers.

Fixes: 1173fca25af9 ("ena: add polling-mode driver")
Cc: stable@dpdk.org
Signed-off-by: Ido Segev <idose@amazon.com>
Reviewed-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
drivers/net/ena/ena_ethdev.c