]> git.karo-electronics.de Git - linux-beck.git/commit
sfc: remove Software TSO
authorEdward Cree <ecree@solarflare.com>
Thu, 17 Nov 2016 10:52:36 +0000 (10:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 16:55:38 +0000 (11:55 -0500)
commit46d1efd852ccbc94e8c4f8c41cfd84147a103436
tree0ea6687be60f6afcc7d6cd1798480e2ef4b8209e
parente638ee1d0a6aa10a1a32d9161e88758ecb8d1823
sfc: remove Software TSO

It gives no advantage over GSO now that xmit_more exists.  If we find
 ourselves unable to handle a TSO skb (because our TXQ doesn't have a
 TSOv2 context and the NIC doesn't support TSOv1), hand it back to GSO.
 Also do that if the TSO handler fails with EINVAL for any other reason.
As Falcon-architecture NICs don't support any firmware-assisted TSO,
 they no longer advertise TSO feature flags at all.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/ethtool.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/tx.c
drivers/net/ethernet/sfc/tx_tso.c