* [PATCH net-next] rps: support IPIP encapsulation
@ 2011-08-24 20:41 Eric Dumazet
2011-08-24 23:14 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Eric Dumazet @ 2011-08-24 20:41 UTC (permalink / raw
To: David Miller; +Cc: netdev, Tom Herbert
Skip IPIP header to get proper layer-4 information.
Like GRE tunnels, this only works if rxhash is not already provided by
the device itself (ethtool -K ethX rxhash off), to allow kernel compute
a software rxhash.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
A piece of cake ;)
net/core/dev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/core/dev.c b/net/core/dev.c
index a4306f7..b668a3d 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2608,6 +2608,8 @@ again:
}
}
break;
+ case IPPROTO_IPIP:
+ goto again;
default:
break;
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] rps: support IPIP encapsulation
2011-08-24 20:41 [PATCH net-next] rps: support IPIP encapsulation Eric Dumazet
@ 2011-08-24 23:14 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-08-24 23:14 UTC (permalink / raw
To: eric.dumazet; +Cc: netdev, therbert
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed, 24 Aug 2011 22:41:19 +0200
> Skip IPIP header to get proper layer-4 information.
>
> Like GRE tunnels, this only works if rxhash is not already provided by
> the device itself (ethtool -K ethX rxhash off), to allow kernel compute
> a software rxhash.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-24 23:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-24 20:41 [PATCH net-next] rps: support IPIP encapsulation Eric Dumazet
2011-08-24 23:14 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.