net/iavf: disable promiscuous mode on close
authorRobin Zhang <robinx.zhang@intel.com>
Sun, 27 Sep 2020 07:26:23 +0000 (07:26 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 9 Oct 2020 11:17:43 +0000 (13:17 +0200)
commit41515403f1841c7444c648c21dc355c6fe258709
tree92196a4d91b9b0f444ffd765f33d83a274880e6f
parent1e4d55a7fe71b7cbb648a2443413057dbbfd9add
net/iavf: disable promiscuous mode on close

In scenario of Kernel Driver runs on PF and PMD runs on VF, PMD exit
doesn't disable promiscuous mode, this will cause vlan filter set by
Kernel Driver will not take effect.

This patch will fix it, add promiscuous disable at device disable.

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