Spdk/test/unit/lib/nvmf/ctrlr.c
sunshihao520 1572882a7f lib/nvme: add function spdk_nvme_bytes_to_numd to calculate number of dwords
According to kernel, use an inline function spdk_nvme_bytes_to_numd
to transfer paload_size form bytes to numer of dwords.

Signed-off-by: sunshihao <sunshihao@huawei.com>
Change-Id: I8b9ded122bbf4a3c8e46988993ea52404783c0b0
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5926
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-01-20 08:45:43 +00:00
..
.gitignore nvmf: Rename spdk_nvmf_session to spdk_nvmf_ctrlr 2017-08-08 13:46:48 -04:00
ctrlr_ut.c lib/nvme: add function spdk_nvme_bytes_to_numd to calculate number of dwords 2021-01-20 08:45:43 +00:00
Makefile test: use spdk.unittest.mk for nvmf unit tests 2018-02-14 10:40:40 -05:00