]> git.baikalelectronics.ru Git - kernel.git/commit
enic: Pass 802.1p bits for packets tagged with vlan zero
authorVasanthy Kolluri <vkolluri@cisco.com>
Thu, 9 Jun 2011 10:36:52 +0000 (10:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jun 2011 21:58:09 +0000 (14:58 -0700)
commita891a66e5bce397c43b0a09324cf2838505e3b12
tree622d76c722b84bec203089f85d8d0b429d72b7fa
parent6d6dfe711465cb4b068d5ddf86ac6d356b7e900c
enic: Pass 802.1p bits for packets tagged with vlan zero

enic driver currently passes 802.1p bits to the upper layers for packets
tagged with non-zero vlan ids only. This patch extends such behaviour to
zero vlan tagged packets also.

The patch is dependant on the following kernel patches:

1) vlan_dev: VLAN 0 should be treated as "no vlan tag" (802.1p packet)
   - net-next-2.6 git commit: c3892c42b0ddabf46b9d8cf3eada3bc4452f6b8d
   - Available 2.6.36 and later
2) vlan: Centralize handling of hardware acceleration.
  - net-next-2.6 git commit: da8a1f0c19ddb886c9e7dfbddb701cc17510fea3
  - Available 2.6.37 and later

Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: Danny Guo <dannguo@cisco.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David Wang <dwang2@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic_main.c