]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5c7ca19b017c8218d1f0c2816de2f36d3822be7
treeafbe31ee7333acea4b37ac926e19afaf663971b8
parent03b3dc3a8bbe943b48c160cf4b8c629645044be9
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