net/i40e: re-program promiscuous mode on VF interface
authorEelco Chaudron <echaudro@redhat.com>
Tue, 19 Nov 2019 13:45:21 +0000 (08:45 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:45:23 +0000 (19:45 +0100)
commitddc7cb0d9453e0c0601a01eab1f388eae4c1fb65
treef32bcda00a66fd526a8bb650f0909dd039065309
parentba7b12dd64e4e08f52ce9dd62f7c52f6fc455e10
net/i40e: 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: Eelco Chaudron <echaudro@redhat.com>
Reviewed-by: Xiao Zhang <xiao.zhang@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c