pipeline: increase the pipeline instruction table size
Checks
Commit Message
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(-)
Comments
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.
@@ -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 {