mvnf module: remove support for deprecated RPC names(missed two)
These were deprecated in 2019, it's time to remove support for them now. Change-Id: Ia28abb9b724c9589e1da66f0f22a1ba95d96f5dc Signed-off-by: wanghailiangx <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12776 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
23d832a04c
commit
25114fce69
@ -71,7 +71,6 @@ rpc_nvmf_set_max_subsystems(struct spdk_jsonrpc_request *request,
|
|||||||
}
|
}
|
||||||
SPDK_RPC_REGISTER("nvmf_set_max_subsystems", rpc_nvmf_set_max_subsystems,
|
SPDK_RPC_REGISTER("nvmf_set_max_subsystems", rpc_nvmf_set_max_subsystems,
|
||||||
SPDK_RPC_STARTUP)
|
SPDK_RPC_STARTUP)
|
||||||
SPDK_RPC_REGISTER_ALIAS_DEPRECATED(nvmf_set_max_subsystems, set_nvmf_target_max_subsystems)
|
|
||||||
|
|
||||||
static const struct spdk_json_object_decoder admin_passthru_decoder[] = {
|
static const struct spdk_json_object_decoder admin_passthru_decoder[] = {
|
||||||
{"identify_ctrlr", offsetof(struct spdk_nvmf_admin_passthru_conf, identify_ctrlr), spdk_json_decode_bool}
|
{"identify_ctrlr", offsetof(struct spdk_nvmf_admin_passthru_conf, identify_ctrlr), spdk_json_decode_bool}
|
||||||
@ -216,7 +215,6 @@ rpc_nvmf_set_config(struct spdk_jsonrpc_request *request,
|
|||||||
spdk_jsonrpc_send_bool_response(request, true);
|
spdk_jsonrpc_send_bool_response(request, true);
|
||||||
}
|
}
|
||||||
SPDK_RPC_REGISTER("nvmf_set_config", rpc_nvmf_set_config, SPDK_RPC_STARTUP)
|
SPDK_RPC_REGISTER("nvmf_set_config", rpc_nvmf_set_config, SPDK_RPC_STARTUP)
|
||||||
SPDK_RPC_REGISTER_ALIAS_DEPRECATED(nvmf_set_config, set_nvmf_target_config)
|
|
||||||
|
|
||||||
struct nvmf_rpc_set_crdt {
|
struct nvmf_rpc_set_crdt {
|
||||||
uint16_t crdt1;
|
uint16_t crdt1;
|
||||||
|
Loading…
Reference in New Issue
Block a user