Spdk/module/bdev/nvme
Alexey Marchuk 558be98fd3 nvme/pcie: Add statistics per poll group
Check if qpair has a poll group during the connect process,
use poll group's statistics or allocate own structure per
qpair. That is done due to not all applications use poll
groups and we want to avoid "if (qpair->group)"
conditions in data path.

Admin qpair always allocates its own statistics
structure but the statistics are not reported
since this qpair is not attached to a poll group.

Statistics are reported by spdk_nvme_perf tool
if --transport-stats and in bdev_nvme_transport_statistics
RPC method.

Change-Id: I58765be161491fe394968ea65ea22db1478b219a
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6304
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2021-04-13 21:30:52 +00:00
..
bdev_nvme_cuse_rpc.c lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
bdev_nvme_rpc.c nvme/pcie: Add statistics per poll group 2021-04-13 21:30:52 +00:00
bdev_nvme.c bdev/nvme: Factor out getting admin path into a helper function 2021-04-12 09:51:03 +00:00
bdev_nvme.h bdev/nvme: Merge bdev_nvme_remove_trid() into bdev_nvme_delete() 2021-03-12 08:20:46 +00:00
bdev_ocssd_rpc.c bdev/ocssd: Remove range parameter from bdev_ocssd_create RPC 2021-02-19 11:28:53 +00:00
bdev_ocssd.c bdev/nvme: Remove nvme_ns->ref and use nvme_ns->populated and nvme_ns->bdev instead 2021-04-08 16:10:26 +00:00
bdev_ocssd.h bdev/ocssd: Remove range from struct ocssd_bdev 2021-02-24 13:01:44 +00:00
common.c bdev/nvme: Factor out deleting nvme_bdev_ctrlr into a helper function 2021-04-08 16:10:26 +00:00
common.h bdev/nvme: Factor out getting admin path into a helper function 2021-04-12 09:51:03 +00:00
Makefile so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
nvme_rpc.c bdev/nvme: Fix the RPC bdev_nvme_send_cmd to pass the registered io_device, nvme_bdev_ctrlr, correctly to get io_channel 2021-03-18 14:41:13 +00:00
vbdev_opal_rpc.c lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
vbdev_opal.c bdev/nvme: Inline nvme_bdev_ns_to_bdev() and remove it 2021-04-08 16:10:26 +00:00
vbdev_opal.h module/bdev_nvme: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00