DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] pipeline: increase the pipeline instruction table size
@ 2023-02-01  7:58 Harshad Narayane
  2023-02-06  8:41 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Harshad Narayane @ 2023-02-01  7:58 UTC (permalink / raw)
  To: dev; +Cc: cristian.dumitrescu, harshad.suresh.narayane, kamalakannan.r

The complex P4 programs requires more custom instructions, therefore
we increase the pipeline instruction table size from 256 to 1024.

Signed-off-by: Harshad Narayane <harshad.suresh.narayane@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
---
 lib/pipeline/rte_swx_pipeline_internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pipeline/rte_swx_pipeline_internal.h b/lib/pipeline/rte_swx_pipeline_internal.h
index 335506039b..345b32502c 100644
--- a/lib/pipeline/rte_swx_pipeline_internal.h
+++ b/lib/pipeline/rte_swx_pipeline_internal.h
@@ -1465,7 +1465,7 @@ instr_operand_nbo(struct thread *t, const struct instr_operand *x)
 #endif
 
 #ifndef RTE_SWX_PIPELINE_INSTRUCTION_TABLE_SIZE_MAX
-#define RTE_SWX_PIPELINE_INSTRUCTION_TABLE_SIZE_MAX 256
+#define RTE_SWX_PIPELINE_INSTRUCTION_TABLE_SIZE_MAX 1024
 #endif
 
 struct rte_swx_pipeline {
-- 
2.34.1


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

* Re: [PATCH] pipeline: increase the pipeline instruction table size
  2023-02-01  7:58 [PATCH] pipeline: increase the pipeline instruction table size Harshad Narayane
@ 2023-02-06  8:41 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2023-02-06  8:41 UTC (permalink / raw)
  To: Harshad Narayane
  Cc: dev, cristian.dumitrescu, harshad.suresh.narayane, kamalakannan.r

01/02/2023 08:58, Harshad Narayane:
> The complex P4 programs requires more custom instructions, therefore
> we increase the pipeline instruction table size from 256 to 1024.
> 
> Signed-off-by: Harshad Narayane <harshad.suresh.narayane@intel.com>
> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

Applied, thanks.



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

end of thread, other threads:[~2023-02-06  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-01  7:58 [PATCH] pipeline: increase the pipeline instruction table size Harshad Narayane
2023-02-06  8:41 ` Thomas Monjalon

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