numam-spdk/test/unit/lib/nvme
Jim Harris 002660c4f0 nvme: add transport get_max_sges abstraction
For pcie, this just equals the number of SGLs we can fit
into the per-tracker memory.

For rdma, this is just set to 1 for now since nvme_rdma.c
does not support multiple SGEs yet.  Once that support is
added, this will change to use MSDBD (Maximum SGL Data Block
Descriptors) instead from the controller identify data.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I34a4c546b5ff46918a296a73ed8cbcc6c9879d5a

Reviewed-on: https://review.gerrithub.io/372358
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-08-02 17:15:21 -04:00
..
nvme_ctrlr_cmd.c test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
nvme_ctrlr.c nvme: add transport get_max_sges abstraction 2017-08-02 17:15:21 -04:00
nvme_ns_cmd.c nvme/unit:add two unit tests for IO compare operation 2017-08-01 16:59:51 -04:00
nvme_ns.c test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
nvme_pcie.c test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
nvme_qpair.c test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
nvme_quirks.c test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
nvme.c unit test: add new mock macro and use macros in nvme_ut.c 2017-08-01 17:29:43 -04:00
Makefile test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00