nfp: don't enable TSO on the device when disabled
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 16 May 2017 00:55:15 +0000 (17:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 May 2017 16:59:02 +0000 (12:59 -0400)
commit05eb9e5336cec824a071d2fdc971a008c4a9ecd8
treea1fc59c33ab9a535cb80297d6e27893bd41aeb67
parent173e7837a20a4cb26d6097f6b968c17344b5189c
nfp: don't enable TSO on the device when disabled

We advertise TSO to the stack but leave it disabled by default.
Make sure it's not only disabled in the netdev features but
also on the device itself.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c