module/env_dpdk_rpc: add a map file and remove spdk prefix.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: Ibd61bd61f309cee6f9663327a43e81f6d70c7921
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2345
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Seth Howell 2020-05-10 11:54:11 -07:00 committed by Tomasz Zawadzki
parent 30e3f4d900
commit f7a072db7d
2 changed files with 5 additions and 3 deletions

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = env_dpdk_rpc.c
LIBNAME = env_dpdk_rpc
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -37,8 +37,8 @@
#include "spdk_internal/log.h"
static void
spdk_rpc_env_dpdk_get_mem_stats(struct spdk_jsonrpc_request *request,
const struct spdk_json_val *params)
rpc_env_dpdk_get_mem_stats(struct spdk_jsonrpc_request *request,
const struct spdk_json_val *params)
{
FILE *file = NULL;
struct spdk_json_write_ctx *w;
@ -65,4 +65,4 @@ spdk_rpc_env_dpdk_get_mem_stats(struct spdk_jsonrpc_request *request,
spdk_json_write_object_end(w);
spdk_jsonrpc_end_result(request, w);
}
SPDK_RPC_REGISTER("env_dpdk_get_mem_stats", spdk_rpc_env_dpdk_get_mem_stats, SPDK_RPC_RUNTIME)
SPDK_RPC_REGISTER("env_dpdk_get_mem_stats", rpc_env_dpdk_get_mem_stats, SPDK_RPC_RUNTIME)