Spdk/lib/nvmf
John Levon 49c0d28ab1 nvmf: drop req->data usage in ctrlr.c
Refer to req->iov instead of req->data. As the queue connection code
already presumes a single data buffer, add some sanity checking for
this.

We also need to fix vfio_user.c as a result to correctly set ->iovcnt.

Signed-off-by: John Levon <john.levon@nutanix.com>
Change-Id: Ib1e4ef3885200ffc5194f00b4e3fe20ab1934fd7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16194
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2023-01-30 16:28:35 +00:00
..
ctrlr_bdev.c util: add spdk_iov_xfer_*() API 2023-01-30 16:28:35 +00:00
ctrlr_discovery.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ctrlr.c nvmf: drop req->data usage in ctrlr.c 2023-01-30 16:28:35 +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: pause/resume polling for the target 2023-01-24 14:49:24 +00:00
rdma.c nvmf/rdma: Factor out creating/destroying rdma resources into helper functions 2022-12-16 09:25:36 +00:00
spdk_nvmf.map nvmf: pause/resume polling for the target 2023-01-24 14:49:24 +00:00
subsystem.c nvmf: Add ZNS specific identify functions for NVMe-oF ZNS support 2023-01-16 08:30:34 +00:00
tcp.c nvmf/tcp: Use an spdk_sock_flush instead of an spdk_sock_write 2023-01-24 18:18:33 +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: drop req->data usage in ctrlr.c 2023-01-30 16:28:35 +00:00