net/bnxt: fix scalar Tx completion handling
authorLance Richardson <lance.richardson@broadcom.com>
Wed, 16 Jun 2021 17:55:22 +0000 (13:55 -0400)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 8 Jul 2021 03:55:54 +0000 (05:55 +0200)
commit2b5a36f4df0c00407117ed6f8f9444dd943b4f4c
tree090a8e3c06e7d0c2af70834412766c9ecb71d863
parentce5c57ac01af038b930d5164df2cb16193e238ec
net/bnxt: fix scalar Tx completion handling

Preserve the raw (unmasked) transmit completion ring
consumer index.

Remove cache prefetches that have no measurable performance
benefit.

Fixes: c7de4195cc4c ("net/bnxt: modify ring index logic")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_txr.c