From 0f6beb151f5bbcd764d2b16b59c55a35f652b019 Mon Sep 17 00:00:00 2001 From: Michael Baum Date: Thu, 29 Apr 2021 12:55:39 +0300 Subject: [PATCH] app/testpmd: remove indirect RSS action query The port_action_handle_query function supports query operation for indirect RSS action. No driver currently supports this operation, and this support is unnecessary. Remove it. Signed-off-by: Michael Baum Acked-by: Matan Azrad Acked-by: Ori Kam --- app/test-pmd/config.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index fc057e5687..803d9826d0 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -1626,7 +1626,6 @@ port_action_handle_query(portid_t port_id, uint32_t id) if (!pia) return -EINVAL; switch (pia->type) { - case RTE_FLOW_ACTION_TYPE_RSS: case RTE_FLOW_ACTION_TYPE_AGE: data = &default_data; break; @@ -1638,12 +1637,6 @@ port_action_handle_query(portid_t port_id, uint32_t id) if (rte_flow_action_handle_query(port_id, pia->handle, data, &error)) ret = port_flow_complain(&error); switch (pia->type) { - case RTE_FLOW_ACTION_TYPE_RSS: - if (!ret) - printf("Shared RSS action:\n\trefs:%u\n", - *((uint32_t *)data)); - data = NULL; - break; case RTE_FLOW_ACTION_TYPE_AGE: if (!ret) { struct rte_flow_query_age *resp = data; -- 2.20.1