[PATCH net-next] rps: support IPIP encapsulation

Subsystems: networking [general], the rest

STALE5530d

2 messages, 2 authors, 2011-08-24 · open the first message on its own page

[PATCH net-next] rps: support IPIP encapsulation

From: Eric Dumazet <hidden>
Date: 2011-08-24 20:41:24

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 <redacted>
---
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;
 	}

Re: [PATCH net-next] rps: support IPIP encapsulation

From: David Miller <davem@davemloft.net>
Date: 2011-08-24 23:14:21

From: Eric Dumazet <redacted>
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 <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help