Skip to contentSkip to conversation

app/testpmd: fix conntrack action query

PATCH Applied Dariusz Sosnowski 3 participants 3 messages Aug 12, 2025 – Aug 13, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 app/testpmd: fix conntrack action query

RTE_FLOW_ACTION_TYPE_CONNTRACK handling was missing in a switch case which filtered action types which have action query support in testpmd. This prevented the conntrack query to succeed.

Fixes 4d07cbefe3ba ("app/testpmd: add commands for conntrack")
---
 app/test-pmd/config.c | 1 +
 1 file changed, 1 insertion(+)
app/test-pmd/config.c +1 -0
index 0fda8e99f8..dc91966a95 100644
@@ -2167,6 +2167,7 @@ port_action_handle_query(portid_t port_id, uint32_t id)
 	case RTE_FLOW_ACTION_TYPE_AGE:
 	case RTE_FLOW_ACTION_TYPE_COUNT:
 	case RTE_FLOW_ACTION_TYPE_QUOTA:
+	case RTE_FLOW_ACTION_TYPE_CONNTRACK:
 		break;
 	default:
 		fprintf(stderr,
Signature · 1 line
2.39.5
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Dariusz Sosnowski

RTE_FLOW_ACTION_TYPE_CONNTRACK handling was missing in a switch case which filtered action types which have action query support in testpmd. This prevented the conntrack query to succeed.

Quoted 9 lines
Fixes 4d07cbefe3ba ("app/testpmd: add commands for conntrack")

---

--

#2 lore raw
In reply to Dariusz Sosnowski
Quoted 11 lines · On Tue, 12 Aug 2025 11:43:23 +0200 Dariusz Sosnowski <[email protected]>…

RTE_FLOW_ACTION_TYPE_CONNTRACK handling was missing in a switch case which filtered action types which have action query support in testpmd. This prevented the conntrack query to succeed.

Fixes 4d07cbefe3ba ("app/testpmd: add commands for conntrack")

---

Applied to next-net