ixgbevf: fix incorrect MAC address on load
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 27 Jul 2016 17:55:08 +0000 (10:55 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 21 Aug 2016 02:41:21 +0000 (19:41 -0700)
commitc64269710ef28eb0dea03098853e425851214496
tree2fd07069a119c777696eeb4e1bc736a7e0a073c2
parent27b23f96f3cf6ffd680e28bf569d8ddd71842590
ixgbevf: fix incorrect MAC address on load

The PF driver was only receiving the first 4 bytes of the MAC due
to an incorrect size parameter for ixgbevf_write_msg_read_ack()
in ixgbevf_set_rar_vf().

Correct the size by calculating it on a fly for all instances where
we call ixgbevf_write_msg_read_ack()

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/vf.c