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)
commitbdc7f5902d22e7297b8f0d7a8d6ed8429cdba636
treea88b32400ea4969f12bd1268db67bc27b41616a1
parent106c07a49506359f7663770ef33f4997d68316c1
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