diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-08-15 17:52:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-15 22:51:25 -0400 |
commit | f22f8567cb0a530d8958d177e0f268783bd0d894 (patch) | |
tree | 45232b989e5e645ef9f1c2483a2e8db60873e4b8 /drivers/net/loopback.c | |
parent | e4119a43187139736750bad5d694c6a839df045d (diff) |
loopback: Enable TSO
This patch enables TSO since the loopback device is naturally
capable of handling packets of any size. This also means that
we won't enable GSO on lo which is good until GSO is fixed to
preserve netfilter state as netfilter treats loopback packets
in a special way.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/loopback.c')
-rw-r--r-- | drivers/net/loopback.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index 49f6bc036a92..46e87cc87251 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c | |||
@@ -234,9 +234,7 @@ static void loopback_setup(struct net_device *dev) | |||
234 | dev->type = ARPHRD_LOOPBACK; /* 0x0001*/ | 234 | dev->type = ARPHRD_LOOPBACK; /* 0x0001*/ |
235 | dev->flags = IFF_LOOPBACK; | 235 | dev->flags = IFF_LOOPBACK; |
236 | dev->features = NETIF_F_SG | NETIF_F_FRAGLIST | 236 | dev->features = NETIF_F_SG | NETIF_F_FRAGLIST |
237 | #ifdef LOOPBACK_TSO | ||
238 | | NETIF_F_TSO | 237 | | NETIF_F_TSO |
239 | #endif | ||
240 | | NETIF_F_NO_CSUM | 238 | | NETIF_F_NO_CSUM |
241 | | NETIF_F_HIGHDMA | 239 | | NETIF_F_HIGHDMA |
242 | | NETIF_F_LLTX | 240 | | NETIF_F_LLTX |