[RESEND PATCH v3 6/9] net/tcp: improve tcp framework, use better state machine

Simon Glass sjg at chromium.org
Sat Aug 17 17:58:23 CEST 2024


Hi Mikhail,

On Wed, 14 Aug 2024 at 04:32, Mikhail Kshevetskiy
<mikhail.kshevetskiy at iopsys.eu> wrote:
>
> Changes:
>  * Fix initial send sequence always zero issue
>  * Use state machine close to RFC 9293. This should make TCP
>    transfers more reliable (now we can upload a huge array
>    of data from the board to external server)
>  * Improve TCP framework a lot. This should make tcp client
>    code much more simple.
>  * rewrite wget with new tcp stack
>  * rewrite fastboot_tcp with new tcp stack
>
> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy at iopsys.eu>
> ---
>  include/net/tcp.h  | 171 +++++++--
>  include/net/wget.h |   8 -
>  net/fastboot_tcp.c | 190 +++++-----
>  net/net.c          |   4 +
>  net/tcp.c          | 837 ++++++++++++++++++++++++++++++++++-----------
>  net/wget.c         | 460 +++++++------------------
>  6 files changed, 992 insertions(+), 678 deletions(-)

Is it possible to split this patch up a bit?

Regards,
Simon


More information about the U-Boot mailing list