[PATCH 2/2] nvme-rdma: sqsize/hsqsize/hrqsize is 0-based val

Sagi Grimberg sagi at grimberg.me
Sun Aug 7 00:29:08 PDT 2016


> Per NVMe-over-Fabrics 1.0 spec, sqsize is represented as
> a 0-based value.

Did we really decide that? The spec actually explicitly says
that a 0 sqsize will be failed:

"If the size is 0h or larger than the controller supports, then a
status value of Connect Invalid Parameters shall be returned."

And then it says: "This is a 0’s based value"

Confusing....



More information about the Linux-nvme mailing list