bnxt_en: Use bnxt_cp_ring_info struct pointer as parameter for RX path.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 14 Oct 2018 11:02:55 +0000 (07:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:44:33 +0000 (22:44 -0700)
commite44758b78ae81461a3269e7958653f1af0f78989
tree3cad3111a3859ecb5dba6eab88ad8e4edb5f314f
parent7b3af4f75b81bec06ed5bf411039fbd0646da44e
bnxt_en: Use bnxt_cp_ring_info struct pointer as parameter for RX path.

In the RX code path, we current use the bnxt_napi struct pointer to
identify the associated RX/CP rings.  Change it to use the struct
bnxt_cp_ring_info pointer instead since there are now up to 2
CP rings per MSIX.

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
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c