On Fri, Feb 14, 2020 at 01:25:50AM +0000, Iuliana Prodan wrote:
Given your suggestion, I’m thinking of implementing do_one_request, in
the driver, to return -IN_PROGRESS if the hw can enqueue more and -EBUSY
if otherwise (solution 1). But, this implies to update all the drivers
that use crypto-engine (something I wouldn’t mind doing, but I don’t
have the hw to test it).
We could always maintain a legacy interface for existing drivers
until they are all converted.
Thanks,
--
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt