summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2023-11-13 16:16:10 -0800
committerDavid S. Miller <davem@davemloft.net>2023-11-15 10:07:39 +0000
commit7f0a168b0441ef7fd6b46563efb2706c58ac2a4c (patch)
tree051330d4553c0b4de4cbcd60842dbd3dbd448b75 /drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
parent34eec1f29a5998305578fcc3e55d491a1795b56d (diff)
bnxt_en: Add completion ring pointer in TX and RX ring structures
From the TX or RX ring structure, we need to find the corresponding completion ring during initialization. On P5 chips, we use the MSIX/napi entry to locate the completion ring because there is only one RX/TX ring per MSIX. To allow multiple TX rings for each MSIX, we need to add a direct pointer from the TX ring and RX ring structures. This also simplifies the existing logic. 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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c')
0 files changed, 0 insertions, 0 deletions