net/vmxnet3: preserve configured MAC address
authorGeorge Wilkie <gwilkie@brocade.com>
Thu, 15 Jun 2017 12:17:42 +0000 (08:17 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:57 +0000 (15:00 +0200)
commitf023b9518e27da93621f9a730630b130a2cf9d47
treef5b342b11033cff24cd15d10a9c43e5d7652019f
parent0bf3a2c07e8f18b7ab3cdf42a4c932af8f7280fc
net/vmxnet3: preserve configured MAC address

When starting a vmxnet3 device, it is always writing the permanent MAC
address, even if a different MAC address was configured.  Write from
the device data instead which holds the current one.

Signed-off-by: George Wilkie <gwilkie@brocade.com>
Acked-by: Shrikrishna Khare <skhare@vmware.com>
drivers/net/vmxnet3/vmxnet3_ethdev.c