net/i40e: fix PF notify when VF is not up
authorXiaoyun Li <xiaoyun.li@intel.com>
Fri, 28 Jul 2017 15:48:11 +0000 (23:48 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commit035a8cf88f010c82de3040c895c801ce0849b065
tree39484b201cda3714113a03833cb5311b3c7c2716
parentc2be7f9b232fd6730dcec83555af050941c7805f
net/i40e: fix PF notify when VF is not up

This patch stops PF from sending messages to inactive VF
and modifies VF state to active when VF reset is completed.

Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: stable@dpdk.org
Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_pf.c