On 1/30/26 1:29 AM, Jonas Karlman wrote:
The commit 05278af8b3df ("eth: asix88179: packet drop when receiving
large fragmented packets") adjusted the URB buffer size to allow large
fragmented packets. However, this change result in use of a large URB
buffer size for slow speed connections, e.g. 10/100M use 26 KiB.
Using a ASIX AX88179B USB 3.0 or ASIX AX88772E USB 2.0 Ethernet adapter
on a Rockchip RK3528 with a DWC2 USB controller this large URB buffer
size result in invalid rx_hdr and result in unusable Ethernet.
The data read back from AX_RX_BULKIN_QCTRL after being configured also
does not match the values in the AX88179_BULKIN_SIZE array.
Change to use a fixed URB buffer size of 16 KiB to fix use of Ethernet,
Why 16 kiB and not something else ?
Is this a USB controller related problem/limitation ? Maybe the DWC2
driver needs fixing instead, to handler larger buffers ?