]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: update netdev perm_addr during reinit, instead of at up
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 15 Jun 2015 22:00:56 +0000 (15:00 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Sep 2015 00:05:32 +0000 (17:05 -0700)
commit70787b1ada57762b0204b4558dd1bd1b9a4fc54e
treea88b32400ea4969f12bd1268db67bc27b41616a1
parentcf4d884a40deeb279596b59e8138de2a35eb17de
fm10k: update netdev perm_addr during reinit, instead of at up

Update the netdev permanent address during fm10k_reinit enables the user
to immediately see the new MAC address on the VF even if the device
isn't up. The previous code required that the device by opened before
changes would appear.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c
drivers/net/ethernet/intel/fm10k/fm10k_pci.c