Problem with checksum offloading on RPi3 (PF + Jails involved)

Hans Petter Selasky hps at selasky.org
Tue Nov 3 08:46:12 UTC 2020


On 2020-11-03 09:19, Hans Petter Selasky wrote:
> It looks like smsc(4) uses the following RX format but I don't
> know actual RX format of H/W(no access to datasheet).
> 
> <---------------------------- actlen 
> -------------------------------------------------->
>                  <------------- pktlen ------------------------>
> rxhdr(4 bytes) | padding (2 bytes) | RX frame | FCS(4 bytes) | partial 
> checksum(2 bytes)

Hi,

I wonder if the checksum is zero, when not valid, and that we should 
check for this in the driver!

Can you try this patch?

Also enabling debugging in the SMSC driver would be useful.

--HPS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smsc.diff
Type: text/x-patch
Size: 2048 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20201103/ffc80559/attachment.bin>


More information about the freebsd-arm mailing list