net/i40e: fix PF notify issue when VF is not up
authorXiaoyun Li <xiaoyun.li@intel.com>
Tue, 15 Aug 2017 07:39:36 +0000 (15:39 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:47 +0000 (02:49 +0200)
commit16048c4cb70386512917073c1661d743f5a78806
tree16b77e9ed67960b528cb01e2603a407114d4e297
parent7dcb19d78f27ec6f6241ebc7779d5c61a9d569e1
net/i40e: fix PF notify issue when VF is not up

This patch stops PF from sending message to VF when VF's admin queue
isn't enabled, namely VF isn't up.

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