]> git.baikalelectronics.ru Git - kernel.git/commit
netsched: Allow meta match on vlan tag on receive
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 14 Apr 2009 01:12:57 +0000 (18:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Apr 2009 01:12:57 +0000 (18:12 -0700)
commit916c0f197307b2e8c39ffc9f527e375117a3efec
tree77460f7f79be0579b5686b629fe218750da261b9
parentf6a690d4ca31cdeec22dc56cee186dac9a2c62f5
netsched: Allow meta match on vlan tag on receive

When vlan acceleration is used on receive, the vlan tag is maintained
outside of the skb data. The existing vlan tag match only works on TX
path because it uses vlan_get_tag which tests for VLAN_HW_TX_ACCEL.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/em_meta.c