]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: ravb: Disable IP header TX checksum offloading
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Tue, 15 Oct 2024 13:36:30 +0000 (14:36 +0100)
committerAndrew Lunn <andrew@lunn.ch>
Fri, 18 Oct 2024 02:24:24 +0000 (21:24 -0500)
commit4574ba5b711d7f7968c116521ef58d46fd4f89b1
tree33e1bf8364db8483dc6655114a8244ea042de222
parentfaacdbba01802c89f7043f9a47ad442c1195d307
net: ravb: Disable IP header TX checksum offloading

For IPv4 packets, the header checksum will always be calculated in software
in the TX path (Documentation/networking/checksum-offloads.rst says "No
offloading of the IP header checksum is performed; it is always done in
software.") so there is no advantage in asking the hardware to also
calculate this checksum.

Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
drivers/net/ethernet/renesas/ravb.h