Skip to content
Commit 4f72df46 authored by Eric Ackermann's avatar Eric Ackermann Committed by Anas Nashif
Browse files

net: Support partial checksum offloading



The Xilinx AXI Ethernet subsystem is capable of RX/Tx checksum
offloading. While it supports computing IP and UDP/TCP checksums, it
does not support computing ICMP checksums and only computes IP checksums
for ICMP messages. Thus, this patch adds an additional configuration for
ethernet drivers that indicates for which protocols checksum offloading
is (to be) supported. This flag is then considered by the IP subsystem
in determining when flags need to be computed in software.

Signed-off-by: default avatarEric Ackermann <eric.ackermann@cispa.de>
parent f6fdfd4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment