From: <akhil.goyal@nxp.com>
To: <dev@dpdk.org>
Cc: <pablo.de.lara.guarch@intel.com>, <hemant.agrawal@nxp.com>,
Alok Makhariya <alok.makhariya@nxp.com>
Subject: [dpdk-dev] [PATCH] crypto/dpaa: retire fq while detaching with session
Date: Tue, 16 Jan 2018 16:38:17 +0530 [thread overview]
Message-ID: <20180116110817.25078-1-akhil.goyal@nxp.com> (raw)
From: Alok Makhariya <alok.makhariya@nxp.com>
Signed-off-by: Alok Makhariya <alok.makhariya@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
---
This patch is dependent on a patch which is already merged on net-next.
4b60b1e2f8a7 ("bus/dpaa: add support for static queues")
drivers/crypto/dpaa_sec/dpaa_sec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c
index d7b6f39..9b02c86 100644
--- a/drivers/crypto/dpaa_sec/dpaa_sec.c
+++ b/drivers/crypto/dpaa_sec/dpaa_sec.c
@@ -1248,6 +1248,8 @@ dpaa_sec_detach_rxq(struct dpaa_sec_dev_private *qi, struct qman_fq *fq)
for (i = 0; i < qi->max_nb_sessions; i++) {
if (&qi->inq[i] == fq) {
+ qman_retire_fq(fq, NULL);
+ qman_oos_fq(fq);
qi->inq_attach[i] = 0;
return 0;
}
--
2.9.3
next reply other threads:[~2018-01-16 11:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-16 11:08 akhil.goyal [this message]
2018-01-16 17:15 ` De Lara Guarch, Pablo
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=20180116110817.25078-1-akhil.goyal@nxp.com \
--to=akhil.goyal@nxp.com \
--cc=alok.makhariya@nxp.com \
--cc=dev@dpdk.org \
--cc=hemant.agrawal@nxp.com \
--cc=pablo.de.lara.guarch@intel.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;
as well as URLs for NNTP newsgroup(s).