e1000: fix VF MAC address on close
authorBernard Iremonger <bernard.iremonger@intel.com>
Wed, 2 Mar 2016 16:09:06 +0000 (16:09 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 15:58:16 +0000 (16:58 +0100)
commit8361d1ccdddf3d5bcb6a4aaf077d4b3df80eff51
treee6424b6ea6ad9e1ca342c2a92d48bf56d66cb198
parentb37af6490fff3fb196941cab582da89d368ac16b
e1000: fix VF MAC address on close

Allow reprogramming of the RAR with a zero mac address,
to ensure that the VF traffic goes to the PF after
stop, close and detach of the VF.

Fixes: be2d648a2dd3 ("igb: add PF support")
Fixes: d82170d27918 ("igb: add VF support")

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/e1000/igb_ethdev.c
drivers/net/e1000/igb_pf.c