Page MenuHomeFreeBSD

Add access to TOS(ECN bits) to the TCP syncache
ClosedPublic

Authored by rscheff on Nov 18 2019, 3:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 25, 12:20 AM
Unknown Object (File)
Fri, Jan 23, 8:12 AM
Unknown Object (File)
Fri, Jan 16, 3:29 PM
Unknown Object (File)
Jan 11 2026, 1:21 PM
Unknown Object (File)
Jan 8 2026, 6:47 AM
Unknown Object (File)
Jan 6 2026, 2:31 PM
Unknown Object (File)
Dec 29 2025, 6:41 PM
Unknown Object (File)
Dec 10 2025, 1:31 PM
Subscribers

Details

Summary

In order for the TCP Handshake to support ECN++,
and further ECN-related improvements, the ECN bits
need to be exposed to the TCP Syncache.

This change is a minimal modification to the
function headers, without any functional change.

The exception to this is the T4 tcp offload driver,
which also has a deep integration with TCP, and
the IP TOS byte (DiffServ + ECN bits) need to be
extracted there already.

A later patch will add the actual processing of
these bits in the syncache, in order to support
AccECN and/or SCE.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable