From: Michael Chan <[email protected]> Date: Thu, 25 Feb 2016 03:19:25 -0500
> From: Jeffrey Huang <[email protected]> > > Allow the VF to setup its own MAC address if the PF has not administratively > set it for the VF. If the perm_mac_address returned by firmware is all > zeros, that means the PF has not set up the MAC address for the VF and > we should store it. This will allow the VF to change the MAC address using > ndo_set_mac_address() when it sees that the stored permanent MAC address > is all zeros. > > Signed-off-by: Jeffrey Huang <[email protected]> > Signed-off-by: Michael Chan <[email protected]> What triggers that ->ndo_set_mac_address() call in the VF? You cannot register an ethernet netdev with an invalid ethernet address, you must use a random one if you don't have a valid one available.
