DPDK patches and discussions
 help / color / mirror / Atom feed
* Re: [dpdk-dev] [PATCH] compress/qat: fixed data-plane return from QAT PMD
@ 2019-04-16 14:59 Akhil Goyal
  2019-04-16 14:59 ` Akhil Goyal
  0 siblings, 1 reply; 6+ messages in thread
From: Akhil Goyal @ 2019-04-16 14:59 UTC (permalink / raw)
  To: Jozwiak, TomaszX, Trahe, Fiona, dev

> 
> > -----Original Message-----
> > From: Trahe, Fiona
> > Sent: Monday, April 8, 2019 6:16 PM
> > To: dev@dpdk.org
> > Cc: akhil.goyal@nxp.com; Jozwiak, TomaszX <tomaszx.jozwiak@intel.com>;
> > Trahe, Fiona <fiona.trahe@intel.com>
> > Subject: [PATCH] compress/qat: fixed data-plane return from QAT PMD
> >
> > Fixes: 62ada2182a46 ("compress/qat: add dynamic sgl allocation")
> >
> > Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
> > ---
> 
> 
> Acked-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
Applied to dpdk-next-crypto

Thanks.

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [dpdk-dev] [PATCH] compress/qat: fixed data-plane return from QAT PMD
@ 2019-04-08 16:16 Fiona Trahe
  2019-04-08 16:16 ` Fiona Trahe
  2019-04-09  7:16 ` Jozwiak, TomaszX
  0 siblings, 2 replies; 6+ messages in thread
From: Fiona Trahe @ 2019-04-08 16:16 UTC (permalink / raw)
  To: dev; +Cc: akhil.goyal, tomaszx.jozwiak, Fiona Trahe

Fixes: 62ada2182a46 ("compress/qat: add dynamic sgl allocation")

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
---
 drivers/compress/qat/qat_comp.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/compress/qat/qat_comp.c b/drivers/compress/qat/qat_comp.c
index 2fadb02..dd0fe1b 100644
--- a/drivers/compress/qat/qat_comp.c
+++ b/drivers/compress/qat/qat_comp.c
@@ -93,7 +93,7 @@
 				QAT_DP_LOG(ERR, "QAT PMD can't allocate memory"
 					   " for %d elements of SGL",
 					   op->m_src->nb_segs);
-				op->status = RTE_COMP_OP_STATUS_INVALID_ARGS;
+				op->status = RTE_COMP_OP_STATUS_ERROR;
 				return -ENOMEM;
 			}
 			/* new SGL is valid now */
@@ -128,8 +128,8 @@
 				QAT_DP_LOG(ERR, "QAT PMD can't allocate memory"
 					   " for %d elements of SGL",
 					   op->m_dst->nb_segs);
-				op->status = RTE_COMP_OP_STATUS_INVALID_ARGS;
-				return -EINVAL;
+				op->status = RTE_COMP_OP_STATUS_ERROR;
+				return -ENOMEM;
 			}
 			/* new SGL is valid now */
 			cookie->qat_sgl_dst_d = (struct qat_sgl *)tmp;
-- 
1.7.0.7

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

end of thread, other threads:[~2019-04-16 14:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-16 14:59 [dpdk-dev] [PATCH] compress/qat: fixed data-plane return from QAT PMD Akhil Goyal
2019-04-16 14:59 ` Akhil Goyal
  -- strict thread matches above, loose matches on Subject: below --
2019-04-08 16:16 Fiona Trahe
2019-04-08 16:16 ` Fiona Trahe
2019-04-09  7:16 ` Jozwiak, TomaszX
2019-04-09  7:16   ` Jozwiak, TomaszX

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