[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180809162532.GB59729@davejwatson-mba.local>
Date: Thu, 9 Aug 2018 09:25:32 -0700
From: Dave Watson <davejwatson@...com>
To: Vakul Garg <vakul.garg@....com>
CC: <netdev@...r.kernel.org>, <borisp@...lanox.com>,
<aviadye@...lanox.com>, <davem@...emloft.net>
Subject: Re: [PATCH net-next v2 1/1] net/tls: Combined memory allocation for
decryption request
On 08/09/18 04:56 AM, Vakul Garg wrote:
> For preparing decryption request, several memory chunks are required
> (aead_req, sgin, sgout, iv, aad). For submitting the decrypt request to
> an accelerator, it is required that the buffers which are read by the
> accelerator must be dma-able and not come from stack. The buffers for
> aad and iv can be separately kmalloced each, but it is inefficient.
> This patch does a combined allocation for preparing decryption request
> and then segments into aead_req || sgin || sgout || iv || aad.
>
> Signed-off-by: Vakul Garg <vakul.garg@....com>
Reviewed-by: Dave Watson <davejwatson@...com>
Thanks, looks good to me now.
Powered by blists - more mailing lists