Page MenuHomeFreeBSD

OpenCrypto: Convert sessions to pointers instead of integers
AbandonedPublic

Authored by cem on Jul 11 2018, 6:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 1:08 AM
Unknown Object (File)
Oct 16 2024, 11:53 PM
Unknown Object (File)
Sep 30 2024, 10:55 PM
Unknown Object (File)
Sep 8 2024, 6:44 AM
Unknown Object (File)
Sep 7 2024, 11:39 AM
Unknown Object (File)
Sep 4 2024, 7:03 PM
Unknown Object (File)
Sep 4 2024, 5:17 PM
Unknown Object (File)
Aug 31 2024, 5:23 PM
Subscribers
None

Details

Reviewers
jhb
Summary

Track session objects in the framework, and pass pointers between the
framework (OCF) and drivers. Avoid lots of redundancy and complexity in
individual drivers.

Inspired by
https://lists.freebsd.org/pipermail/freebsd-arch/2018-January/018835.html .

Test Plan

Proof of concept conversion to pointer sessions owned by OCF, instead of individual drivers.

I haven't converted the bulk of the drivers yet, and these just compile — have not tested yet. Looking for feedback on the general approach before I go bulk converting.

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 18021
Build 17773: arc lint + arc unit