nuttx/arch/hc/src/m9s12
chao.an 4a559807a5 arch/netdev: try tcp timer in every txavail call
In the current implementation, the first transmission of the new
connection handshake is depends entirely by tcp_timer(), which will
caused 0.5s - 1s delay each time in connect().

This patch is mainly to improve the performance of TCP handshake.

Original:

nsh> tcp_client
[    1.536100] TCP connect start.
[    2.000200] TCP connect end. DIFF: tick: 4641, 464ms.
[    3.000300] TCP connect start.
[    4.000400] TCP connect end. DIFF: tick: 10001, 1000ms.
[    5.000500] TCP connect start.
[    6.000600] TCP connect end. DIFF: tick: 10001, 1000ms.
[    7.000700] TCP connect start.
[    8.000800] TCP connect end. DIFF: tick: 10001, 1000ms.

Optimized:

nsh> tcp_client
[    3.263600] TCP connect start.
[    3.263700] TCP connect end. DIFF: tick: 1, 0ms.
[    4.263800] TCP connect start.
[    4.263800] TCP connect end. DIFF: tick: 0, 0ms.
[    5.263900] TCP connect start.
[    5.263900] TCP connect end. DIFF: tick: 0, 0ms.
[    6.264000] TCP connect start.
[    6.264000] TCP connect end. DIFF: tick: 0, 0ms.
[    7.264100] TCP connect start.
[    7.264100] TCP connect end. DIFF: tick: 0, 0ms.

Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-18 14:16:11 +09:00
..
chip.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
Kconfig Rename HCS12 version of CONFIG_GPIO_IRQ to CONFIG_HCS12_GPIOIRQ 2016-07-22 14:53:17 -06:00
m9s12_assert.c arch: Initialize idle thread stack information 2020-09-16 06:57:29 -07:00
m9s12_atd.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
m9s12_crg.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_dumpgpio.c Fix a few errors concerning use of section block comments in .c files: (#95) 2020-01-14 00:37:54 +01:00
m9s12_emac.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_ethernet.c arch/netdev: try tcp timer in every txavail call 2020-12-18 14:16:11 +09:00
m9s12_flash.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_gpio.c Replace all ASSERT with DEBUGASSERT to save the code space 2018-08-24 06:58:30 -06:00
m9s12_gpioirq.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
m9s12_iic.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_initialstate.c arch: Initialize the idle thread stack info directly 2020-12-16 09:54:29 +09:00
m9s12_int.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_irq.c Correct some comments 2016-08-06 16:25:02 -06:00
m9s12_lowputc.S Correct some comments 2016-08-06 16:25:02 -06:00
m9s12_mebi.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_mmc.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_phy.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_pim.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_saveusercontext.S Correct some comments 2016-08-06 16:25:02 -06:00
m9s12_sci.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_serial.c arch/hc/src/m9s12/m9s12_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
m9s12_serial.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_spi.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_start.S Fix typos in comments 2020-02-14 08:50:45 -06:00
m9s12_tim.h Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
m9s12_timerisr.c Call xxx_timer_initialize from clock subsystem 2020-02-08 07:40:06 -06:00
m9s12_vectors.S Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
m9s12.h Standardization of some function headers. 2018-03-13 09:52:27 -06:00
Make.defs build: Remove the empty variable assignment 2020-05-24 08:24:13 -06:00