summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/fm10k/fm10k_pf.c
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2015-10-16 20:56:59 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-12-06 10:55:16 +0300
commit875328e4bce696e85edcda3c4b0ec80fd525e3a3 (patch)
tree24caa1cce59a837c0df0991ef8b18f39a3afb711 /drivers/net/ethernet/intel/fm10k/fm10k_pf.c
parent1343c65f70ee1b1f968a08b30e1836a4e37116cd (diff)
downloadlinux-875328e4bce696e85edcda3c4b0ec80fd525e3a3.tar.xz
fm10k: reinitialize queuing scheme after calling init_hw
The init_hw function may fail, and in the case of VFs, it might change the number of maximum queues available. Thus, for every flow which checks init_hw, we need to ensure that we clear the queue scheme before, and initialize it after. The fm10k_io_slot_reset path will end up triggering a reset so fm10k_reinit needs this change. The fm10k_io_error_detected and fm10k_io_resume also need to properly clear and reinitialize the queue scheme. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/fm10k/fm10k_pf.c')
0 files changed, 0 insertions, 0 deletions