Spdk/lib/nvmf
Ankit Kumar 7bbeb80a31 nvme: support 64 LBA formats for NVM and ZNS command set
Format LBA size (FLBAS) is updated to have:
Bit 3:0 as least significant 4 bits for format index
Bit 6:5 as most significant 2 bits for format index

NVMe format command fields are updated accordingly.

Add a new helper function to fetch the correct format index.
Update examples and unit test files accordingly.

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
Change-Id: I2d6d9045b9d65ae91cb18843ca75b59cc27ed2f2
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16515
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2023-02-15 10:37:56 +00:00
..
ctrlr_bdev.c nvme: support 64 LBA formats for NVM and ZNS command set 2023-02-15 10:37:56 +00:00
ctrlr_discovery.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ctrlr.c nvme: support 64 LBA formats for NVM and ZNS command set 2023-02-15 10:37:56 +00:00
fc_ls.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
fc.c misc: Fix spelling mistakes 2022-12-09 08:16:18 +00:00
Makefile so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
nvmf_fc.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvmf_internal.h nvmf: pause/resume polling for the target 2023-01-24 14:49:24 +00:00
nvmf_rpc.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvmf.c nvmf: Fix new line at the end of log message 2023-01-30 16:29:49 +00:00
rdma.c nvmf/rdma: use req->iov consistently 2023-01-30 16:28:35 +00:00
spdk_nvmf.map nvmf: add spdk_nvmf_request_copy_*_buf() 2023-02-13 13:50:51 +00:00
subsystem.c nvmf: handle iovecs in reservation handling 2023-02-13 13:50:51 +00:00
tcp.c tcp: add note about default case in qpair_abort_request() 2023-02-13 13:50:15 +00:00
transport.c nvmf/transport: fix spdk_nvmf_request_free_buffers() 2023-01-24 18:18:49 +00:00
transport.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
vfio_user.c nvmf/vfio-user: use req->iov consistently 2023-01-30 16:28:35 +00:00