From: Michael Baum Date: Thu, 29 Apr 2021 09:55:39 +0000 (+0300) Subject: app/testpmd: remove indirect RSS action query X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0f6beb151f5bbcd764d2b16b59c55a35f652b019;p=dpdk.git 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 --- 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;