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)
commit991ca269ed71b2b7aee27f5cb8bf64b689cc20bf
treeaa98ffd7e41853d8984f4579e01461c9d9a47054
parenteb3c0d83cc78361a28e52e514a7095fdbf771e7e
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