net/iavf: fix command after PF reset
authorJeff Guo <jia.guo@intel.com>
Fri, 11 Sep 2020 10:18:48 +0000 (18:18 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:09 +0000 (18:55 +0200)
commit1eab95fe2e36e191ad85a9aacf82a44e7c8011fc
tree6405a8eac5ecc20961c3543cd349c985c7ebee6b
parent8a4a417d9f9db3f3f7b2e25685ffdaf63ac413bf
net/iavf: fix command after PF reset

If PF reset is finished but VF reset is pending, VF should no need to
send any invalid cmd to PF. That would avoid mass unexpected behaviors
affecting the robust.

Fixes: 22b123a36d07 ("net/avf: initialize PMD")
Fixes: 9e03acd726cf ("net/iavf: fix flow access")
Cc: stable@dpdk.org
Signed-off-by: Jeff Guo <jia.guo@intel.com>
Tested-by: Hailin Xu <hailinx.xu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf.h
drivers/net/iavf/iavf_ethdev.c
drivers/net/iavf/iavf_hash.c
drivers/net/iavf/iavf_vchnl.c