]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Fix issue with VF reset and multiple VFs support on PFs
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Fri, 8 Feb 2019 20:50:49 +0000 (12:50 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 19 Mar 2019 23:37:43 +0000 (16:37 -0700)
commit407c98b900215f7fd9a231510408c280d9adad9d
tree4f14c4d0886120294f4d8ff14276d7f6bcdc5d5c
parent0b8437e3f363ee58d603bdbce4f683b8e919a42e
ice: Fix issue with VF reset and multiple VFs support on PFs

This patch fixes issues with VF queues being disabled, and VF netdev
network carrier being lost after reset. Basically, we need to check if VF
is enabled, and queue configured in reset_all_vfs flow, and disable/enable
those queues appropriately whenever the function is called after
Global/CORER/PFR reset/rebuild/replay.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c