]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: force VF to grab new MAC on driver reload
authorEmil Tantilov <emil.s.tantilov@intel.com>
Mon, 14 May 2018 18:16:11 +0000 (11:16 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 17 May 2018 16:05:49 +0000 (09:05 -0700)
commitd53552c2c9b9bf49d058aba7af195ed993d5ca08
tree02344a983186e513320eb4c57f62720b66e944a2
parent286a3421fd0f76e8a420b1be9b86a13a041d8719
ixgbe: force VF to grab new MAC on driver reload

Do not validate the MAC address during a reset, unless the MAC was set on
the host. This way the VF will get a new MAC address every time it reloads.

Remove the "no MAC address assigned" message since it will get spammed on
reset and it doesn't help much as the MAC on the VF is randomly generated.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c