octeontx2-af: Do NIX_RX_SW_SYNC twice
authorSunil Goutham <sgoutham@marvell.com>
Sun, 25 Jul 2021 13:24:52 +0000 (18:54 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2021 10:52:11 +0000 (11:52 +0100)
commitfcef709c2c4baf758950bd7395e4b10527b81e2c
tree52e46933f1d0253a72e971c0632f027e64c28006
parent758684e49f4c7ea2a75e249e486659f0950cd63e
octeontx2-af: Do NIX_RX_SW_SYNC twice

NIX_RX_SW_SYNC ensures all existing transactions are finished and
pkts are written to LLC/DRAM, queues should be teared down after
successful SW_SYNC. Due to a HW errata, in some rare scenarios
an existing transaction might end after SW_SYNC operation. To
ensure operation is fully done, do the SW_SYNC twice.

Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c