1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/pensando/ionic
R Mohamed Shah 19058be7c4 ionic: VF initial random MAC address if no assigned mac
Assign a random mac address to the VF interface station
address if it boots with a zero mac address in order to match
similar behavior seen in other VF drivers.  Handle the errors
where the older firmware does not allow the VF to set its own
station address.

Newer firmware will allow the VF to set the station mac address
if it hasn't already been set administratively through the PF.
Setting it will also be allowed if the VF has trust.

Fixes: fbb39807e9 ("ionic: support sr-iov operations")
Signed-off-by: R Mohamed Shah <mohamed@pensando.io>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-08-25 12:39:54 -07:00
..
ionic.h ionic: stretch heartbeat detection 2022-01-25 11:15:09 +00:00
ionic_bus.h ionic: Add basic adminq support 2019-09-05 09:24:43 +02:00
ionic_bus_pci.c ionic: fix missing pci_release_regions() on error in ionic_probe() 2022-05-09 15:49:12 -07:00
ionic_debugfs.c ionic: add filterlist to debugfs 2021-10-10 10:42:47 +01:00
ionic_debugfs.h ionic: Add basic adminq support 2019-09-05 09:24:43 +02:00
ionic_dev.c ionic: no transition while stopping 2022-02-28 11:42:45 +00:00
ionic_dev.h ionic: replace set_vf data with union 2022-01-25 11:15:09 +00:00
ionic_devlink.c ionic: no devlink_unregister if not registered 2021-10-12 17:39:33 -07:00
ionic_devlink.h devlink: move request_firmware out of driver 2020-11-19 21:40:57 -08:00
ionic_ethtool.c ionic: prefer strscpy over strlcpy 2022-02-18 20:37:14 -08:00
ionic_ethtool.h ionic: Add initial ethtool support 2019-09-05 09:24:44 +02:00
ionic_fw.c devlink: move flash end and begin to core devlink 2020-11-19 21:41:02 -08:00
ionic_if.h ionic: clean up comments and whitespace 2022-02-18 20:37:14 -08:00
ionic_lif.c ionic: VF initial random MAC address if no assigned mac 2022-08-25 12:39:54 -07:00
ionic_lif.h ionic: remove the dbid_inuse bitmap 2022-01-25 11:15:09 +00:00
ionic_main.c ionic: fix up issues with handling EAGAIN on FW cmds 2022-08-25 12:39:54 -07:00
ionic_phc.c ionic: allow adminq requests to override default error message 2021-10-10 10:42:47 +01:00
ionic_regs.h ionic: make spdxcheck.py happy 2020-03-21 19:53:57 -07:00
ionic_rx_filter.c ionic: Prevent filter add/del err msgs when the device is not available 2022-01-25 11:15:09 +00:00
ionic_rx_filter.h ionic: handle vlan id overflow 2021-10-10 10:42:47 +01:00
ionic_stats.c ionic: clean up comments and whitespace 2022-02-18 20:37:14 -08:00
ionic_stats.h ionic: clean up sparse complaints 2020-10-23 18:37:23 -07:00
ionic_txrx.c net: add skb_[inner_]tcp_all_headers helpers 2022-07-02 16:22:25 +01:00
ionic_txrx.h ionic: add and enable tx and rx timestamp handling 2021-04-02 14:18:33 -07:00
Makefile ionic: link in the new hw timestamp code 2021-04-02 14:18:32 -07:00