From: Alok Makhariya <alok.makhar...@nxp.com> Signed-off-by: Alok Makhariya <alok.makhar...@nxp.com> Acked-by: Akhil Goyal <akhil.go...@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