app/testpmd: fix conntrack action query
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")
Signed-off-by Dariusz Sosnowski <[email protected]>
Acked-by Bing Zhao <[email protected]>
--- app/test-pmd/config.c | 1 + 1 file changed, 1 insertion(+)
app/test-pmd/config.c +1 -0
@@ -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 Khadem Ullah <[email protected]>
Quoted 4 lines · Dariusz Sosnowski
RTE_FLOW_ACTION_TYPE_CONNTRACKhandling 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")Signed-off-by Dariusz Sosnowski <[email protected]>Acked-by Bing Zhao <[email protected]>---
--
Stephen Hemminger
AppliedQuoted 11 lines · On Tue, 12 Aug 2025 11:43:23 +0200 Dariusz Sosnowski <[email protected]>…
RTE_FLOW_ACTION_TYPE_CONNTRACKhandling 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")Signed-off-by Dariusz Sosnowski <[email protected]>Acked-by Bing Zhao <[email protected]>---
Applied to next-net