]> git.baikalelectronics.ru Git - kernel.git/commit
ice: set VF default LAN address
authorPaul Greenwalt <paul.greenwalt@intel.com>
Sat, 16 May 2020 00:36:40 +0000 (17:36 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 May 2020 00:05:02 +0000 (17:05 -0700)
commit04f373995b93d1fa4cc6ccdd2bdb1d7e13ddd245
treeb39cb711026f06b6d51b8ddaf2baa94125704ec3
parent03286655f7d98c20cbe75d4ef57d884057b2691a
ice: set VF default LAN address

Remove is_zero_ether_add() check when setting the VF default LAN address.
This check assumed that the address had been delete and zeroed before
calling ice_vc_add_mac_addr(). Now the default LAN address will be set
to the last unicast MAC address added by the VF.

The default LAN address is reported by the PF via ndo_get_vf_config.

Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c