]> bbs.cooldavid.org Git - net-next-2.6.git/commit
enic: Bug Fix: Change hardware ingress vlan rewrite mode
authorVasanthy Kolluri <vkolluri@cisco.com>
Thu, 24 Jun 2010 10:49:51 +0000 (10:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jun 2010 03:45:22 +0000 (20:45 -0700)
commitf8cac14acff870203ea7f61f1a92c5486d1774fa
tree4caa5145dca79a98bb5a19b9fd2658fe8fe3933c
parent88132f55d74fdd97a7d459007b2bbb59e850f8c0
enic: Bug Fix: Change hardware ingress vlan rewrite mode

The current ingress vlan rewrite mode setting lets the hardware strip off
the tag control information of a packet received on native vlan. As a
result, the priority bits are also lost. The fix is to change the ingress
vlan rewrite mode setting such that the complete tag control information is
retained for packets that belong to native vlan.

Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/cq_enet_desc.h
drivers/net/enic/enic_main.c
drivers/net/enic/vnic_dev.c
drivers/net/enic/vnic_dev.h
drivers/net/enic/vnic_devcmd.h