]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 25 Feb 2017 05:47:56 +0000 (21:47 -0800)
commitc9736f475dfde467a40801f7f80e2c273be2f6d6
treeab5c2dc3295da4553c41a89af452acce8da9713f
parent27555e209315ef01708dafc14bb3555012e97a28
ixgbevf: fix incorrect MAC address on load

Orabug: 24568240

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>
(cherry picked from commit c64269710ef28eb0dea03098853e425851214496)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbevf/vf.c