netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* stmmac: zero udp checksum
@ 2021-04-05 12:53 Julian Labus
  2021-04-05 13:27 ` Andrew Lunn
  0 siblings, 1 reply; 7+ messages in thread
From: Julian Labus @ 2021-04-05 12:53 UTC (permalink / raw)
  To: netdev; +Cc: mschiffer

Hi all,

in our community mesh network we recently discovered that a TP-Link 
Archer C2600 device is unable to receive IPv6 UDP packets with a zero 
checksum when RX checksum offloading is enabled. The device uses 
ipq806x-gmac-dwmac for its ethernet ports.

According to https://tools.ietf.org/html/rfc2460#section-8.1 this sounds 
like correct behavior as it says a UDP checksum must not be zero for 
IPv6 packets. But this definition was relaxed in 
https://tools.ietf.org/html/rfc6935#section-5 to allow zero checksums in 
tunneling protocols like VXLAN where we discovered the problem.

Can the behavior of the stmmac driver be changed to meet RFC6935 or 
would it be possible to make the (RX) Checksum Offloading Engine 
configurable via a device tree property to disable it in environments 
were it causes problems?

Best regards,
Julian Labus

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-20 12:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-05 12:53 stmmac: zero udp checksum Julian Labus
2021-04-05 13:27 ` Andrew Lunn
2021-04-05 16:11   ` Julian Labus
2021-04-05 16:42     ` Andrew Lunn
2021-04-05 19:30       ` Julian Labus
2021-04-05 23:03       ` Jakub Kicinski
2021-05-20 12:18         ` Julian Labus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).