* [PATCH v3 0/1] baseband/acc: changes for 23.03
@ 2023-01-11 16:57 Hernan Vargas
2023-01-11 16:57 ` [PATCH v3 1/1] baseband/acc: acc100 ignore missing mempools Hernan Vargas
2023-01-12 8:52 ` [PATCH v3 0/1] baseband/acc: changes for 23.03 Maxime Coquelin
0 siblings, 2 replies; 3+ messages in thread
From: Hernan Vargas @ 2023-01-11 16:57 UTC (permalink / raw)
To: dev, maxime.coquelin, gakhil, trix
Cc: nicolas.chautru, qi.z.zhang, Hernan Vargas
v3: Remove unused mempool header.
v2: Reordered commits and added one more fix.
v1: Upstreaming ACC100 changes for 23.03.
Hernan Vargas (1):
baseband/acc: acc100 ignore missing mempools
drivers/baseband/acc/rte_acc100_pmd.c | 9 ---------
1 file changed, 9 deletions(-)
--
2.37.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v3 1/1] baseband/acc: acc100 ignore missing mempools
2023-01-11 16:57 [PATCH v3 0/1] baseband/acc: changes for 23.03 Hernan Vargas
@ 2023-01-11 16:57 ` Hernan Vargas
2023-01-12 8:52 ` [PATCH v3 0/1] baseband/acc: changes for 23.03 Maxime Coquelin
1 sibling, 0 replies; 3+ messages in thread
From: Hernan Vargas @ 2023-01-11 16:57 UTC (permalink / raw)
To: dev, maxime.coquelin, gakhil, trix
Cc: nicolas.chautru, qi.z.zhang, Hernan Vargas
Mempool not strictly required to be present in op for processing.
Previous criteria too strict. No functional impact.
Signed-off-by: Hernan Vargas <hernan.vargas@intel.com>
---
drivers/baseband/acc/rte_acc100_pmd.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc/rte_acc100_pmd.c
index f841b31348..523d8fdb9c 100644
--- a/drivers/baseband/acc/rte_acc100_pmd.c
+++ b/drivers/baseband/acc/rte_acc100_pmd.c
@@ -8,7 +8,6 @@
#include <rte_log.h>
#include <dev_driver.h>
#include <rte_malloc.h>
-#include <rte_mempool.h>
#include <rte_byteorder.h>
#include <rte_errno.h>
#include <rte_branch_prediction.h>
@@ -1832,10 +1831,6 @@ validate_enc_op(struct rte_bbdev_enc_op *op, struct acc_queue *q)
if (!validate_op_required(q))
return 0;
- if (op->mempool == NULL) {
- rte_bbdev_log(ERR, "Invalid mempool pointer");
- return -1;
- }
if (turbo_enc->input.data == NULL) {
rte_bbdev_log(ERR, "Invalid input pointer");
return -1;
@@ -2679,10 +2674,6 @@ validate_dec_op(struct rte_bbdev_dec_op *op, struct acc_queue *q)
if (!validate_op_required(q))
return 0;
- if (op->mempool == NULL) {
- rte_bbdev_log(ERR, "Invalid mempool pointer");
- return -1;
- }
if (turbo_dec->input.data == NULL) {
rte_bbdev_log(ERR, "Invalid input pointer");
return -1;
--
2.37.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3 0/1] baseband/acc: changes for 23.03
2023-01-11 16:57 [PATCH v3 0/1] baseband/acc: changes for 23.03 Hernan Vargas
2023-01-11 16:57 ` [PATCH v3 1/1] baseband/acc: acc100 ignore missing mempools Hernan Vargas
@ 2023-01-12 8:52 ` Maxime Coquelin
1 sibling, 0 replies; 3+ messages in thread
From: Maxime Coquelin @ 2023-01-12 8:52 UTC (permalink / raw)
To: Hernan Vargas, dev, gakhil, trix; +Cc: nicolas.chautru, qi.z.zhang
Hi Hernan,
On 1/11/23 17:57, Hernan Vargas wrote:
> v3: Remove unused mempool header.
> v2: Reordered commits and added one more fix.
> v1: Upstreaming ACC100 changes for 23.03.
>
> Hernan Vargas (1):
> baseband/acc: acc100 ignore missing mempools
>
> drivers/baseband/acc/rte_acc100_pmd.c | 9 ---------
> 1 file changed, 9 deletions(-)
>
Please resend the full series, including the R-by I gave on other
patches.
Regards,
Maxime
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-12 8:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-11 16:57 [PATCH v3 0/1] baseband/acc: changes for 23.03 Hernan Vargas
2023-01-11 16:57 ` [PATCH v3 1/1] baseband/acc: acc100 ignore missing mempools Hernan Vargas
2023-01-12 8:52 ` [PATCH v3 0/1] baseband/acc: changes for 23.03 Maxime Coquelin
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).