net/i40e: fix VF initialization error
authorJingjing Wu <jingjing.wu@intel.com>
Mon, 9 Oct 2017 22:08:30 +0000 (06:08 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Oct 2017 21:35:29 +0000 (22:35 +0100)
In igb_uio, FLR is issued during open device file. i40evf is trying
to initialize admin queue when driver probe, while the FLR is not
done by host driver. That will cause initialization fail.

This patch is adding the checking if VF reset is done before
adimin queue initialization.

Fixes: b58eedfc7dd5 ("igb_uio: issue FLR during open and release of device file")
Cc: stable@dpdk.org
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>

No differences found