bnxt_en: Refactor bnxt_tx_int()
authorMichael Chan <michael.chan@broadcom.com>
Tue, 14 Nov 2023 00:16:14 +0000 (16:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Nov 2023 10:07:39 +0000 (10:07 +0000)
commitebf72319cef6e1c038e13bd4c9e3f0ad857e57ff
treee897da97c39759cc7dab79fc6e16c446fb3038a5
parent9c0b06de6fb6f3b5871011aae19305b40084e037
bnxt_en: Refactor bnxt_tx_int()

bnxt_tx_int() processes the only one TX ring from the bnxt_napi pointer.
To prepare for more TX rings associated with the bnxt_napi structure,
add a new __bnxt_tx_int() function that takes the bnxt_tx_ring_info
pointer to process that one TX ring.  No functional change.

Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c