Page MenuHomeFreeBSD

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

Authored by gallatin on Wed, Dec 17, 8:00 PM.
Tags
None
Referenced Files
F140639780: D54275.id168345.diff
Fri, Dec 26, 7:11 AM
F140611068: D54275.id168345.diff
Thu, Dec 25, 10:50 PM
Unknown Object (File)
Sat, Dec 20, 9:07 PM
Unknown Object (File)
Sat, Dec 20, 10:11 AM
Unknown Object (File)
Fri, Dec 19, 7:14 PM
Unknown Object (File)
Thu, Dec 18, 5:11 AM
Unknown Object (File)
Thu, Dec 18, 1:21 AM
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.Sun, Dec 21, 2:47 PM
This revision was automatically updated to reflect the committed changes.