numam-spdk/lib/nvme
Jim Harris c27e4a18b1 nvme: split based on max number of sges
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>
2017-08-02 17:15:21 -04:00
..
Makefile nvme: Monitor uevent for device insert and remove 2016-11-30 14:27:43 -07:00
nvme_ctrlr_cmd.c nvme: track qpair within nvme_request 2017-04-12 21:05:23 -07:00
nvme_ctrlr.c nvme: add transport get_max_sges abstraction 2017-08-02 17:15:21 -04:00
nvme_internal.h nvme: add transport get_max_sges abstraction 2017-08-02 17:15:21 -04:00
nvme_ns_cmd.c nvme: split based on max number of sges 2017-08-02 17:15:21 -04:00
nvme_ns.c nvme: initialize namespace capability flags with correct order 2017-03-10 11:39:09 -07:00
nvme_pcie.c nvme: add transport get_max_sges abstraction 2017-08-02 17:15:21 -04:00
nvme_qpair.c nvme: no need to send abort notification for died application 2017-06-20 15:43:21 -04:00
nvme_quirks.c nvme: add NVME_QUIRK_DELAY_AFTER_QUEUE_ALLOC 2017-05-01 10:22:18 -07:00
nvme_rdma.c nvme: add transport get_max_sges abstraction 2017-08-02 17:15:21 -04:00
nvme_transport.c nvme: add transport get_max_sges abstraction 2017-08-02 17:15:21 -04:00
nvme_uevent.c nvme/uevent: use env PCI addr helper functions 2017-06-23 11:20:05 -04:00
nvme_uevent.h nvme: Remove pci_addr from probe_info 2016-12-12 10:46:50 -07:00
nvme.c nvme: add API to convert trtype and adrfam to string 2017-06-30 12:43:18 -04:00