linux/drivers/net/ethernet/emulex/benet
Kalesh AP 196e3735fa be2net: remove vlan promisc capability from VF's profile descriptors
The commit 435452aa88 ("Prevent VFs from enabling VLAN promiscuous mode")
fixed the PF driver to not include the VLAN promisc capability while
provisioning the interface for a VF. But the fix did not remove this
capability from the profile descriptor of the VF. This causes the VF
driver to request this capability when it tries to create it's interface
at probe time.  This could potentailly cause the VF probe to fail if the
FW enforces strict checking of the flags based on what was provisoned
by the PF.  This strict checking is not being done by FW currently but
will be fixed in a future version. This patch fixes this issue by updating
the VF's profile descriptor so that they match the interface capability
flags provisioned by the PF.

Fixes: 435452aa88 ("Prevent VFs from enabling VLAN promiscuous mode")
Signed-off-by: Kalesh AP <kalesh.purayil@avagotech.com>
Signed-off-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-13 04:32:45 -07:00
..
be_cmds.c be2net: remove vlan promisc capability from VF's profile descriptors 2015-10-13 04:32:45 -07:00
be_cmds.h be2net: set pci_func_num while issuing GET_PROFILE_CONFIG cmd 2015-10-13 04:32:44 -07:00
be_ethtool.c be2net: Support vxlan offload stats in the driver 2015-07-29 23:54:05 -07:00
be_hw.h be2net: update copyright year to 2015 2015-05-09 16:27:04 -04:00
be_main.c be2net: set pci_func_num while issuing GET_PROFILE_CONFIG cmd 2015-10-13 04:32:44 -07:00
be_roce.c be2net: update copyright year to 2015 2015-05-09 16:27:04 -04:00
be_roce.h be2net: update copyright year to 2015 2015-05-09 16:27:04 -04:00
be.h be2net: set pci_func_num while issuing GET_PROFILE_CONFIG cmd 2015-10-13 04:32:44 -07:00
Kconfig be2net: make hwmon interface optional 2015-05-19 16:40:04 -04:00
Makefile be2net: Add functionality to support RoCE driver 2012-05-08 11:17:47 -07:00