提交 ec5efe79 编写于 作者: E Eric Dumazet 提交者: 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: NEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册