aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrainbow_0206 <jiangwenjiang@huawei.com>2018-10-10 15:39:32 +0800
committerrainbow_0206 <jiangwenjiang@huawei.com>2018-10-10 16:51:39 +0800
commitae849b5788d5c0f6633e65d8daa2fe0779029a69 (patch)
tree85e25459715bd6034737db4d6cc6ebb8b6698d6a
parentd622bf60c1894488276928f350c22e7a95008161 (diff)
Fix: modify the introduction document
Change-Id: I87ce3ce4b41e3d34b4bb5f72406b73c16ac2d90e Signed-off-by: rainbow_0206 <jiangwenjiang@huawei.com>
-rw-r--r--README.md6
-rw-r--r--doc/Build_DMM.md2
-rw-r--r--src/framework/common/base/include/common/common_mem_api.h2
-rw-r--r--src/framework/lib_common_mem/common_api.c2
-rw-r--r--src/nSocket/nstack/nstack.c2
-rw-r--r--src/nSocket/nstack/nstack_fd_mng.c2
-rw-r--r--src/nSocket/nstack/nstack_socket.c2
-rw-r--r--stacks/lwip_stack/lwip_src/socket/stackx_protocol_api.c2
8 files changed, 10 insertions, 10 deletions
diff --git a/README.md b/README.md
index 44529f1..688161e 100644
--- a/README.md
+++ b/README.md
@@ -32,15 +32,15 @@ instances and the app/socket-to-stack-mappings, which are provided via the orche
different transport layer protocol and also provide the flexibility to choose a protocol stack
from manybased on functional/performance requirements.
# 3. Quick Start
-Refer doc/Build_DMM.md
+ * [Refer doc/Build_DMM.md.](https://git.fd.io/dmm/plain/doc/Build_DMM.md)
# 4. Involved
* [Bi-Weekly DMM Metting.](https://wiki.fd.io/view/DMM/Meettng)
* [Join the DMM Mailing List.](https://lists.fd.io/g/dmm-dev)
* [Join fdio-dmm IRC channel.](https://wiki.fd.io/view/IRC)
* [Browse the code.](https://git.fd.io/dmm/tree/)
- * [18.07 Release Plan](https://wiki.fd.io/view/Projects/dmm/Release_Plans/Release_Plan_18.07)
-
+ * [18.10 Release Plan](https://wiki.fd.io/view/Projects/dmm/Release_Plans/Release_Plan_18.10)
+
# 5. More Information
- https://wiki.fd.io/view/DMM
- https://wiki.fd.io/view/Project_Proposals/DMM
diff --git a/doc/Build_DMM.md b/doc/Build_DMM.md
index b74d5fb..fb35d2f 100644
--- a/doc/Build_DMM.md
+++ b/doc/Build_DMM.md
@@ -95,7 +95,7 @@ Check hugepage info
sudo mkdir -p /var/run/ip_module
```
-# 6. Biuld and Run the APP
+# 6. Build and Run the APP
- Link the app with the lib **libnStackAPI.so** first, you can refer to app_example/perf-test
diff --git a/src/framework/common/base/include/common/common_mem_api.h b/src/framework/common/base/include/common/common_mem_api.h
index d143732..40b01b9 100644
--- a/src/framework/common/base/include/common/common_mem_api.h
+++ b/src/framework/common/base/include/common/common_mem_api.h
@@ -90,7 +90,7 @@ get_sys_pid ()
return g_sys_host_pid;
}
-pid_t updata_sys_pid ();
+pid_t update_sys_pid ();
u32_t sys_now (void);
#define sys_sem_t sys_sem_t_v2
diff --git a/src/framework/lib_common_mem/common_api.c b/src/framework/lib_common_mem/common_api.c
index 566b8be..cfb869d 100644
--- a/src/framework/lib_common_mem/common_api.c
+++ b/src/framework/lib_common_mem/common_api.c
@@ -275,7 +275,7 @@ sys_get_hostpid_from_file (pid_t pid)
}
pid_t
-updata_sys_pid ()
+update_sys_pid ()
{
g_sys_host_pid = SYS_HOST_INITIAL_PID;
return get_sys_pid ();
diff --git a/src/nSocket/nstack/nstack.c b/src/nSocket/nstack/nstack.c
index 4198266..225c297 100644
--- a/src/nSocket/nstack/nstack.c
+++ b/src/nSocket/nstack/nstack.c
@@ -769,7 +769,7 @@ nstack_fw_init ()
}
common_mem_rwlock_read_lock (get_fork_lock ());
- updata_sys_pid ();
+ update_sys_pid ();
u8 proc_type = NSFW_PROC_APP;
nsfw_mem_para stinfo = { 0 };
diff --git a/src/nSocket/nstack/nstack_fd_mng.c b/src/nSocket/nstack/nstack_fd_mng.c
index ba9b8f1..86e045d 100644
--- a/src/nSocket/nstack/nstack_fd_mng.c
+++ b/src/nSocket/nstack/nstack_fd_mng.c
@@ -180,7 +180,7 @@ nstack_fork_init_parent (pid_t ppid)
void
nstack_fork_init_child (pid_t ppid)
{
- pid_t cpid = updata_sys_pid ();
+ pid_t cpid = update_sys_pid ();
NSSOC_LOGDBG ("parent_pid=%d, child_pid=%d", ppid, cpid);
nsfw_mgr_clr_fd_lock ();
diff --git a/src/nSocket/nstack/nstack_socket.c b/src/nSocket/nstack/nstack_socket.c
index cd1557b..c967d64 100644
--- a/src/nSocket/nstack/nstack_socket.c
+++ b/src/nSocket/nstack/nstack_socket.c
@@ -2797,7 +2797,7 @@ nstack_fork (void)
pid = nsfw_base_fork ();
if (pid == 0)
{
- updata_sys_pid ();
+ update_sys_pid ();
}
NSSOC_LOGERR ("g_nStackInfo has not initialized]parent_pid=%d, pid=%d",
parent_pid, pid);
diff --git a/stacks/lwip_stack/lwip_src/socket/stackx_protocol_api.c b/stacks/lwip_stack/lwip_src/socket/stackx_protocol_api.c
index 920d73d..0be8d7b 100644
--- a/stacks/lwip_stack/lwip_src/socket/stackx_protocol_api.c
+++ b/stacks/lwip_stack/lwip_src/socket/stackx_protocol_api.c
@@ -56,7 +56,7 @@ sbr_init_protocol ()
int
sbr_fork_protocol ()
{
- pid_t pid = updata_sys_pid ();
+ pid_t pid = update_sys_pid ();
NSSBR_LOGINF ("update pid in child]pid=%d", pid);
return sbr_fork_stackx ();