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)
Tue, Apr 23, 6:54 AM
Unknown Object (File)
Wed, Apr 10, 12:14 AM
Unknown Object (File)
Mon, Apr 8, 1:38 PM
Unknown Object (File)
Feb 6 2024, 2:43 PM
Unknown Object (File)
Jan 29 2024, 6:37 PM
Unknown Object (File)
Dec 20 2023, 2:17 AM
Unknown Object (File)
Dec 15 2023, 6:18 AM
Unknown Object (File)
Dec 9 2023, 10:47 AM
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