diff options
author | yalei wang <wylandrea@gmail.com> | 2018-10-31 08:14:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2018-10-31 08:14:04 +0000 |
commit | 999e5ea8b4073eb6849e1903936c77f4daec8a0b (patch) | |
tree | 787075431a4056d32128c0859c41784a21851907 /stacks/lwip_stack/lwip_src | |
parent | dbc4c0c8284eddb91e5294ba00e0b43c8faab930 (diff) | |
parent | d350c9ce98342afec8cb540296c2f3454952339a (diff) |
Merge "Fix: set default core num '1' for lwip backend thread"
Diffstat (limited to 'stacks/lwip_stack/lwip_src')
-rw-r--r-- | stacks/lwip_stack/lwip_src/api/spl_tcpip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stacks/lwip_stack/lwip_src/api/spl_tcpip.c b/stacks/lwip_stack/lwip_src/api/spl_tcpip.c index d8c7533..b0b588a 100644 --- a/stacks/lwip_stack/lwip_src/api/spl_tcpip.c +++ b/stacks/lwip_stack/lwip_src/api/spl_tcpip.c @@ -951,7 +951,7 @@ spl_tcpip_thread (void *arg) u16 task_loop; u16 num_recv_task = 0, num_send_timer_task = 0; u16 index_task = 0; - int tcpip_thread_sleep_interval = g_tcpip_thread_sleep_time * 1000; + //int tcpip_thread_sleep_interval = g_tcpip_thread_sleep_time * 1000; void *task_queue[TASK_BURST]; data_com_msg *msg; @@ -981,7 +981,7 @@ spl_tcpip_thread (void *arg) if (run_count++ > 20) { - sys_sleep_ns (0, tcpip_thread_sleep_interval); + //sys_sleep_ns (0, tcpip_thread_sleep_interval); } continue; } |