[PATCH 2/2] eth: asix88179: Fix drop of large fragmented packets

Khoa Hoang admin at khoahoang.com
Mon Oct 28 00:14:52 CET 2024


---- On Sun, 27 Oct 2024 07:43:26 -0700 Marek Vasut  wrote ---

 > On 10/27/24 6:12 AM, Khoa Hoang wrote: 
 > > When receiving large fragmented packets, the ASIX 88179A can drop 
 > > packets due to an insufficient URB buffer size. This change adjusts 
 > > the URB buffer size to match the configuration used in the Linux 
 > > kernel, resolving packet drop issues observed when performing TFTP 
 > > with a 16KB block size. 
 > Is there a test case ? Can you please include it in the commit message ? 
 >  
 > Thank you 
 > 
To reproduce this issue, set the following configurations in the config file:

CONFIG_IP_DEFRAG=y
CONFIG_TFTP_BLOCKSIZE=16352
CONFIG_TFTP_WINDOWSIZE=1468

Then, run tftpboot, and it will fail to load with a timeout error:
=> tftpboot zImage
Using axg0 device
TFTP from server 192.168.128.130; our IP address is 192.168.128.244
Filename 'zImage'.
Load address: 0x20000000
Loading: ##T T T T T T
Retry count exceeded; starting again

I’ll include this information in the commit message in the next version.


More information about the U-Boot mailing list