]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2017 18:04:11 +0000 (13:04 -0500)
commitbc221a34ac473b444a7cfdd0c152b4c71f79326b
tree643462b1418d273be640b32bfe08885124872a58
parent7602011f59cc32ebc3a5f9058d6ba11b096c8c50
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>
drivers/net/ethernet/sun/ldmvsw.c
drivers/net/ethernet/sun/sunvnet_common.c