CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/10/07 18:06:32
Modified files:
sys/net : if_rport.c
Log message:
implement "checksum offload" between rport pairs.
this allows the kernel to skip ip/tcp/udp checksum calculation for
packets between rdomains.
rport interfaces advertise checksum offload capabilities to the
stack, so the stack will set CSUM_OUT mbuf flags rather than do the
checksum calculation for packets being transmitted on an port
interface. when these packets are sent back into the stack by the
partner rport interface, the CSUM_OUT flags get mapped to equivalent
CSUM_IN_OK flags. this is modelled on how lo(4) does the same thing.