c27e4a18b1
1) Rename _nvme_ns_cmd_split_sgl_request to _nvme_ns_cmd_split_request_prp. 2) Add _nvme_ns_cmd_split_request_sgl. This function will be used with controllers that support SGL, to make sure the request does not span more SGEs than the controller or supporting software supports. While here, add a useful error message for both the prp and sgl cases, if the child_length is not an even multiple of the lba size. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ifd04aee3c571359009260fe46400ce1844511aa3 Reviewed-on: https://review.gerrithub.io/372359 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
nvme_ctrlr_cmd.c | ||
nvme_ctrlr.c | ||
nvme_internal.h | ||
nvme_ns_cmd.c | ||
nvme_ns.c | ||
nvme_pcie.c | ||
nvme_qpair.c | ||
nvme_quirks.c | ||
nvme_rdma.c | ||
nvme_transport.c | ||
nvme_uevent.c | ||
nvme_uevent.h | ||
nvme.c |