From: Alok Makhariya Date: Tue, 16 Jan 2018 11:08:17 +0000 (+0530) Subject: crypto/dpaa_sec: retire fq while detaching with session X-Git-Tag: spdx-start~105 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b4053c4b8f7d9d2162b36a6f5271073d4b623713;p=dpdk.git crypto/dpaa_sec: retire fq while detaching with session Signed-off-by: Alok Makhariya Acked-by: Akhil Goyal --- diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c index 66828b5d0f..f2f9328d1f 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; }