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

Peter Robinson pbrobinson at gmail.com
Wed Aug 28 12:31:55 CEST 2024


On Fri, 23 Aug 2024 at 16:31, Mikhail Kshevetskiy
<mikhail.kshevetskiy at genexis.eu> wrote:
>
> Unfortunately no. This patch change the tcp state machine and
> corresponding logic.

That should be better described in the commit message.

>  I tried to split "initial send value is always zero" fix to a separate
> patch but failed.
> See the patch description in v4 (when it will be sent).
> On 17.08.2024 18:58, Simon Glass wrote:
>
> > 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