common/sfc_efx/base: fix Tx descriptor DMA sync on Riverhead
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 24 Sep 2020 12:12:09 +0000 (13:12 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:12 +0000 (19:19 +0200)
commit82192e2233649c6edf4b70b888faedd76d097a0f
treeee67c5fe387647dde8153f0b525556b9bf261d3c
parent4fd0181f6c00785ba4e2ed211ad27661d70587ad
common/sfc_efx/base: fix Tx descriptor DMA sync on Riverhead

Rx/Tx queue DMA sync should not assume descriptor size to be the same
for all NIC familties since it Tx descritor size is 16 on Riverhead.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
drivers/common/sfc_efx/base/ef10_rx.c
drivers/common/sfc_efx/base/ef10_tx.c
drivers/common/sfc_efx/base/efx_impl.h
drivers/common/sfc_efx/base/efx_rx.c
drivers/common/sfc_efx/base/efx_tx.c