]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ldmvsw: disable tso and gso for bridge operations
authorShannon Nelson <shannon.nelson@oracle.com>
Mon, 13 Feb 2017 18:57:04 +0000 (10:57 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 6 Apr 2017 07:13:53 +0000 (00:13 -0700)
commit744cde38346a8430c912f33884ed7e396c1380ee
treef12646d74665087ce9fddd367ca92178196a64fa
parenta72a210b0bf4321efae4cffc2d82dc5722cc49d1
ldmvsw: disable tso and gso for bridge operations

The ldmvsw driver is specifically for supporting the ldom virtual
networking by running in the primary ldom and using the LDC to connect
the remaining ldoms to the outside world via a bridge.  With TSO and GSO
supported while connected the bridge, things tend to misbehave as seen
in our case by delayed packets, enough to begin triggering retransmits
and affecting overall throughput.  By turning off advertised support for
TSO and GSO we restore stable traffic flow through the bridge.

Orabug: 23293104

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit bc221a34ac473b444a7cfdd0c152b4c71f79326b)
Signed-off-by: Allen Pais <allen.pais@oracle.com>
drivers/net/ethernet/sun/ldmvsw.c
drivers/net/ethernet/sun/sunvnet_common.c