Page MenuHomeFreeBSD

ktls: Capture initial tls seqno at time offload is initiated
ClosedPublic

Authored by gallatin on Dec 17 2025, 8:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 14, 4:18 AM
Unknown Object (File)
Wed, Jan 14, 1:39 AM
Unknown Object (File)
Mon, Jan 12, 10:25 AM
Unknown Object (File)
Sat, Jan 10, 3:09 PM
Unknown Object (File)
Fri, Jan 9, 2:02 AM
Unknown Object (File)
Tue, Jan 6, 10:32 AM
Unknown Object (File)
Sun, Jan 4, 10:42 AM
Unknown Object (File)
Fri, Jan 2, 9:43 PM
Subscribers

Details

Summary

Some drivers want the TLS seqno when offload starts. Capture this for them by (ab)using the tls next_seqno field.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Maybe to make it clearer we can change the struct to use a union of next_seqno and initial_seqno which won't change the ABI but will let us document it in the header and be more clear about the intent?

added union for next_seqno / initial offload seqno to provide a better description & preserve ABI, as suggested by @jhb

In D54275#1240636, @jhb wrote:

Maybe to make it clearer we can change the struct to use a union of next_seqno and initial_seqno which won't change the ABI but will let us document it in the header and be more clear about the intent?

Good idea.. Just updated the diff to do that.

This revision was not accepted when it landed; it landed in state Needs Review.Dec 21 2025, 2:47 PM
This revision was automatically updated to reflect the committed changes.