diff options
author | Guixin Liu <kanie@linux.alibaba.com> | 2023-12-05 10:37:40 +0300 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2023-12-07 00:57:43 +0300 |
commit | 2fcd3ab398260a113fd4434b4d72929066c73121 (patch) | |
tree | 037d0575e1dbf0c812e1119608a3a8bfb07c8ead /drivers/nvme/host/Makefile | |
parent | 68999d1dd23a71b991a36201db29c8787f35a23f (diff) | |
download | linux-2fcd3ab398260a113fd4434b4d72929066c73121.tar.xz |
nvme-fabrics: check ioccsz and iorcsz
Make sure that ioccsz and iorcsz returned by target are correct before use it.
Per 2.0a base NVMe spec:
I/O Queue Command Capsule Supported Size (IOCCSZ): This field defines
the maximum I/O command capsule size in 16 byte units. The minimum value
that shall be indicated is 4 corresponding to 64 bytes.
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme/host/Makefile')
0 files changed, 0 insertions, 0 deletions