[dpdk-dev] [PATCH v3 3/5] app/testpmd: update Max RAW pattern size to 512
Junfeng Guo
junfeng.guo at intel.com
Thu Oct 14 17:37:03 CEST 2021
Update max size for pattern in struct rte_flow_item_raw to enable
protocol agnostic flow offloading.
Signed-off-by: Junfeng Guo <junfeng.guo at intel.com>
---
app/test-pmd/cmdline_flow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 0b5856c7d5..c8f621a441 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -458,7 +458,7 @@ enum index {
};
/** Maximum size for pattern in struct rte_flow_item_raw. */
-#define ITEM_RAW_PATTERN_SIZE 40
+#define ITEM_RAW_PATTERN_SIZE 512
/** Maximum size for GENEVE option data pattern in bytes. */
#define ITEM_GENEVE_OPT_DATA_SIZE 124
--
2.25.1
More information about the dev
mailing list