[PATCH 1/5] Removing comparison enum to bool

Evgeny Sokolov Evgeny.Sokolov at infotecs.ru
Tue Sep 15 09:55:49 CEST 2026


From: Sokolov Evgeny <Evgeny.Sokolov at infotecs.ru>

---
 drivers/net/intel/iavf/iavf_tm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/intel/iavf/iavf_tm.c b/drivers/net/intel/iavf/iavf_tm.c
index 1d12196ba6..2d40028450 100644
--- a/drivers/net/intel/iavf/iavf_tm.c
+++ b/drivers/net/intel/iavf/iavf_tm.c
@@ -190,7 +190,7 @@ iavf_node_param_check(struct iavf_info *vf, uint32_t node_id,
 	}
 
 	/* for leaf node */
-	if (params->leaf.cman) {
+	if (params->leaf.cman != RTE_TM_CMAN_TAIL_DROP) {
 		error->type = RTE_TM_ERROR_TYPE_NODE_PARAMS_CMAN;
 		error->message = "Congestion management not supported";
 		return -EINVAL;
-- 
2.39.5



More information about the stable mailing list