+96
−5
Loading
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>