DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] crypto/dpaa: retire fq while detaching with session
@ 2018-01-16 11:08 akhil.goyal
  2018-01-16 17:15 ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 2+ messages in thread
From: akhil.goyal @ 2018-01-16 11:08 UTC (permalink / raw)
  To: dev; +Cc: pablo.de.lara.guarch, hemant.agrawal, Alok Makhariya

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] crypto/dpaa: retire fq while detaching with session
  2018-01-16 11:08 [dpdk-dev] [PATCH] crypto/dpaa: retire fq while detaching with session akhil.goyal
@ 2018-01-16 17:15 ` De Lara Guarch, Pablo
  0 siblings, 0 replies; 2+ messages in thread
From: De Lara Guarch, Pablo @ 2018-01-16 17:15 UTC (permalink / raw)
  To: akhil.goyal, dev; +Cc: hemant.agrawal, Alok Makhariya



> -----Original Message-----
> From: akhil.goyal@nxp.com [mailto:akhil.goyal@nxp.com]
> Sent: Tuesday, January 16, 2018 11:08 AM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>;
> hemant.agrawal@nxp.com; Alok Makhariya <alok.makhariya@nxp.com>
> Subject: [PATCH] crypto/dpaa: retire fq while detaching with session
> 
> From: Alok Makhariya <alok.makhariya@nxp.com>
> 
> Signed-off-by: Alok Makhariya <alok.makhariya@nxp.com>
> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>

Applied to dpdk-next-crypto.
Thanks,

Pablo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-16 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-16 11:08 [dpdk-dev] [PATCH] crypto/dpaa: retire fq while detaching with session akhil.goyal
2018-01-16 17:15 ` De Lara Guarch, Pablo

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).