]> git.baikalelectronics.ru Git - kernel.git/commit
rps: support IPIP encapsulation
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 24 Aug 2011 10:41:19 +0000 (10:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Aug 2011 23:13:55 +0000 (16:13 -0700)
commita12030097f57a36ca3c0d6badf800f18f12de0fb
tree3097be415740de7f4e9d21ea84c363d88e881303
parent4c1a1bb41ff0066fd8fea7f4e50a4d414cdb8f48
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: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c