From: Akhil Goyal <akhil.goyal@nxp.com>
To: Anoob Joseph <anoobj@marvell.com>,
Pablo de Lara <pablo.de.lara.guarch@intel.com>,
Thomas Monjalon <thomas@monjalon.net>
Cc: Sunila Sahu <ssahu@marvell.com>, Jerin Jacob <jerinj@marvell.com>,
Narayana Prasad <pathreya@marvell.com>,
Fiona Trahe <fiona.trahe@intel.com>,
Kanaka Durga Kotamarthy <kkotamarthy@marvell.com>,
Shally Verma <shallyv@marvell.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH 4/6] crypto/octeontx2: add asymmetric in enqueue/dequeue ops
Date: Tue, 1 Oct 2019 14:11:36 +0000 [thread overview]
Message-ID: <VE1PR04MB6639570D47EA8DA81E8196A8E69D0@VE1PR04MB6639.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <1568042799-25982-5-git-send-email-anoobj@marvell.com>
Hi Anoob,
> static __rte_always_inline int __hot
> otx2_cpt_enqueue_sym(struct otx2_cpt_qp *qp, struct rte_crypto_op *op,
> struct pending_queue *pend_q)
> @@ -488,7 +560,9 @@ otx2_cpt_enqueue_burst(void *qptr, struct
> rte_crypto_op **ops, uint16_t nb_ops)
>
> for (count = 0; count < nb_ops; count++) {
> op = ops[count];
> - if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION)
> + if (op->type == RTE_CRYPTO_OP_TYPE_ASYMMETRIC)
> + ret = otx2_cpt_enqueue_asym(qp, op, pend_q);
> + else if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION)
> ret = otx2_cpt_enqueue_sym(qp, op, pend_q);
> else if (op->sess_type == RTE_CRYPTO_OP_SESSIONLESS)
> ret = otx2_cpt_enqueue_sym_sessless(qp, op, pend_q);
Do you support session less in asym case? If not, can we add a check here.
next prev parent reply other threads:[~2019-10-01 14:11 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-09 15:26 [dpdk-dev] [PATCH 0/6] add asymmetric support in crypto_octeontx2 PMD Anoob Joseph
2019-09-09 15:26 ` [dpdk-dev] [PATCH 1/6] crypto/octeontx2: add RSA and modexp asym capabilities Anoob Joseph
2019-09-09 15:26 ` [dpdk-dev] [PATCH 2/6] crypto/octeontx2: allocate memory for asymmetric operation Anoob Joseph
2019-09-09 15:26 ` [dpdk-dev] [PATCH 3/6] crypto/octeontx2: add asymmetric session operations Anoob Joseph
2019-09-09 15:26 ` [dpdk-dev] [PATCH 4/6] crypto/octeontx2: add asymmetric in enqueue/dequeue ops Anoob Joseph
2019-10-01 14:11 ` Akhil Goyal [this message]
2019-10-02 10:55 ` Anoob Joseph
2019-09-09 15:26 ` [dpdk-dev] [PATCH 5/6] app/test: register octeontx2 PMD to asym testsuite Anoob Joseph
2019-10-01 14:13 ` Akhil Goyal
2019-10-02 10:52 ` Anoob Joseph
2019-09-09 15:26 ` [dpdk-dev] [PATCH 6/6] doc: add documentation for OCTEON TX2 crypto asym support Anoob Joseph
2019-09-10 4:13 ` Jerin Jacob Kollanukkaran
2019-09-10 6:12 ` Anoob Joseph
2019-09-10 6:30 ` Thomas Monjalon
2019-09-10 11:33 ` Anoob Joseph
2019-09-10 11:39 ` Akhil Goyal
2019-09-10 12:23 ` Anoob Joseph
2019-09-10 11:41 ` Thomas Monjalon
2019-09-09 16:25 ` [dpdk-dev] [PATCH 0/6] add asymmetric support in crypto_octeontx2 PMD Shally Verma
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=VE1PR04MB6639570D47EA8DA81E8196A8E69D0@VE1PR04MB6639.eurprd04.prod.outlook.com \
--to=akhil.goyal@nxp.com \
--cc=anoobj@marvell.com \
--cc=dev@dpdk.org \
--cc=fiona.trahe@intel.com \
--cc=jerinj@marvell.com \
--cc=kkotamarthy@marvell.com \
--cc=pablo.de.lara.guarch@intel.com \
--cc=pathreya@marvell.com \
--cc=shallyv@marvell.com \
--cc=ssahu@marvell.com \
--cc=thomas@monjalon.net \
/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;
as well as URLs for NNTP newsgroup(s).