net/i40e: add workaround promiscuous disable
authorRosen Xu <rosen.xu@intel.com>
Wed, 18 Apr 2018 08:11:41 +0000 (16:11 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:48 +0000 (22:31 +0100)
commitcae18d2b0fb4330e1061689e3884bbdfcda3f253
treea8ec4a0c7138ea7536fa2cabf9b75224453251a0
parentc2071c19ad593b6cce79c5b48fb9d377e915ea71
net/i40e: add workaround promiscuous disable

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: Rosen Xu <rosen.xu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c