net/vmxnet3: fix MAC address set
authorDavid Harton <dharton@cisco.com>
Fri, 25 Aug 2017 18:54:57 +0000 (14:54 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commit66db172f2636a1634b3e8e73afb76968d35acc5e
treec275ca6138418b9047ac21f7f21ea96902d5644b
parentc740ba20c8cb7c334c734c27b0d9e95d266830f7
net/vmxnet3: fix MAC address set

Updated vmxnet3_mac_addr_set() to store the newly set MAC address.
Modified vmxnet3_write_mac() so the h/w is updated in an endian
neutral manner.

Fixes: 139f39a97859 ("vmxnet3: support setting MAC address")
Cc: stable@dpdk.org
Signed-off-by: David Harton <dharton@cisco.com>
Acked-by: Shrikrishna Khare <skhare@vmware.com>
drivers/net/vmxnet3/vmxnet3_ethdev.c