numam-spdk/lib/nvme
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
..
Makefile nvme: add function to get the max zone append data transfer size 2020-11-20 11:00:18 +00:00
nvme_ctrlr_cmd.c lib/nvme: add function spdk_nvme_bytes_to_numd to calculate number of dwords 2021-01-20 08:45:43 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: hold lock when calling nvme_ctrlr_submit_admin_request 2019-02-15 21:27:58 +00:00
nvme_ctrlr.c nvme: New function to perform a NVMe subsystem reset 2021-01-14 16:20:29 +00:00
nvme_cuse.c lib/env_dpdk: Change the location of lock files from /tmp to /var/tmp 2020-11-17 08:25:31 +00:00
nvme_cuse.h lib/nvme: add RPC for interacting with CUSE devices 2019-10-24 23:43:59 +00:00
nvme_fabric.c log: simplify SPDK_LOG_REGISTER_COMPONENT 2020-10-14 08:00:35 +00:00
nvme_internal.h nvme: add function to get the max zone append data transfer size 2020-11-20 11:00:18 +00:00
nvme_io_msg.c lib/nvme: update io msg producers on ns manage 2020-06-05 09:01:44 +00:00
nvme_io_msg.h lib/nvme: update io msg producers on ns manage 2020-06-05 09:01:44 +00:00
nvme_ns_cmd.c log: simplify SPDK_LOG_REGISTER_COMPONENT 2020-10-14 08:00:35 +00:00
nvme_ns_ocssd_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_ns.c log: simplify SPDK_LOG_REGISTER_COMPONENT 2020-10-14 08:00:35 +00:00
nvme_opal_internal.h nvme/opal: deprecate spdk_opal_supported() 2020-05-20 14:16:44 +00:00
nvme_opal.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
nvme_pcie.c nvme: call correct remove_cb when device is removed 2020-12-14 14:34:42 +00:00
nvme_poll_group.c lib/nvme: switch poll group to use connect/disconnect semantics. 2020-04-22 19:06:26 +00:00
nvme_qpair.c nvme: Update CQ error logging 2020-12-31 08:28:32 +00:00
nvme_quirks.c nvme: add quirks for new NVMe controller 2021-01-14 16:20:38 +00:00
nvme_rdma.c nvme/rdma: Use RDMA provider memory translation 2021-01-14 16:19:48 +00:00
nvme_tcp.c nvme_tcp: Fix icreq/icresp handing with zcopy enabled. 2020-10-30 09:05:35 +00:00
nvme_transport.c nvme/nvme_transport: Unify returns in disconnect and connect. 2020-12-28 13:29:35 +00:00
nvme_uevent.c lib/nvme: Add error handler for parse_event 2020-11-17 08:25:31 +00:00
nvme_uevent.h nvme: read all uevents 2020-08-24 07:38:33 +00:00
nvme_zns.c lib/nvme: add function spdk_nvme_bytes_to_numd to calculate number of dwords 2021-01-20 08:45:43 +00:00
nvme.c lib/nvme: Simplify the code related with nvme_ctrlr_opts init 2020-12-14 14:30:18 +00:00
spdk_nvme.map nvme: New function to perform a NVMe subsystem reset 2021-01-14 16:20:29 +00:00