Spdk/lib/nvmf
Maciej Szulik 864580073f nvmf: fix check for buffs num in nvmf_request_get_buffers
There is no need to sum SPDK_CEIL_DIV(length, io_unit_size) and
req->iovcnt as the later is always zero (assignment in spdk_nvmf_request_get_buffers).
Checking SPDK_CEIL_DIV(length, io_unit_size) is enough.

Signed-off-by: Maciej Szulik <maciej.szulik@intel.com>
Change-Id: I0fea1d86706d83e4dd9083e6f0ce09e4e4b033a8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10089
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-11-10 20:25:35 +00:00
..
ctrlr_bdev.c lib/nvmf: Set missing fields if OPTPERF is set 2021-11-03 04:27:45 +00:00
ctrlr_discovery.c nvmf: Add discovery filtering rules 2021-10-25 22:57:48 +00:00
ctrlr.c nvmf/ctrlr: check offset parameter for get log page command 2021-11-10 20:23:37 +00:00
fc_ls.c nvmf/fc: Handle out of order fused commands. 2021-01-14 16:18:25 +00:00
fc.c trace: shorten tpoint names 2021-10-22 18:08:05 +00:00
Makefile nvmf/vfio-user: don't set RESERVATION support for vfio-user transport 2021-08-25 07:27:10 +00:00
nvmf_fc.h nvmf/fc: Add flag to differentiate LS queue and non LS queue. 2021-01-14 16:18:25 +00:00
nvmf_internal.h nvmf: only change CSTS RDY and SHN after no connected IO queues 2021-10-27 07:31:15 +00:00
nvmf_rpc.c nvmf: Add discovery filtering rules 2021-10-25 22:57:48 +00:00
nvmf.c nvmf: Add discovery filtering rules 2021-10-25 22:57:48 +00:00
rdma.c trace: move all trace definitions to a separate file 2021-10-20 07:22:00 +00:00
spdk_nvmf.map lib/nvmf : Added support for ZCOPY 2021-07-23 08:34:43 +00:00
subsystem.c Revert "nvmf: Update controller desctruction process" 2021-10-25 15:23:28 +00:00
tcp.c trace: shorten tpoint names 2021-10-22 18:08:05 +00:00
transport.c nvmf: fix check for buffs num in nvmf_request_get_buffers 2021-11-10 20:25:35 +00:00
transport.h nvmf: Allow nvmf_transport_qpair_fini to complete asynchronously. 2020-11-18 11:28:02 +00:00
vfio_user.c nvmf/vfio-user: return NVMe compliance SC value when creating IO queues 2021-11-09 05:04:57 +00:00