]> git.baikalelectronics.ru Git - kernel.git/commit
net: rps: support 802.1Q
authorChangli Gao <xiaosuo@gmail.com>
Fri, 19 Aug 2011 05:07:54 +0000 (22:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2011 05:07:54 +0000 (22:07 -0700)
commit2ab6b77a1b1b2d923e22139b8852ed7abb714612
tree8301dc9db8afac2dcd7cc864ac1abd56657d6f27
parent5671a0a7435c547e7617bad0bf4d417f1c33c516
net: rps: support 802.1Q

For the 802.1Q packets, if the NIC doesn't support hw-accel-vlan-rx, RPS
won't inspect the internal 4 tuples to generate skb->rxhash, so this kind
of traffic can't get any benefit from RPS.

This patch adds the support for 802.1Q to RPS.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c