[PATCH v2 2/4] nvme-pci: limit maximum queue depth to 4095

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Wed May 19 14:12:42 PDT 2021


On 5/19/21 10:52, Sagi Grimberg wrote:
> We are going to use the upper 4-bits of the command_id for a generation
> counter, so enforce the new queue depth upper limit. As we enforce
> both min and max queue depth, use param_set_uint_minmax istead of
> open coding it.
>
> Signed-off-by: Sagi Grimberg <sagi at grimberg.me>


Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>






More information about the Linux-nvme mailing list