nuttx/arch/arm/src/sam34
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
..
hardware Added: MT29F2G Nand Flash block driver for sam4s-xplained-pro. 2020-12-04 22:41:46 -08:00
chip.h
Kconfig Added: MT29F2G Nand Flash block driver for sam4s-xplained-pro. 2020-12-04 22:41:46 -08:00
Make.defs Added: MT29F2G Nand Flash block driver for sam4s-xplained-pro. 2020-12-04 22:41:46 -08:00
sam3u_gpio.h
sam3u_periphclks.h
sam3x_gpio.h
sam3x_periphclks.h
sam4cm_cpuidlestack.c arch/: Trivial typos, mostly "their is" to "there is" 2020-09-09 14:09:43 -04:00
sam4cm_cpuindex.c
sam4cm_cpupause.c include/nuttx/sched.h: Make naming of all internal names consistent: 2020-05-09 14:19:08 -03:00
sam4cm_cpustart.c sched: The secondary idle threads should call nx_idle_trampoline 2020-07-29 16:03:13 +09:00
sam4cm_freerun.c
sam4cm_freerun.h
sam4cm_gpio.h
sam4cm_idle.c arch/: Trivial typos, mostly "their is" to "there is" 2020-09-09 14:09:43 -04:00
sam4cm_oneshot_lowerhalf.c Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
sam4cm_oneshot.c Fix typos in comments and documentation. 2020-03-16 20:01:11 -06:00
sam4cm_oneshot.h
sam4cm_periphclks.h
sam4cm_supc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam4cm_supc.h
sam4cm_tc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam4cm_tc.h
sam4cm_tickless.c
sam4e_gpio.h
sam4e_periphclks.h
sam4l_clockconfig.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam4l_gpio.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam4l_gpio.h
sam4l_periphclks.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam4l_periphclks.h
sam4s_gpio.h
sam4s_nand.c arch/arm/src/sam34/sam4s_nand.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
sam4s_nand.h Added: MT29F2G Nand Flash block driver for sam4s-xplained-pro. 2020-12-04 22:41:46 -08:00
sam4s_periphclks.h
sam_aes.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_aes.h
sam_allocateheap.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
sam_clockconfig.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_clockconfig.h
sam_cmcc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_cmcc.h
sam_dmac.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
sam_dmac.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
sam_emac.c arch/netdev: try tcp timer in every txavail call 2020-12-18 14:16:11 +09:00
sam_emac.h arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
sam_gpio.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_gpio.h
sam_gpioirq.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_hsmci.c arch/arm/src/sam34/sam_hsmci.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
sam_hsmci.h
sam_irq.c Run all .c and .h modified by this PR through nxstyle 2020-05-01 16:55:33 -03:00
sam_lowputc.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
sam_lowputc.h arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_mpuinit.c
sam_mpuinit.h
sam_periphclks.h
sam_rtc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_rtc.h
sam_rtt.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_rtt.h
sam_serial.c arch/arm/src/sam34/sam_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
sam_spi.c arch/arm/src/sam34/sam_spi.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
sam_spi.h
sam_start.c Fix nxstyle warning 2020-09-16 06:57:29 -07:00
sam_start.h arch: Initialize idle thread stack information 2020-09-16 06:57:29 -07:00
sam_tc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_tc.h
sam_timerisr.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_twi.c twi_takesem() had been changed to return an int. 2020-11-14 19:17:14 +01:00
sam_twi.h
sam_udp.c arch/arm/src/sam34/sam_udp.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
sam_udp.h
sam_userspace.c
sam_userspace.h arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_wdt.c arch/arm/src/sam34/sam_wdt.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
sam_wdt.h