i40evf: fix MAC deletion when stopping
authorJingjing Wu <jingjing.wu@intel.com>
Mon, 30 Nov 2015 03:54:09 +0000 (11:54 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 6 Dec 2015 23:55:51 +0000 (00:55 +0100)
commitbdb3bf9246ff614029a41e6432fe7696e21f607f
tree0f3cf53e95ca9f49e50b9abce71e85b81a4f636b
parentf105939c7910efe3759e54c76e2ef31dab3608fb
i40evf: fix MAC deletion when stopping

When dev_stop is called in i40evf pmd driver, queues are switched off
to stop receiving and transmitting. But the mac address of this VF
still exists in VEB switch.
To stop the traffic from VSI level, the mac address need to be removed
too. Then the bandwidth for this SRIOV VSI can be freed.
This patch fix this issue.

Fixes: 4861cde46116 ("i40e: new poll mode driver")

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c