linux/drivers/net/ethernet/broadcom
Edwin Peer dd85fc0ab5 bnxt_en: allow promiscuous mode for trusted VFs
Firmware previously only allowed promiscuous mode for VFs associated with
a default VLAN. It is now possible to enable promiscuous mode for a VF
having no VLAN configured provided that it is trusted. In such cases the
VF will see all packets received by the PF, irrespective of destination
MAC or VLAN.

Note, it is necessary to query firmware at the time of bnxt_promisc_ok()
instead of in bnxt_hwrm_func_qcfg() because the trusted status might be
altered by the PF after the VF has been configured. This check must now
also be deferred because the firmware call sleeps.

Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-04-25 18:37:38 -07:00
..
bnx2x ethernet/broadcom:remove unneeded variable: "ret" 2021-03-17 14:38:45 -07:00
bnxt bnxt_en: allow promiscuous mode for trusted VFs 2021-04-25 18:37:38 -07:00
genet net: bcmgenet: remove unused including <linux/version.h> 2021-03-25 16:58:55 -07:00
b44.c net: b44: fix error return code in b44_init_one() 2020-11-17 10:50:28 -08:00
b44.h
bcm63xx_enet.c bcm63xx_enet: fix sporadic kernel panic 2021-02-23 12:15:04 -08:00
bcm63xx_enet.h bcm63xx_enet: convert to build_skb 2021-01-07 12:39:53 -08:00
bcm4908_enet.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
bcm4908_enet.h net: broadcom: rename BCM4908 driver & update DT binding 2021-02-11 15:04:17 -08:00
bcmsysport.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
bcmsysport.h net: broadcom: share header defining UniMAC registers 2021-01-08 19:17:28 -08:00
bgmac-bcma-mdio.c
bgmac-bcma.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
bgmac-platform.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
bgmac.c net: broadcom: share header defining UniMAC registers 2021-01-08 19:17:28 -08:00
bgmac.h net: broadcom: share header defining UniMAC registers 2021-01-08 19:17:28 -08:00
bnx2_fw.h
bnx2.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bnx2.h
cnic_defs.h net: cnic: fix spelling mistake "reserverd" -> "reserved" 2020-02-17 21:59:16 -08:00
cnic_if.h
cnic.c cnic: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:37 -07:00
cnic.h
Kconfig net: broadcom: BCM4908_ENET should not default to y, unconditionally 2021-03-16 15:26:31 -07:00
Makefile net: broadcom: rename BCM4908 driver & update DT binding 2021-02-11 15:04:17 -08:00
sb1250-mac.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-01-28 16:02:33 -08:00
tg3.c tg3: Remove unused PHY_BRCM flags 2021-02-16 14:11:57 -08:00
tg3.h tg3: improve PCI VPD access 2021-01-25 15:24:19 -08:00
unimac.h net: broadcom: share header defining UniMAC registers 2021-01-08 19:17:28 -08:00