17d28590fd
Previously nvme_ctrlr_channel had a pointer to a nvme_ctrlr and used it throughout. However the use cases are not performance critical and are better to convert from nvme_ctrlr_channel to nvme_ctrlr by spdk_io_channel_get_ctx() and spdk_io_channel_get_io_device(). Provide a convenient macro nvme_ctrlr_channel_get_ctrlr() to do it. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ie22e8c318af88e09b95824c67b3e874d85425f1a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9195 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
scheduler | ||
sock | ||
Makefile |