]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Enhance PVID handling for 84xx adapters
authorManish Chopra <manish.chopra@qlogic.com>
Fri, 30 Aug 2013 17:51:16 +0000 (13:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2013 02:34:43 +0000 (22:34 -0400)
commite15c536ee3ea5fadf3587dad54dc78528f181722
treeaa98ffd7e41853d8984f4579e01461c9d9a47054
parente9e4b3fc598abf526a8a3d4c242ecc21b0558fd2
qlcnic: Enhance PVID handling for 84xx adapters

o PF driver should not indicate PVID configuration to VF driver.
  As adapter supports VLAN stripping, VF driver should stay agnostic
  to any PVID configuration.

o Return "QLC_NO_VLAN_MODE(= 0)" to VFD when PVID is configured.
  VF driver should be in no VLAN configuration mode.

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c