Re: [PATCH 02/17] lpfc: Expand WQE capability of every NVME hardware queue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/03/2017 11:56 PM, James Smart wrote:
> Hardware queues are a fast staging area to push commands into the adapter.
> The adapter should drain them extremely quickly. However, under heavy
> io load, the host cpu is pushing commands faster than the drain rate of
> the adapter causing the driver to resource busy commands.
> 
> Enlarge the hardware queue (wq & cq) to support a larger number of
> queue entries (4x the prior size) before backpressure. Enlarging
> the queue requires larger contiguous buffers (16k) per logical page
> for the hardware. This changed calling sequences that were expecting
> 4K page sizes that now must pass a parameter with the page sizes. It
> also required use of a new version of an adapter command that can vary
> the page size values.
> 
> Signed-off-by: Dick Kennedy <dick.kennedy@xxxxxxxxxxxx>
> Signed-off-by: James Smart <james.smart@xxxxxxxxxxxx>
> ---
>  drivers/scsi/lpfc/lpfc_hw4.h  |  6 +++-
>  drivers/scsi/lpfc/lpfc_init.c | 67 ++++++++++++++++++++++++++--------------
>  drivers/scsi/lpfc/lpfc_nvme.h |  3 +-
>  drivers/scsi/lpfc/lpfc_sli.c  | 71 +++++++++++++++++++++++++++++++++----------
>  drivers/scsi/lpfc/lpfc_sli4.h |  8 +++--
>  5 files changed, 112 insertions(+), 43 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@xxxxxxx			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux