Dropping of packets based on RED can be skipped
with meter action, when RED is configured using
rte_eth_cman_config_set()

Signed-off-by: Rakesh Kudurumalla <rkuduruma...@marvell.com>
---
 lib/ethdev/rte_flow.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index b60987db4b..d72374a0b8 100644
--- a/lib/ethdev/rte_flow.h
+++ b/lib/ethdev/rte_flow.h
@@ -2203,6 +2203,16 @@ enum rte_flow_action_type {
         */
        RTE_FLOW_ACTION_TYPE_DROP,
 
+       /**
+        * Skip packet drops base on RED
+        *
+        * Dropping of packets is based on RED when RED is configured
+        * uing rte_eth_cman_config_set(). RED drop can be skipped
+        * with this action
+        *
+        */
+       RTE_FLOW_ACTION_TYPE_SKIP_RED,
+
        /**
         * Enables counters for this flow rule.
         *
-- 
2.25.1

Reply via email to