]> 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)
commitb2091d0c6a5f4747510416ce2baae884fd8c5878
treeafbe31ee7333acea4b37ac926e19afaf663971b8
parente819fd4d49e4a9802eca6d6fb9cc6971dd770917
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