net/iavf: fix flow flush after PF reset
authorJeff Guo <jia.guo@intel.com>
Wed, 30 Sep 2020 05:44:12 +0000 (13:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 9 Oct 2020 11:17:43 +0000 (13:17 +0200)
commitc02ea7410e5124ad44ad7419ab16a43e1b3af647
tree8a38af4e87913079f168abbe7c6c307ed34e36a3
parent9e4f075bc500dafe4568edf99b9a1161b554316e
net/iavf: fix flow flush after PF reset

When VF begin reset after PF reset, VF will be uninitialized at first
and then be initialized, during the time any invalid cmd such as flow
flush should not be sent to PF until the uninitialization is finished.

Fixes: 1eab95fe2e36 ("net/iavf: fix command after PF reset")
Cc: stable@dpdk.org
Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c
drivers/net/iavf/iavf_hash.c
drivers/net/iavf/iavf_vchnl.c