From: Dave Watson <davejwatson@fb.com>
To: Vakul Garg <vakul.garg@nxp.com>
Cc: <netdev@vger.kernel.org>, <borisp@mellanox.com>,
<aviadye@mellanox.com>, <davem@davemloft.net>
Subject: Re: [PATCH net-next v2 1/1] net/tls: Combined memory allocation for decryption request
Date: Thu, 9 Aug 2018 09:25:32 -0700 [thread overview]
Message-ID: <20180809162532.GB59729@davejwatson-mba.local> (raw)
In-Reply-To: <20180808232623.18075-2-vakul.garg@nxp.com>
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@nxp.com>
Reviewed-by: Dave Watson <davejwatson@fb.com>
Thanks, looks good to me now.
next prev parent reply other threads:[~2018-08-09 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-08 23:26 [PATCH net-next v2 0/1] net/tls: Combined memory allocation for decryption request Vakul Garg
2018-08-08 23:26 ` [PATCH net-next v2 1/1] " Vakul Garg
2018-08-09 16:25 ` Dave Watson [this message]
2018-08-10 10:02 ` Vakul Garg
2018-08-09 21:23 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180809162532.GB59729@davejwatson-mba.local \
--to=davejwatson@fb.com \
--cc=aviadye@mellanox.com \
--cc=borisp@mellanox.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=vakul.garg@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox