lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <18cfef9e-2ae7-44b6-bfd6-2fe0bba7fbb5@lunn.ch>
Date: Fri, 6 Sep 2024 13:48:22 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Jacky Chou <jacky_chou@...eedtech.com>
Cc: "davem@...emloft.net" <davem@...emloft.net>,
	"edumazet@...gle.com" <edumazet@...gle.com>,
	"kuba@...nel.org" <kuba@...nel.org>,
	"pabeni@...hat.com" <pabeni@...hat.com>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: 回覆: [PATCH] net: ftgmac100:
 Enable TX interrupt to avoid TX timeout

On Fri, Sep 06, 2024 at 01:57:56AM +0000, Jacky Chou wrote:
> Hello,
> 
> When I am verifying iperf3 over UDP, the network hangs.
> Like the log below.
> 
> root# iperf3 -c 192.168.100.100 -i1 -t10 -u -b0
> Connecting to host 192.168.100.100, port 5201
> [  4] local 192.168.100.101 port 35773 connected to 192.168.100.100 port 5201
> [ ID] Interval           Transfer     Bandwidth       Total Datagrams
> [  4]   0.00-20.42  sec   160 KBytes  64.2 Kbits/sec  20
> [  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
> [  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
> [  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
> [  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
> [  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
> [  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
> [  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
> [  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
> [  4]  20.42-20.42  sec  0.00 Bytes  0.00 bits/sec  0
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bandwidth       Jitter    Lost/Total
> Datagrams
> [  4]   0.00-20.42  sec   160 KBytes  64.2 Kbits/sec  0.000 ms  0/20 (0%)
> [  4] Sent 20 datagrams
> iperf3: error - the server has terminated The network topology is FTGMAC
> connects directly to a PC. UDP does not need to wait for ACK, unlike TCP.
> Therefore, FTGMAC needs to enable TX interrupt to release TX resources instead
> of waiting for the RX interrupt.

Please don't top post.

So this does seem like a fix. Please read through:

https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html

You need a Fixes: tag, CC: stable tag, use the correct tree, etc.

    Andrew

---
pw-bot: cr

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ