On 11/8/24 6:51 AM, Khoa Hoang wrote:
The ASIX 88179A drops packets when receiving fragmented packets larger
than the MTU size due to an insufficient URB buffer size. This change
synchronizes the URB buffer size with the configuration used in the
Linux kernel, resolving the packet drop issue.

To reproduce the issue, set the following configuration:
     CONFIG_IP_DEFRAG=y
     CONFIG_TFTP_BLOCKSIZE=16352

Then, run the `tftp` command. It will fail with a timeout error:

     U-Boot> tftp zero.bin
     Using ax88179_eth device
     TFTP from server 10.0.0.196; our IP address is 10.0.0.18
     Filename 'zero.bin'
     Load address: 0x10000000
     Loading: T T T T T T T T T T T
     Retry count exceeded; starting again

Signed-off-by: Khoa Hoang <ad...@khoahoang.com>
---
  drivers/usb/eth/asix88179.c | 12 ++++++------
  1 file changed, 6 insertions(+), 6 deletions(-)
Reviewed-by: Marek Vasut <ma...@denx.de>

Thanks !

Reply via email to