* [PATCH] app/testpmd: fix conntrack action query
@ 2025-08-12 9:43 Dariusz Sosnowski
2025-08-13 11:38 ` Khadem Ullah
0 siblings, 1 reply; 2+ messages in thread
From: Dariusz Sosnowski @ 2025-08-12 9:43 UTC (permalink / raw)
To: Aman Singh, Bing Zhao, Ori Kam; +Cc: dev, stable
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")
Cc: bingz@nvidia.com
Cc: stable@dpdk.org
Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Acked-by: Bing Zhao <bingz@nvidia.com>
---
app/test-pmd/config.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 0fda8e99f8..dc91966a95 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -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,
--
2.39.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] app/testpmd: fix conntrack action query
2025-08-12 9:43 [PATCH] app/testpmd: fix conntrack action query Dariusz Sosnowski
@ 2025-08-13 11:38 ` Khadem Ullah
0 siblings, 0 replies; 2+ messages in thread
From: Khadem Ullah @ 2025-08-13 11:38 UTC (permalink / raw)
To: Dariusz Sosnowski; +Cc: Aman Singh, Bing Zhao, Ori Kam, dev, stable
[-- Attachment #1: Type: text/plain, Size: 584 bytes --]
Acked-by: Khadem Ullah <14pwcse1224@uetpeshawar.edu.pk>
On Tue, Aug 12, 2025 at 2:45 PM Dariusz Sosnowski <dsosnowski@nvidia.com>
wrote:
> 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")
> Cc: bingz@nvidia.com
> Cc: stable@dpdk.org
>
> Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
> Acked-by: Bing Zhao <bingz@nvidia.com>
> ---
>
>
--
[-- Attachment #2: Type: text/html, Size: 1299 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-13 11:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-12 9:43 [PATCH] app/testpmd: fix conntrack action query Dariusz Sosnowski
2025-08-13 11:38 ` Khadem Ullah
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).