[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #64638] "iperf -r" does not work for all "-M"
From: |
Hardy Griech |
Subject: |
[lwip-devel] [bug #64638] "iperf -r" does not work for all "-M" |
Date: |
Fri, 8 Sep 2023 14:25:40 -0400 (EDT) |
URL:
<https://savannah.nongnu.org/bugs/?64638>
Summary: "iperf -r" does not work for all "-M"
Group: lwIP - A Lightweight TCP/IP stack
Submitter: rgrr
Submitted: Fri 08 Sep 2023 06:25:38 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: git head
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 08 Sep 2023 06:25:38 PM UTC By: Hardy Griech <rgrr>
This is true at least for the combination lwIP/TinyUSB.
On my Linux host, "iperf -r" did not work for small values of "-M <mss>".
Reason was that the loop in lwiperf_tcp_client_send_more() is to restrictive.
It aborts when "txlen >= (TCP_MSS / 2)".
For my setup it is needed, that this has to be changed to "txlen != 0",
because otherwise there is under described circumstances no transmission and
thus no lwiperf_tcp_client_sent() which retriggers send_more.
Should I provide the patch?
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?64638>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [bug #64638] "iperf -r" does not work for all "-M",
Hardy Griech <=