Skip to contentSkip to conversation

pipeline: increase the pipeline instruction table size

PATCH Applied Harshad Narayane 2 participants 2 messages Feb 1, 2023 – Feb 6, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pipeline: increase the pipeline instruction table size

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

---
 lib/pipeline/rte_swx_pipeline_internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/pipeline/rte_swx_pipeline_internal.h +1 -1
index 335506039b..345b32502c 100644
@@ -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 {
Signature · 1 line
2.34.1