net/sfc: do not drop TSO on device configure
authorAndrew Rybchenko <arybchenko@solarflare.com>
Wed, 29 Mar 2017 16:59:19 +0000 (17:59 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:02:59 +0000 (19:02 +0200)
commitb3b667c9925680a3dbc0e9179c975180e9432bda
tree8ec45d382fe669e1591e663ca4f436564d5ca319
parent329472d44475f4240f89a899173fdf63df75afe9
net/sfc: do not drop TSO on device configure

If Tx datapath does not support TSO, TSO was dropped on device configure.
It is incorrect to change advertised offloads.

Fixes: 7a4d44a639c9 ("net/sfc: make TSO a datapath-dependent feature")

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc.c
drivers/net/sfc/sfc_tx.c