Spdk/lib/nvmf
Seth Howell 1180bf8343 rdma: clean up SGE definitions and properly set values
We have historically conflated SPDK_NVMF_MAX_SGL_ENTRIES and the maximum
number of SGEs associated with a wr data object. For now these are the
same thing, but there should be nothing tying the number of NVMe request
SGL elements to the number of rdma request wr sgl elements.
Also, clarify the rx_sge and tx_sge enums to reflect the actual maximum
number of SGEs associated with either the send and receive queues.
This change doesn't actually modify these values, but sets us up to do
things like split the data in an NVMe SGE into multiple WR SGEs in case
the buffer associated with the NVMe SGE is not contained in a single
RDMA mr.
We also need to store these values in the qpair for later usage.

Change-Id: Iff3756fc72787a4b72a99b2bdf90bf486a8010fa
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/433196
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-11-16 15:18:41 +00:00
..
ctrlr_bdev.c ctrlr_bdev: change spdk_nvmf_bdev_ctrlr_identify_ns to return void 2018-10-15 17:29:30 +00:00
ctrlr_discovery.c nvmf: remove tgt_opts from nvmf_tgt 2018-11-08 23:08:26 +00:00
ctrlr.c nvmf/ctrlr: add debug log for volatile write cache 2018-10-23 08:10:12 +00:00
Makefile Make: Add deps for each shared obj individually 2018-10-09 21:45:26 +00:00
nvmf_fc.h lib/nvmf: fix a typo error 2018-10-12 17:40:16 +00:00
nvmf_internal.h nvmf/rdma: change the default buffer size. 2018-11-15 08:17:39 +00:00
nvmf.c nvmf: remove tgt_opts from nvmf_tgt 2018-11-08 23:08:26 +00:00
rdma.c rdma: clean up SGE definitions and properly set values 2018-11-16 15:18:41 +00:00
request.c nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00
subsystem.c nvmf: remove tgt_opts from nvmf_tgt 2018-11-08 23:08:26 +00:00
transport.c nvmf: add functions for iterating over transports 2018-11-02 18:04:06 +00:00
transport.h nvmf: Move target opts to transport opts (part 2) 2018-09-17 20:42:16 +00:00