numam-spdk/lib/nvmf
Shuhei Matsumoto 9c1d648315 lib/nvmf: Add nvmf_subsystem_get_listeners RPC
Add an new RPC, nvmf_subsystem_get_listeners.

ANA state is per listener and per subsystem, and is stored in
subsystem listener. We can return ANA state by the existing
nvmf_get_subsystems RPC but it's confusing that listen addresses
have ANA states.

To change ANA state, we will provide a RPC to change ANA state of
only one selected subsystem listener.

To query ANA state, it will be convenient to get ANA states of all
listeners of one selected subsystem.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ic3baad6eac65d7af6e0cab2c4059e1458d41e6e2
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4059
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-09-09 07:20:16 +00:00
..
ctrlr_bdev.c lib/nvmf: Support custom admin cmd handler for abort 2020-07-24 07:25:47 +00:00
ctrlr_discovery.c lib/nvmf: remove spdk_ and _spdk prefix from functions. 2020-06-01 09:21:14 +00:00
ctrlr.c lib/nvmf: Replace raw number 0xffffffff by SPDK_NVME_GLOBAL_NS_TAG 2020-09-07 09:29:37 +00:00
fc_ls.c nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00
fc.c lib/nvmf: Add nvmf_transport_qpair_abort_request() 2020-07-14 07:54:42 +00:00
Makefile lib/nvmf: make spdk_nvmf_qpair_disconnect thread safe. 2020-08-12 07:51:15 +00:00
nvmf_fc.h nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00
nvmf_internal.h lib/nvmf: Add ANA state to struct spdk_nvmf_subsystem_listener 2020-09-04 08:14:18 +00:00
nvmf_rpc.c lib/nvmf: Add nvmf_subsystem_get_listeners RPC 2020-09-09 07:20:16 +00:00
nvmf.c nvmf/subsystem: New path when we fail to change the subsystem state. 2020-09-07 09:29:25 +00:00
rdma.c nvmf/rdma/tcp: Use spdk_env_get_core_count to estimate cache size 2020-09-09 07:19:50 +00:00
spdk_nvmf.map lib/nvmf: Optionalize ANA reporting feature 2020-08-21 08:22:40 +00:00
subsystem.c nvmf/subsystem: New path when we fail to change the subsystem state. 2020-09-07 09:29:25 +00:00
tcp.c nvmf/rdma/tcp: Use spdk_env_get_core_count to estimate cache size 2020-09-09 07:19:50 +00:00
transport.c nvmf/transport: Use mempool_get_bulk to feel pg cache 2020-09-09 07:19:50 +00:00
transport.h lib/nvmf: Add nvmf_transport_qpair_abort_request() 2020-07-14 07:54:42 +00:00