* [PATCH] common/qat: fix overrun of qp config
@ 2021-11-12 12:01 Arek Kusztal
2021-11-12 14:03 ` Power, Ciara
0 siblings, 1 reply; 3+ messages in thread
From: Arek Kusztal @ 2021-11-12 12:01 UTC (permalink / raw)
To: dev; +Cc: gakhil, roy.fan.zhang, ciara.power, Arek Kusztal, przemyslawx.zegan
This commint fixes overrun of ring configuration
due to insufficient check.
Fixes: 4badfb0205f7 ("common/qat: fix queue pairs number")
Cc: przemyslawx.zegan@intel.com
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
---
drivers/common/qat/dev/qat_dev_gen1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/qat/dev/qat_dev_gen1.c b/drivers/common/qat/dev/qat_dev_gen1.c
index 64d02e4817..c34ae5a51c 100644
--- a/drivers/common/qat/dev/qat_dev_gen1.c
+++ b/drivers/common/qat/dev/qat_dev_gen1.c
@@ -95,7 +95,7 @@ qat_qp_rings_per_service_gen1(struct qat_pci_device *qat_dev,
if (hw_qps == NULL)
continue;
- if (hw_qps->service_type == service)
+ if (hw_qps->service_type == service && hw_qps->tx_msg_size)
count++;
}
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] common/qat: fix overrun of qp config
2021-11-12 12:01 [PATCH] common/qat: fix overrun of qp config Arek Kusztal
@ 2021-11-12 14:03 ` Power, Ciara
2021-11-16 7:31 ` Akhil Goyal
0 siblings, 1 reply; 3+ messages in thread
From: Power, Ciara @ 2021-11-12 14:03 UTC (permalink / raw)
To: Kusztal, ArkadiuszX, dev; +Cc: gakhil, Zhang, Roy Fan, Zegan, PrzemyslawX
Hi Arek,
>-----Original Message-----
>From: Kusztal, ArkadiuszX <arkadiuszx.kusztal@intel.com>
>Sent: Friday 12 November 2021 12:02
>To: dev@dpdk.org
>Cc: gakhil@marvell.com; Zhang, Roy Fan <roy.fan.zhang@intel.com>; Power,
>Ciara <ciara.power@intel.com>; Kusztal, ArkadiuszX
><arkadiuszx.kusztal@intel.com>; Zegan, PrzemyslawX
><przemyslawx.zegan@intel.com>
>Subject: [PATCH] common/qat: fix overrun of qp config
>
>This commint fixes overrun of ring configuration due to insufficient check.
Small typo here: commint -> commit
>
>Fixes: 4badfb0205f7 ("common/qat: fix queue pairs number")
>Cc: przemyslawx.zegan@intel.com
>
>Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
>---
Asides from that, the patch looks good to me.
Acked-by: Ciara Power <ciara.power@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] common/qat: fix overrun of qp config
2021-11-12 14:03 ` Power, Ciara
@ 2021-11-16 7:31 ` Akhil Goyal
0 siblings, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2021-11-16 7:31 UTC (permalink / raw)
To: Power, Ciara, Kusztal, ArkadiuszX, dev
Cc: Zhang, Roy Fan, Zegan, PrzemyslawX, stable
> >Subject: [PATCH] common/qat: fix overrun of qp config
> >
> >This commint fixes overrun of ring configuration due to insufficient check.
> Small typo here: commint -> commit
Fixed while merging.
>
> >
> >Fixes: 4badfb0205f7 ("common/qat: fix queue pairs number")
> >Cc: przemyslawx.zegan@intel.com
> >
> >Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
> >---
>
> Asides from that, the patch looks good to me.
> Acked-by: Ciara Power <ciara.power@intel.com>
Applied to dpdk-next-crypto
Cc:stable@dpdk.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-16 7:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12 12:01 [PATCH] common/qat: fix overrun of qp config Arek Kusztal
2021-11-12 14:03 ` Power, Ciara
2021-11-16 7:31 ` Akhil Goyal
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).