[PATCH 20/27] lib/ethdev: add connection tracking configuration

Suanming Mou suanmingm at nvidia.com
Fri Sep 23 16:43:27 CEST 2022


This commit adds the maximum connection tracking number configuration
for async flow engine.

Signed-off-by: Suanming Mou <suanmingm at nvidia.com>
---
 lib/ethdev/rte_flow.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index abb475bdee..e9a1bce38b 100644
--- a/lib/ethdev/rte_flow.h
+++ b/lib/ethdev/rte_flow.h
@@ -4991,6 +4991,11 @@ struct rte_flow_port_attr {
 	 * @see RTE_FLOW_ACTION_TYPE_METER
 	 */
 	uint32_t nb_meter_policies;
+	/**
+	 * Number of connection tracking to configure.
+	 * @see RTE_FLOW_ACTION_TYPE_CONNTRACK
+	 */
+	uint32_t nb_cts;	
 };
 
 /**
-- 
2.25.1



More information about the dev mailing list