nuttx/arch/arm/src/c5471
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
..
c5471_ethernet.c arch/netdev: try tcp timer in every txavail call 2020-12-18 14:16:11 +09:00
c5471_irq.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
c5471_lowputc.S arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
c5471_serial.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
c5471_timerisr.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
c5471_vectors.S arm, c5471: Refactor interrupt stack related code 2020-10-26 09:05:49 -07:00
c5471_watchdog.c arch/arm/src/c5471/c5471_watchdog.c: Fix syslog formats 2020-11-28 23:14:05 -06:00
chip.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
Kconfig Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
Make.defs arch/arm: Rename all up_*.S files to arm_*.S 2020-05-01 11:29:11 -03:00