]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt: add dma mapping attributes
authorShannon Nelson <shannon.nelson@oracle.com>
Tue, 4 Apr 2017 18:41:35 +0000 (11:41 -0700)
committerAllen Pais <allen.pais@oracle.com>
Sat, 24 Jun 2017 01:27:47 +0000 (06:57 +0530)
commitb6b9d2f541aa5223f08da421acafe9b4e35dc248
tree373e026bdba8e9c73b1c43d6398b38eb7e79f1a7
parent2ec39e89ee6b9883d78c3e1a385e2367eae4f2b8
bnxt: add dma mapping attributes

On the SPARC platform we need to use the DMA_ATTR_WEAK_ORDERING
attribute in our dma mapping in order to get the expected performance
out of the receive path.  Setting this boosts a simple iperf receive
session from 2 Gbe to 23.4 Gbe.

Orabug: 25830685

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>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c