Spdk/test/unit/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 nvmf: Add ZNS specific identify functions for NVMe-oF ZNS support 2023-01-16 08:30:34 +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 update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvmf.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
rdma.c nvmf/rdma: use req->iov consistently 2023-01-30 16:28:35 +00:00
subsystem.c nvmf: use req->iov consistently in unit tests 2023-01-30 16:28:35 +00:00
tcp.c nvme: support 64 LBA formats for NVM and ZNS command set 2023-02-15 10:37:56 +00:00
transport.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
vfio_user.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00