bnxt: add dma mapping attributes
authorShannon Nelson <shannon.nelson@oracle.com>
Wed, 10 May 2017 01:30:12 +0000 (18:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 May 2017 15:52:43 +0000 (11:52 -0400)
commitc519fe9a4f0d1a1c559529c404589b8e346143f3
treeafbe31ee7333acea4b37ac926e19afaf663971b8
parent9efa27bf92df8edd98e83bc3b32bdd911d38887d
bnxt: add dma mapping attributes

On the SPARC platform we need to use the DMA_ATTR_WEAK_ORDERING attribute
in our Rx path dma mapping in order to get the expected performance out
of the receive path.  Adding it to the Tx path has little effect, so
that's not a part of this patch.

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Reviewed-by: Tushar Dave <tushar.n.dave@oracle.com>
Reviewed-by: Tom Saeger <tom.saeger@oracle.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c