linux_dsm_epyc7002/drivers/net/ethernet/broadcom/bnxt
Michael Chan 707e7e9660 bnxt_en: Always forward VF MAC address to the PF.
The current code already forwards the VF MAC address to the PF, except
in one case.  If the VF driver gets a valid MAC address from the firmware
during probe time, it will not forward the MAC address to the PF,
incorrectly assuming that the PF already knows the MAC address.  This
causes "ip link show" to show zero VF MAC addresses for this case.

This assumption is not correct.  Newer firmware remembers the VF MAC
address last used by the VF and provides it to the VF driver during
probe.  So we need to always forward the VF MAC address to the PF.

The forwarded MAC address may now be the PF assigned MAC address and so we
need to make sure we approve it for this case.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-08 10:14:22 -04:00
..
bnxt_dcb.c bnxt_en: Remap TC to hardware queues when configuring PFC. 2018-04-27 14:47:28 -04:00
bnxt_dcb.h bnxt_en: Update firmware interface to 1.9.1.15. 2018-03-31 23:24:19 -04:00
bnxt_debugfs.c bnxt_en: add debugfs support for DIM 2018-04-27 14:47:30 -04:00
bnxt_debugfs.h bnxt_en: add debugfs support for DIM 2018-04-27 14:47:30 -04:00
bnxt_devlink.c bnxt_en: add support for Flower based vxlan encap/decap offload 2017-10-28 00:02:45 +09:00
bnxt_devlink.h bnxt: Move generic devlink code to new file 2017-10-21 12:28:39 +01:00
bnxt_dim.c net/dim: Rename *_get_profile() functions to *_get_rx_moderation() 2018-04-24 10:15:07 -04:00
bnxt_ethtool.c bnxt_en: Read phy eeprom A2h address only when optical diagnostics is supported. 2018-05-08 10:14:21 -04:00
bnxt_ethtool.h bnxt_en: Add ETH_RESET_AP support 2017-12-01 15:29:40 -05:00
bnxt_fw_hdr.h bnxt_en: Added support for Secure Firmware Update 2016-09-19 21:32:24 -04:00
bnxt_hsi.h bnxt_en: Update firmware interface to 1.9.1.15. 2018-03-31 23:24:19 -04:00
bnxt_nvm_defs.h bnxt_en: Fix memory fault in bnxt_ethtool_init() 2018-04-19 16:35:09 -04:00
bnxt_sriov.c bnxt_en: Always forward VF MAC address to the PF. 2018-05-08 10:14:22 -04:00
bnxt_sriov.h bnxt_en: Reserve RSS and L2 contexts for VF. 2018-04-27 14:47:31 -04:00
bnxt_tc.c bnxt_en: Ignore src port field in decap filter nodes 2018-04-11 14:41:59 -04:00
bnxt_tc.h bnxt_en: alloc tc_info{} struct only when tc flower is enabled 2017-10-28 00:02:45 +09:00
bnxt_ulp.c bnxt_en: Add ULP calls to stop and restart IRQs. 2018-03-31 23:24:20 -04:00
bnxt_ulp.h bnxt_en: Add ULP calls to stop and restart IRQs. 2018-03-31 23:24:20 -04:00
bnxt_vfr.c bnxt_en: Support max-mtu with VF-reps 2018-04-11 14:42:00 -04:00
bnxt_vfr.h bnxt_en: export a common switchdev PARENT_ID for all reps of an adapter 2018-01-17 14:48:27 -05:00
bnxt_xdp.c bpf: make bnxt compatible w/ bpf_xdp_adjust_tail 2018-04-18 23:34:16 +02:00
bnxt_xdp.h net: bpf: rename ndo_xdp to ndo_bpf 2017-11-05 22:26:18 +09:00
bnxt.c bnxt_en: Always forward VF MAC address to the PF. 2018-05-08 10:14:22 -04:00
bnxt.h bnxt_en: Read phy eeprom A2h address only when optical diagnostics is supported. 2018-05-08 10:14:21 -04:00
Makefile bnxt_en: add debugfs support for DIM 2018-04-27 14:47:30 -04:00