Spdk/lib/nvmf
Shuhei Matsumoto c8cb51d4bc lib/nvmf: Add nvmf_subsystem_listener_set_ana_state RPC
Add an new RPC, nvmf_subsystem_listener_set_ana_state.

Find the specified subsystem listener, and then set the ANA state
of the listener by calling nvmf_subsystem_listener_set_ana_state().

By adding a string and an enum to the existing context structure,
nvmf_rpc_listener_ctx, and adding an operation type to the existng
enum, nvmf_rpc_listen_op, reuse the existing code and data as much
as possible.

Besides, insert line break into a few long lines and fix wrong
error log.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I6fb2dfbb1f9c5f56848eba21d2a733fbed802614
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4080
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-09-16 07:55:28 +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: Set up ANA Change Notice 2020-09-16 07:55:28 +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 an internal API nvmf_subsystem_set_ana_state() 2020-09-16 07:55:28 +00:00
nvmf_rpc.c lib/nvmf: Add nvmf_subsystem_listener_set_ana_state RPC 2020-09-16 07:55:28 +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 nvmf: remove request exec backdoor 2020-09-14 09:18:49 +00:00
subsystem.c lib/nvmf: Add an internal API nvmf_subsystem_set_ana_state() 2020-09-16 07:55:28 +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