Page MenuHomeFreeBSD

KTLS: Move OCF function pointers out of ktls_session.
ClosedPublic

Authored by jhb on Apr 20 2022, 9:09 PM.
Tags
None
Referenced Files
F137754616: D35011.diff
Tue, Nov 25, 1:01 PM
F137685772: D35011.id105333.diff
Mon, Nov 24, 10:01 PM
F137668480: D35011.id105333.diff
Mon, Nov 24, 8:37 PM
F137668476: D35011.id105314.diff
Mon, Nov 24, 8:37 PM
F137668462: D35011.id105241.diff
Mon, Nov 24, 8:37 PM
F137668458: D35011.id.diff
Mon, Nov 24, 8:37 PM
F137668234: D35011.diff
Mon, Nov 24, 8:35 PM
Unknown Object (File)
Fri, Nov 7, 12:53 AM
Subscribers

Details

Summary

Instead, create a switch structure private to ktls_ocf.c and store a
pointer to the switch in the ocf_session. This will permit adding an
additional function pointer needed for NIC TLS RX without further
bloating ktls_session.

Sponsored by: Netflix

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45311
Build 42199: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Apr 20 2022, 9:09 PM
jhb retitled this revision from Move OCF function pointers out of ktls_session. to KTLS: Move OCF function pointers out of ktls_session..Apr 20 2022, 9:14 PM

Maybe use "const". Else looks good!

sys/opencrypto/ktls_ocf.c
63

const struct ktls_ocf_sw *sw; ??

552

static const ?

This revision is now accepted and ready to land.Apr 21 2022, 6:00 AM
jhb marked 2 inline comments as done.Apr 21 2022, 6:06 PM
This revision now requires review to proceed.Apr 21 2022, 8:47 PM
This revision is now accepted and ready to land.Apr 22 2022, 6:38 AM