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 Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00
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 Run codespell -w against all files 2020-02-22 14:45:07 -06:00
sam3u_periphclks.h Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00
sam3x_gpio.h Run codespell -w against all files 2020-02-22 14:45:07 -06:00
sam3x_periphclks.h Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00
sam4cm_cpuidlestack.c arch/: Trivial typos, mostly "their is" to "there is" 2020-09-09 14:09:43 -04:00
sam4cm_cpuindex.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
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 Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sam4cm_freerun.h SAM3/4, SAMA5, SAMv7 Tickless: Refuse to call lower-level timer logic if not yet initialized 2016-02-05 10:22:11 -06:00
sam4cm_gpio.h Make some file section headers more consistent with standard 2015-04-08 08:04:12 -06:00
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 Fix various typos and spelling errors. 2019-12-12 07:41:51 -06:00
sam4cm_periphclks.h Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00
sam4cm_supc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam4cm_supc.h Add support for the SAM4CM. From Max Neklyudov 2014-06-25 08:25:52 -06:00
sam4cm_tc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam4cm_tc.h Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00
sam4cm_tickless.c Call xxx_timer_initialize from clock subsystem 2020-02-08 07:40:06 -06:00
sam4e_gpio.h Cosmetic: Move # of pre-processior command to column 1 2015-09-05 09:07:37 -06:00
sam4e_periphclks.h Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00
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 Run codespell -w against all files 2020-02-22 14:45:07 -06:00
sam4l_periphclks.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam4l_periphclks.h Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00
sam4s_gpio.h SAM3/4: GPIO bit numbering typo fixes. 2017-02-26 09:54:04 -08:00
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 Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00
sam_aes.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_aes.h Ensure all source code end with one and only one newline 2020-02-08 07:25:56 -06:00
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 Centralize definitions associated with CONFIG_DEBUG_GPIO 2016-06-15 09:20:23 -06:00
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 Fix use of undefined pp-token #errror, other typos. 2019-09-19 18:19:18 -06:00
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 Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
sam_mpuinit.h Make some file section headers more consistent with standard 2015-04-08 08:04:12 -06:00
sam_periphclks.h Add support for the SAM4CM. From Max Neklyudov 2014-06-25 08:25:52 -06:00
sam_rtc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_rtc.h Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00
sam_rtt.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_rtt.h Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00
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 Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00
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 Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00
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 Fix some typos 2019-09-17 10:46:23 -06:00
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 Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
sam_userspace.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
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 Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware. 2019-05-25 07:37:39 -06:00