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

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

 



Hi Herbert,

Sorry for the late reply

On 15/01/2020 14:02:34 +0800, Herbert Xu wrote:

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?

The max data limit is 15 sgs where each sg contains data of mtu size .
we are running a netperf udp stream test over ipsec tunnel .The ipsec tunnel is established between two hosts which are directly connected

Thanks,

Ayush




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

  Powered by Linux