net/i40e/base: avoid reset timeout issue
authorJingjing Wu <jingjing.wu@intel.com>
Tue, 27 Jun 2017 13:29:14 +0000 (21:29 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:57 +0000 (15:00 +0200)
commit3c8b18c416e30a35b1fc61e4d4bdfac360678b2b
treeed1663406613c95bb7dacf3d53d08923d35487a0
parent156e15b5f711572570fdcf8b8541fcc465807b74
net/i40e/base: avoid reset timeout issue

This patch allows detection of upcoming core reset in case NIC gets
stuck while performing FLR reset. The i40e_pf_reset() function returns
I40E_ERR_NOT_READY when global reset was detected.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/base/i40e_common.c