]> git.baikalelectronics.ru Git - kernel.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)
commit2f546a48d0ce472c3196c1f254ccb25c24f0c4e9
treea0af739096883f67669024887bd02471f90e4cc4
parenta9c776688b6017bdb57f464aed67501f4b436269
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