net/bnxt: fix doorbell register offset for Tx ring
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Wed, 17 Jul 2019 10:41:31 +0000 (16:11 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commitfe7848521581926a2edb8dedc5720d0d6f0af899
tree54d177c0f224a6b8fce49bc2a0ac915d6e252d68
parent04a681426d4999f9ff5278a3cc2c8127d25b6f76
net/bnxt: fix doorbell register offset for Tx ring

For Tx-ring # 104 and higher, the doorbell register was incorrectly
configured due to which FW was not able to receive the notification
of packet to transmit.
With this fix, user can run traffic upto 256 rings.

Fixes: 6eb3cc2294fd ("net/bnxt: add initial Tx code")
Cc: stable@dpdk.org
Signed-off-by: Rahul Gupta <rahul.gupta@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ring.c