net/iavf: re-program promiscuous mode on VF interface
authorRobin Zhang <robinx.zhang@intel.com>
Sun, 27 Sep 2020 07:26:21 +0000 (07:26 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 9 Oct 2020 11:17:43 +0000 (13:17 +0200)
commiteb9444341f83c25f48905451b4f9a2f1c2f94388
treecb55ffeb95b91a603a6b9d245f13864a556d2dec
parent1541a9d6b07ac6c5b44f2f346223b24d25e1fc2f
net/iavf: re-program promiscuous mode on VF interface

During a kernel PF reset, this event is propagated to the VF.
The DPDK VF PMD will execute the reset task before the PF is done
with his. This results in the admin queue message not being responded
to leaving the port in "promiscuous" mode.

This patch makes sure the promiscuous mode is configured independently
of the current admin state.

Signed-off-by: Robin Zhang <robinx.zhang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c