summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2016-09-29 09:51:33 +0800
committerQiuwen Lu <[email protected]>2016-09-29 09:51:33 +0800
commit1f6a7b47436060e997f9d8b5d276d99779c44e5d (patch)
tree40c92bcba431141ebb5d50ee50a5a8030f21e2c0
parentdde95c03ed1fac0d784bf0ee8c3b2b94ee97fbd1 (diff)
增加dpdk_empty_call的弱引用符号。增加版本号。v3.1.11-wytest
-rw-r--r--CMakeLists.txt2
-rw-r--r--worker/runtime.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ba27a3e..c568ebb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,7 +46,7 @@ endif()
# Project Version
set(MARSIO_MAJOR_VERSION 3)
set(MARSIO_MINOR_VERSION 1)
-set(MARSIO_PATCH_VERSION 3)
+set(MARSIO_PATCH_VERSION 11)
set(MARSIO_VERSION ${MARSIO_MAJOR_VERSION}.${MARSIO_MINOR_VERSION}.${MARSIO_PATCH_VERSION})
git_describe(MARSIO_GIT_VERSION)
diff --git a/worker/runtime.c b/worker/runtime.c
index 6d86ae8..a01cbd9 100644
--- a/worker/runtime.c
+++ b/worker/runtime.c
@@ -372,6 +372,11 @@ static inline void mr_lcore_worker(struct app_lcore_params_worker *lp,
return;
}
+__attribute__((weak)) void dpdk_empty_call(int sid)
+{
+ return;
+}
+
static inline void
mr_lcore_worker_flush(struct app_lcore_params_worker *lp)
{