nuttx/arch/arm/src/sama5
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 implement system reset on SAMA5D27 2020-07-17 13:32:22 +01:00
chip.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
Kconfig support for SAMA5D27 SDMMC peripheral 2020-07-16 23:39:37 +01:00
Make.defs implement system reset on SAMA5D27 2020-07-17 13:32:22 +01:00
sam_adc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_adc.h Check return from nxsem_wait_uninterruptible() 2020-04-02 17:37:46 -06:00
sam_allocateheap.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
sam_boot.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_boot.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_can.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_can.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03: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 arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_config.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_dbgu.c arch/arm/src/sama5/sam_dbgu.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
sam_dbgu.h arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_dmac.c arch/arm/src/sama5/sam_dmac.c: Fix a syslog format 2020-12-05 08:13:32 -06:00
sam_dmac.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_ehci.c arch/arm/src/sama5/sam_ehci.c: Fix a syslog format 2020-12-05 08:13:32 -06:00
sam_emaca.c arch/netdev: try tcp timer in every txavail call 2020-12-18 14:16:11 +09:00
sam_emacb.c arch/netdev: try tcp timer in every txavail call 2020-12-18 14:16:11 +09:00
sam_ethernet.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
sam_ethernet.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_flexcom_serial.c serial: nxstyle fixes 2020-10-20 14:43:19 +08:00
sam_freerun.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_freerun.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_gf512.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_gf1024.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_gmac.c arch/netdev: try tcp timer in every txavail call 2020-12-18 14:16:11 +09:00
sam_hsmci_clkdiv.c support for SAMA5D27 SDMMC peripheral 2020-07-16 23:39:37 +01:00
sam_hsmci.c arch/arm/src/sama5/sam_hsmci.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
sam_hsmci.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_irq.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_irq.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_isi.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_isi.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_lcd.c arch/arm/src/sama5/sam_lcd.c: Fix a syslog format 2020-12-05 08:13:32 -06:00
sam_lcd.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -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_memories.c arch/arm/src/sama5/sam_memories.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
sam_memories.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_memorymap.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_memorymap.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_nand.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
sam_nand.h arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_ohci.c arch/arm/src/sama5/sam_ohci.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
sam_oneshot_lowerhalf.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_oneshot.c Fix typos in comments and documentation. 2020-03-16 20:01:11 -06:00
sam_oneshot.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_pck.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_pck.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_periphclks.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_pgalloc.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_pgalloc.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_pio.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_pio.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_pioirq.c support for SAMA5D27 SDMMC peripheral 2020-07-16 23:39:37 +01:00
sam_pmc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_pmc.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_pmecc.c Fix typos in comments and documentation (#750) 2020-04-08 06:45:35 -06:00
sam_pmecc.h Check return from nxsem_wait_uninterruptible() 2020-04-05 12:32:04 -03:00
sam_pwm.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_pwm.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03: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 Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_sckc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_sckc.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_sdmmc.c arch/arm/src/sama5/sam_sdmmc.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
sam_sdmmc.h support for SAMA5D27 SDMMC peripheral 2020-07-16 23:39:37 +01:00
sam_serial.c arch/arm/src/sama5/sam_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
sam_serial.h arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
sam_serialinit.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
sam_spi.c arch/arm/src/sama5/sam_spi.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
sam_spi.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_ssc.c arch/arm/src/sama5/sam_ssc.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
sam_ssc.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_systemreset.c implement system reset on SAMA5D27 2020-07-17 13:32:22 +01: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 support for SAMA5D27 SDMMC peripheral 2020-07-16 23:39:37 +01:00
sam_tickless.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_timerisr.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_trng.c Fix nxstyle warning 2020-10-20 01:45:06 -07:00
sam_trng.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_tsd.c arch/arm/src/sama5/sam_tsd.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
sam_tsd.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_twi.c arch/arm/src/sama5/sam_twi.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
sam_twi.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_udphs.c arch/arm/src/sama5/sam_udphs.c: Fix a syslog format 2020-12-05 08:13:32 -06:00
sam_udphs.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_usbhost.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_usbhost.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_wdt.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sam_wdt.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sam_xdmac.c arch/arm/src/sama5/sam_xdmac.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
sama5d2x_memorymap.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sama5d2x_periphclks.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sama5d2x_pio.c support for SAMA5D27 SDMMC peripheral 2020-07-16 23:39:37 +01:00
sama5d2x_pio.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sama5d3x4x_pio.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sama5d3x4x_pio.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sama5d3x_memorymap.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sama5d3x_periphclks.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sama5d4x_memorymap.c Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00
sama5d4x_periphclks.h Revert "Change SAMA5 files to have apache license headers:" 2020-03-07 08:47:48 -03:00