]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 06:03:09 +0000 (22:03 -0800)
commit4913f52bdbd61435abab62616a95ca1ebbcc33b3
tree42f6636757d8bb9a3aa0f91d38277386751272f1
parenta7d0c8f94f816f976108643a858c86406a734a2f
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>
Orabug: 25394529
(cherry picked from commit bdc7f5902d22e7297b8f0d7a8d6ed8429cdba636)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c
drivers/net/ethernet/intel/fm10k/fm10k_pci.c