[Intel-wired-lan] [next-queue v5 05/17] fm10k: reinitialize queuing scheme after calling init_hw

Allan, Bruce W bruce.w.allan at intel.com
Fri Oct 16 23:42:01 UTC 2015


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Jacob Keller
> Sent: Friday, October 16, 2015 10:57 AM
> To: Intel Wired LAN
> Subject: [Intel-wired-lan] [next-queue v5 05/17] 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 at intel.com>
> ---
>  drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)

Reviewed-by: Bruce Allan <bruce.w.allan at intel.com>



More information about the Intel-wired-lan mailing list