Page MenuHomeFreeBSD

dwc: add receive checksum offload for IPv6
ClosedPublic

Authored by tuexen on Jan 17 2026, 11:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 15, 7:50 AM
Unknown Object (File)
Fri, Mar 13, 8:39 PM
Unknown Object (File)
Wed, Mar 11, 2:03 PM
Unknown Object (File)
Mon, Mar 9, 2:44 PM
Unknown Object (File)
Sat, Mar 7, 1:05 PM
Unknown Object (File)
Tue, Feb 24, 2:12 PM
Unknown Object (File)
Mon, Feb 23, 7:08 AM
Unknown Object (File)
Mon, Feb 23, 6:26 AM
Subscribers

Details

Summary

This patch adds support for receive checksum offload for TCP/IPv6 and UDP/IPv6. Since receive checksum offload can't be configured separately for IPv4 and IPv6, IFCAP_RXCSUM and IFCAP_RXCSUM_IPV6 can't be changed independently.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks good to me.

Since the interface does receive checksum offloading for TCP and UDP over IPv6 already, adding IFCAP_RXCSUM_IPV6 has no functional change. Instead, this lets the interface better report what it does.

Coupling IFCAP_RXCSUM and IFCAP_RXCSUM_IPV6 makes sense since the interface seems to do both or nothing.

sys/dev/dwc/if_dwc.c
616–617

After D54754 has been committed, IFCAP_RXCSUM_IPV6 and IFCAP_TXCSUM_IPV6 can be exchanged by IFCAP_HWCSUM_IPV6.

This revision is now accepted and ready to land.Jan 17 2026, 1:54 PM
tuexen added inline comments.
sys/dev/dwc/if_dwc.c
616–617

After D54754 has been committed, IFCAP_RXCSUM_IPV6 and IFCAP_TXCSUM_IPV6 can be exchanged by IFCAP_HWCSUM_IPV6.

That is the plan...

This revision was automatically updated to reflect the committed changes.
tuexen marked an inline comment as done.