Searched hist:108990 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.0-release/sys/opencrypto/
H A Dcrypto.cdiff 108990 Thu Jan 09 03:39:04 MST 2003 sam Invoke the driver directly when a request is submitted via crypto_dispatch
or crypto_kdispatch unless the driver is currently blocked. This eliminates
the context switch to the dispatch thread for virtually all requests.

Note that this change means that for software crypto drivers the caller
will now block until the request is completed and the callback is dispatched
to the callback thread (h/w drivers will typically just dispatch the op to
the device and return quickly). If this is an issue we can either implement
a non-blocking interface in the s/w crypto driver or use either the
"no delay" flag in the crypto request or the "software driver" capability
flag to control what to do.

Sponsored by: Vernier Networks

Completed in 108 milliseconds