These routines are similar to crypto_getreq() and crypto_freereq()
but operate on caller-supplied storage instead of allocating crypto
requests from a UMA zone.
Details
Details
- Reviewers
markj gallatin jmg - Group Reviewers
manpages - Commits
- rS363262: Add crypto_initreq() and crypto_destroyreq().
- used this with some KTLS performance testing
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 32365 Build 29846: arc lint + arc unit
Event Timeline
Comment Actions
Added @asomers since Alan's been looking at GELI stuff. One of the things I changed in the OCF rework was to make GELI use crypto_getreq instead of preallocating space for the crypto requests along with other data it was already allocating. That part could be reverted now to using this API instead and doing fewer allocations. (It's still better than the old OCF bits that needed the crd's as well as the crp).
sys/opencrypto/crypto.c | ||
---|---|---|
1796 | Oof, this is an old bug from when I added the 'how' flag to support M_NOWAIT. |