summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/lantiq_etop.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2015-04-28 11:34:21 +0200
committerDavid S. Miller <davem@davemloft.net>2015-04-29 14:48:35 -0400
commitd9b9e860cef1d904832bc6e92e444adfeabe49e9 (patch)
tree8c90aa1104f25ca2a1496a541c4f5986c0c97335 /drivers/net/ethernet/lantiq_etop.c
parent3f300ff41d89fe9674b8dbab950ba2572639ee8d (diff)
bnx2x: mark LRO as a fixed disabled feature if disable_tpa is set
If disable_tpa is set, remove NETIF_F_LRO from hw_features, so ethtool sees it as "off [fixed]". Note that setting the NETIF_F_LRO bit in dev->features in the 'else' branch is not needed, because the bit was already set by bnx2x_init_dev(). Then the check for disable_tpa in in bnx2x_fix_features() becomes unnecessary. Signed-off-by: Michal Schmidt <mschmidt@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/lantiq_etop.c')
0 files changed, 0 insertions, 0 deletions