Spdk/test/unit/lib/nvmf
Shuhei Matsumoto 063c79d13c nvmf: Optimize nvmf_request_get_buffers by merging buffer and iovec loops
We can merge two loops of req->buffers and req->iov into a single
loop and merge two variables, req->num_buffers and req->iovcnt into
a single variable. For the latter, use req->iovcnt because it is
also used for in-capsule data.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ia164f2054b98bbcb00308791774e3ffa4fc70baf
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469489
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-09-30 21:11:52 +00:00
..
ctrlr_bdev.c ut/cunit: added missing semicolon on CU_ASSERT macros 2019-07-24 18:21:22 +00:00
ctrlr_discovery.c test/nvmf: Remove event function stubs 2019-09-18 16:45:05 +00:00
ctrlr.c nvmf: check HOSTNQN access right for discovery service 2019-07-24 11:25:59 +00:00
fc_ls.c nvmf/fc: Rename transport_poll_group instance in nvmf_fc_poll_group to group 2019-09-09 00:42:22 +00:00
fc.c nvmf/fc: Rename nvmf_fc_poll_group pointer held in struct to fgroup 2019-09-09 00:42:22 +00:00
rdma.c nvmf: Optimize nvmf_request_get_buffers by merging buffer and iovec loops 2019-09-30 21:11:52 +00:00
subsystem.c ut/nvmf/subsystem: Add unit tests for namespace event callback 2019-09-26 16:14:14 +00:00
tcp.c nvmf: Pass not num_buffers but length to spdk_nvmf_request_get_buffers() 2019-09-26 16:12:28 +00:00
Makefile NVMe-oF Target: Add FC transport. 2019-07-26 22:17:17 +00:00