]> 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)
commit002120f21ed1de437aef84554f9b9fe8720eada4
tree8301dc9db8afac2dcd7cc864ac1abd56657d6f27
parentcae791bcbf8161df7bfdd6cabf705c0be5bc4dcc
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