OSDN Git Service

bnxt_en: Refactor bnxt_ring_struct.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 14 Oct 2018 11:02:41 +0000 (07:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:44:31 +0000 (22:44 -0700)
commit6fe19886858f1c7f96a5da3420bd040c58bcaca6
treee6a5254c3024f7ecb557772bf6a52dc94038e5e8
parent74706afa712d3d2aa497585af44f11319b2b6348
bnxt_en: Refactor bnxt_ring_struct.

Move the DMA page table and vmem fields in bnxt_ring_struct to a new
bnxt_ring_mem_info struct.  This will allow context memory management
for a new device to re-use some of the existing infrastructure.

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.h