bnxt_en: Don't use DEFINE_DMA_UNMAP_ADDR to store DMA address in RX path.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 6 Feb 2017 21:55:33 +0000 (16:55 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 18:30:57 +0000 (13:30 -0500)
commit11cd119d31a71b37c2362fc621f225e2aa12aea1
treeb7460b48c5334a5489fcc54d9f246758ce6fa9d9
parent6bb19474391d17954fee9a9997ecca25b35dfd46
bnxt_en: Don't use DEFINE_DMA_UNMAP_ADDR to store DMA address in RX path.

To support XDP_TX, we need the RX buffer's DMA address to transmit the
packet.  Convert the DMA address field to a permanent field in
bnxt_sw_rx_bd.

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