558be98fd3
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> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |