ixgbe/base: set VF MAC address only when acked by PF
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Sun, 14 Feb 2016 08:54:59 +0000 (16:54 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:06:53 +0000 (17:06 +0100)
commitce7a41008133c1865313cf80f8ba14905accefbb
tree1b9608dac0cf16414bceb53d0e37216fc120bdb5
parent86b8fb293fdf3accee57b7a6e1611cf8efa349ca
ixgbe/base: set VF MAC address only when acked by PF

This patch resolves an issue where VF mac address is zeroed out
in cases where the VF driver is loaded while the PF interface
is down.
The solution is to only set it when we get an ACK from the PF.

Fixes: 6202266e5680 ("ixgbe/base: vf changes")
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
doc/guides/rel_notes/release_16_04.rst
drivers/net/ixgbe/base/ixgbe_vf.c