]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
be2net: Fix PVID tag offload for packets with inline VLAN tag.
authorAjit Khaparde <ajit.khaparde@emulex.com>
Wed, 24 Apr 2013 11:53:08 +0000 (11:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Apr 2013 23:37:22 +0000 (19:37 -0400)
commitd2cb6ce7306997c753976b65bf81495e1efe7074
treea0af739096883f67669024887bd02471f90e4cc4
parentbc0c3405abbb7d7115df824c0e41422396923c1f
be2net: Fix PVID tag offload for packets with inline VLAN tag.

BE3 HW in UMC mode could wrongly double tag a packet with PVID
when the packet already has a inlined VLAN tag.
In UMC mode, When HW finds that a packet is already VLAN tagged
PVID should not be inserted into the packet.
To fix this use the FW hack to instruct the HW to skip PVID tagging.

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c