diff options
author | Jay Freyensee <[email protected]> | 2016-08-17 15:00:27 -0700 |
---|---|---|
committer | Sagi Grimberg <[email protected]> | 2016-08-18 09:58:06 +0300 |
commit | c5af8654c422cfdd8480be3a244748e18cace6c5 (patch) | |
tree | d75ba0cd1e6a02851b2592758e90986a5fc09f94 /lib/mpi/mpi-bit.c | |
parent | f994d9dc28bc27353acde2caaf718222d92a3e24 (diff) |
nvme-rdma: fix sqsize/hsqsize per spec
Per NVMe-over-Fabrics 1.0 spec, sqsize is represented as
a 0-based value.
Also per spec, the RDMA binding values shall be set
to sqsize, which makes hsqsize 0-based values.
Thus, the sqsize during NVMf connect() is now:
[root@fedora23-fabrics-host1 for-48]# dmesg
[ 318.720645] nvme_fabrics: nvmf_connect_admin_queue(): sqsize for
admin queue: 31
[ 318.720884] nvme nvme0: creating 16 I/O queues.
[ 318.810114] nvme_fabrics: nvmf_connect_io_queue(): sqsize for i/o
queue: 127
Finally, current interpretation implies hrqsize is 1's based
so set it appropriately.
Reported-by: Daniel Verkamp <[email protected]>
Signed-off-by: Jay Freyensee <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions