Commit ec5efe79 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

rps: support IPIP encapsulation

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: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0e43182c
......@@ -2608,6 +2608,8 @@ void __skb_get_rxhash(struct sk_buff *skb)
}
}
break;
case IPPROTO_IPIP:
goto again;
default:
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment