]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commite0346f9fcb6c636d2f870e6666de8781413f34ea
tree55a7328468e1c8a933a96cbb83a6c54d4cc19291
parent557450c301b076c9b34266296128837c538e1e0e
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