diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-11-15 10:29:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-16 17:43:12 -0500 |
commit | 34324dc2bf27c1773045fea63cb11f7e2a6ad2b9 (patch) | |
tree | 47cd1f4ea5590c405dc60aee70b49fb14f56859b /drivers/misc | |
parent | a861a8b233e9024303fb8e73e465e81ad7119d5a (diff) |
net: remove NETIF_F_NO_CSUM feature bit
Only distinct use is checking if NETIF_F_NOCACHE_COPY should be
enabled by default. The check heuristics is altered a bit here,
so it hits other people than before. The default shouldn't be
trusted for performance-critical cases anyway.
For all other uses NETIF_F_NO_CSUM is equivalent to NETIF_F_HW_CSUM.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/sgi-xp/xpnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/sgi-xp/xpnet.c b/drivers/misc/sgi-xp/xpnet.c index 42f067347bc7..3fac67a5204c 100644 --- a/drivers/misc/sgi-xp/xpnet.c +++ b/drivers/misc/sgi-xp/xpnet.c | |||
@@ -576,7 +576,7 @@ xpnet_init(void) | |||
576 | * report an error if the data is not retrievable and the | 576 | * report an error if the data is not retrievable and the |
577 | * packet will be dropped. | 577 | * packet will be dropped. |
578 | */ | 578 | */ |
579 | xpnet_device->features = NETIF_F_NO_CSUM; | 579 | xpnet_device->features = NETIF_F_HW_CSUM; |
580 | 580 | ||
581 | result = register_netdev(xpnet_device); | 581 | result = register_netdev(xpnet_device); |
582 | if (result != 0) { | 582 | if (result != 0) { |