8dfa1067a4
This change refactors the way nvmf_get_stats RPC works. The RPC layer passes JSON write context to custom dump function defined within transport ops. The RPC layer no longer needs to know the structure of transport poll group statictics. Functions and structures used in the previous flow have been deprecated and will be removed. JSON returned for RDMA transport should be the same as before this change. Signed-off-by: Maciej Szulik <maciej.szulik@intel.com> Change-Id: I03308c45be120793d316bf79814a1295afd9fb95 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6681 Community-CI: Broadcom CI 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> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
123 lines
3.5 KiB
Plaintext
123 lines
3.5 KiB
Plaintext
{
|
|
global:
|
|
|
|
# public functions in nvmf.h
|
|
spdk_nvmf_tgt_create;
|
|
spdk_nvmf_tgt_destroy;
|
|
spdk_nvmf_tgt_get_name;
|
|
spdk_nvmf_get_tgt;
|
|
spdk_nvmf_get_first_tgt;
|
|
spdk_nvmf_get_next_tgt;
|
|
spdk_nvmf_tgt_write_config_json;
|
|
spdk_nvmf_listen_opts_init;
|
|
spdk_nvmf_tgt_listen_ext;
|
|
spdk_nvmf_tgt_stop_listen;
|
|
spdk_nvmf_poll_group_create;
|
|
spdk_nvmf_get_optimal_poll_group;
|
|
spdk_nvmf_poll_group_destroy;
|
|
spdk_nvmf_poll_group_add;
|
|
spdk_nvmf_poll_group_get_stat;
|
|
spdk_nvmf_qpair_disconnect;
|
|
spdk_nvmf_qpair_get_peer_trid;
|
|
spdk_nvmf_qpair_get_local_trid;
|
|
spdk_nvmf_qpair_get_listen_trid;
|
|
spdk_nvmf_subsystem_create;
|
|
spdk_nvmf_subsystem_destroy;
|
|
spdk_nvmf_subsystem_start;
|
|
spdk_nvmf_subsystem_stop;
|
|
spdk_nvmf_subsystem_pause;
|
|
spdk_nvmf_subsystem_resume;
|
|
spdk_nvmf_tgt_find_subsystem;
|
|
spdk_nvmf_subsystem_get_first;
|
|
spdk_nvmf_subsystem_get_next;
|
|
spdk_nvmf_subsystem_add_host;
|
|
spdk_nvmf_subsystem_remove_host;
|
|
spdk_nvmf_subsystem_disconnect_host;
|
|
spdk_nvmf_subsystem_set_allow_any_host;
|
|
spdk_nvmf_subsystem_get_allow_any_host;
|
|
spdk_nvmf_subsystem_host_allowed;
|
|
spdk_nvmf_subsystem_get_first_host;
|
|
spdk_nvmf_subsystem_get_next_host;
|
|
spdk_nvmf_host_get_nqn;
|
|
spdk_nvmf_subsystem_add_listener;
|
|
spdk_nvmf_subsystem_remove_listener;
|
|
spdk_nvmf_subsystem_listener_allowed;
|
|
spdk_nvmf_subsystem_get_first_listener;
|
|
spdk_nvmf_subsystem_get_next_listener;
|
|
spdk_nvmf_subsystem_listener_get_trid;
|
|
spdk_nvmf_subsystem_allow_any_listener;
|
|
spdk_nvmf_subsytem_any_listener_allowed;
|
|
spdk_nvmf_ns_opts_get_defaults;
|
|
spdk_nvmf_subsystem_add_ns_ext;
|
|
spdk_nvmf_subsystem_remove_ns;
|
|
spdk_nvmf_subsystem_get_first_ns;
|
|
spdk_nvmf_subsystem_get_next_ns;
|
|
spdk_nvmf_subsystem_get_ns;
|
|
spdk_nvmf_subsystem_get_max_namespaces;
|
|
spdk_nvmf_ns_get_id;
|
|
spdk_nvmf_ns_get_bdev;
|
|
spdk_nvmf_ns_get_opts;
|
|
spdk_nvmf_subsystem_get_sn;
|
|
spdk_nvmf_subsystem_set_sn;
|
|
spdk_nvmf_subsystem_get_mn;
|
|
spdk_nvmf_subsystem_set_mn;
|
|
spdk_nvmf_subsystem_get_nqn;
|
|
spdk_nvmf_subsystem_get_type;
|
|
spdk_nvmf_subsystem_get_max_nsid;
|
|
spdk_nvmf_transport_opts_init;
|
|
spdk_nvmf_transport_create;
|
|
spdk_nvmf_transport_destroy;
|
|
spdk_nvmf_tgt_get_transport;
|
|
spdk_nvmf_transport_get_first;
|
|
spdk_nvmf_transport_get_next;
|
|
spdk_nvmf_get_transport_opts;
|
|
spdk_nvmf_get_transport_type;
|
|
spdk_nvmf_get_transport_name;
|
|
spdk_nvmf_tgt_add_transport;
|
|
spdk_nvmf_transport_listen;
|
|
spdk_nvmf_transport_stop_listen;
|
|
spdk_nvmf_transport_stop_listen_async;
|
|
spdk_nvmf_transport_poll_group_get_stat;
|
|
spdk_nvmf_transport_poll_group_free_stat;
|
|
spdk_nvmf_poll_group_dump_stat;
|
|
spdk_nvmf_rdma_init_hooks;
|
|
spdk_nvmf_subsystem_set_ana_reporting;
|
|
|
|
# public functions in nvmf_cmd.h
|
|
spdk_nvmf_ctrlr_identify_ctrlr;
|
|
spdk_nvmf_ctrlr_identify_ns;
|
|
spdk_nvmf_set_custom_admin_cmd_hdlr;
|
|
spdk_nvmf_set_passthru_admin_cmd;
|
|
spdk_nvmf_bdev_ctrlr_nvme_passthru_admin;
|
|
spdk_nvmf_request_get_bdev;
|
|
spdk_nvmf_request_get_ctrlr;
|
|
spdk_nvmf_request_get_subsystem;
|
|
spdk_nvmf_request_get_data;
|
|
spdk_nvmf_request_get_cmd;
|
|
spdk_nvmf_request_get_response;
|
|
spdk_nvmf_request_get_req_to_abort;
|
|
spdk_nvmf_bdev_ctrlr_abort_cmd;
|
|
|
|
# public functions in nvmf_transport.h
|
|
spdk_nvmf_transport_register;
|
|
spdk_nvmf_tgt_new_qpair;
|
|
spdk_nvmf_ctrlr_connect;
|
|
spdk_nvmf_ctrlr_data_init;
|
|
spdk_nvmf_ctrlr_get_regs;
|
|
spdk_nvmf_request_free_buffers;
|
|
spdk_nvmf_request_get_buffers;
|
|
spdk_nvmf_request_get_buffers_multi;
|
|
spdk_nvmf_request_get_dif_ctx;
|
|
spdk_nvmf_request_exec_fabrics;
|
|
spdk_nvmf_request_exec;
|
|
spdk_nvmf_request_free;
|
|
spdk_nvmf_request_complete;
|
|
spdk_nvmf_ctrlr_get_subsystem;
|
|
spdk_nvmf_ctrlr_get_id;
|
|
spdk_nvmf_req_get_xfer;
|
|
spdk_nvmf_poll_group_remove;
|
|
|
|
|
|
local: *;
|
|
};
|