Skip to content

r8152: Support partial reads for jumbo frame ethernet packets

The RealTek R8153 dongle will only send individual USB packets up to a certain maximum packet size (not quite clear what this is, possibly 2KB). Usually this seems to be enough for our TFTP needs, but depending on TFTP server configuration and network path MTU they may occasionally get bigger. This patch makes sure the driver will not choke if it receives a 9KB jumbo frame in small pieces.

BRANCH=None BUG=b:159263757 TEST=ODM said this fixes their problem.

Signed-off-by: Julius Werner jwerner@chromium.org Change-Id: I9c56de5c15ab6b2017a9a3ee8fa907f28737c0af Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/depthcharge/+/2261078 Reviewed-by: Aaron Durbin adurbin@google.com

Merge request reports