nuttx/arch/arm/src/lpc54xx
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 Fix nxstyle warning 2020-08-08 17:30:26 -03:00
chip.h Rename arch/arm/src/lpc54xx/chip to arch/arm/src/lpc54xx/hardware. 2019-05-24 13:39:49 -06:00
Kconfig Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
lpc54_allocateheap.c arm: Use a consistent type (uintptr_t) for g_idle_topstack 2020-11-16 05:46:53 -08:00
lpc54_clockconfig.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc54_clockconfig.h
lpc54_clrpend.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc54_config.h
lpc54_dma.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
lpc54_dma.h Rename arch/arm/src/lpc54xx/chip to arch/arm/src/lpc54xx/hardware. 2019-05-24 13:39:49 -06:00
lpc54_emc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc54_emc.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
lpc54_enableclk.h
lpc54_ethernet.c arch/netdev: try tcp timer in every txavail call 2020-12-18 14:16:11 +09:00
lpc54_gpio.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc54_gpio.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
lpc54_gpioirq.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc54_i2c_master.c arch/arm/src/lpc54xx/lpc54_i2c_master.c: Fix syslog formats 2020-11-27 23:38:40 -06:00
lpc54_i2c_master.h Fix some typos 2019-09-17 10:46:23 -06:00
lpc54_idle.c arch/: Trivial typos, mostly "their is" to "there is" 2020-09-09 14:09:43 -04:00
lpc54_irq.c Run all .c and .h modified by this PR through nxstyle 2020-05-01 16:55:33 -03:00
lpc54_irq.h
lpc54_lcd.c arch/arm/src/lpc54xx/lpc54_lcd.c: Fix syslog formats 2020-11-27 23:38:40 -06:00
lpc54_lcd.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
lpc54_lowputc.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
lpc54_lowputc.h
lpc54_mpuinit.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
lpc54_mpuinit.h
lpc54_power.h
lpc54_reset.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc54_reset.h
lpc54_rng.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lpc54_rtc_lowerhalf.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc54_rtc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc54_rtc.h
lpc54_sdmmc.c sched/wdog: Remove MAX_WDOGPARMS and related stuff 2020-08-14 08:19:50 -06:00
lpc54_sdmmc.h Rename arch/arm/src/lpc54xx/chip to arch/arm/src/lpc54xx/hardware. 2019-05-24 13:39:49 -06:00
lpc54_serial.c arch/arm/src/lpc54xx/lpc54_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
lpc54_serial.h arch: serial: fix typos and run nxstyle 2020-10-31 15:39:50 +01:00
lpc54_spi_master.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc54_spi_master.h
lpc54_start.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
lpc54_start.h arch: Initialize idle thread stack information 2020-09-16 06:57:29 -07:00
lpc54_tickless.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc54_timerisr.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc54_usb0_ohci.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
lpc54_usb0_ohci.h configs/lpcxpresso-lpc54628: Update a README.txt. 2019-05-08 10:32:10 -06:00
lpc54_userspace.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
lpc54_userspace.h
lpc54_wwdt.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc54_wwdt.h Rename arch/arm/src/lpc54xx/chip to arch/arm/src/lpc54xx/hardware. 2019-05-24 13:39:49 -06:00
lpc546x_enableclk.h arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc546x_power.h arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
lpc546x_reset.h Rename arch/arm/src/lpc54xx/chip to arch/arm/src/lpc54xx/hardware. 2019-05-24 13:39:49 -06:00
Make.defs build: Remove the empty variable assignment 2020-05-24 08:24:13 -06:00