Re: Advertise maximum number of sg supported by driver in single request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 14, 2020 at 03:23:30PM +0530, Ayush Sawal wrote:
> Hi all,
> 
> The hardware crypto drivers have a limit on max number of sgs they can
> handle per crypto request.If data size in one crypto request is
> huge,hardware crypto driver may not be able to send the request in single
> shot to hardware and end up using fallback to software.
> 
> Does it make sense to have a new API for crypto drivers using that drivers
> can advertise the max number of sg it can handle in one crypto request?
> 
> and then  crypto framework may also have to include the similar API which
> crypto framework user can use while forming the crypto request .
> 
> Does this implementation make sense?

What is the actual limit? Are you running into this limit with
real-life requests?

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux