]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: ignore link up if not running
authorAlan Brady <alan.brady@intel.com>
Fri, 5 Jan 2018 09:55:21 +0000 (04:55 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Jan 2018 19:29:19 +0000 (11:29 -0800)
commit195d3b4b0779ba2befd5b91ea1c44830150ca091
tree55a7328468e1c8a933a96cbb83a6c54d4cc19291
parentce9cddc4c1f8ee0cac41c1ac892d54659213598e
i40evf: ignore link up if not running

If we receive the link status message from PF with link up before queues
are actually enabled, it will trigger a TX hang.  This fixes the issue
by ignoring a link up message if the VF state is not yet in RUNNING
state.

Signed-off-by: Alan Brady <alan.brady@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c