net-bnx2x: dont reload on GRO change
authorEric Dumazet <edumazet@google.com>
Sat, 18 May 2013 07:14:53 +0000 (07:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 May 2013 07:16:21 +0000 (00:16 -0700)
commit8802f5790ef3e2e1d907169557e3dd2e0e77d98f
tree4f62a678443c2fe5fdcfa19e6252e57ff8ad0308
parentf6abf2b158ce724a535892ad68f25d4e05e0fe96
net-bnx2x: dont reload on GRO change

bnx2x_set_features() forces a driver reload if GRO setting is changed.

A reload makes the ethernet port unresponsive for about 5 seconds.

This is not needed in the common case LRO is enabled, as LRO
(TPA_ENABLE_FLAG) has precedence over GRO (GRO_ENABLE_FLAG)

Tested:
 Verified that "ethtool -K eth0 gro {on|off}" doesn't blackout
 the NIC anymore

Google-Bug-Id: 8440442
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Dmitry Kravkov <dmitry@broadcom.com>
Acked-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c