Giovanni Cabiddu <giovanni.cabiddu@xxxxxxxxx> wrote: > When a request is synchronous, it is more efficient to submit it and > poll for a response without going through the interrupt path. Can you quantify how polling is more efficient? Does it actually make an observable difference? > This patch adds logic in the transport layer to poll the response ring > and enables polling for compression in the QAT driver. > > This is an initial and not complete implementation. The reason why it > has been sent as RFC is to discuss about ways to mark a request as > synchronous from the acomp APIs. What existing (or future) users would benefit from this? You could poll based on a request flag, e.g., the existing MAY_SLEEP flag. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt