diff --git a/lib/librte_ethdev/rte_flow.c b/lib/librte_ethdev/rte_flow.c index 2b13efca73..e06cc21939 100644 --- a/lib/librte_ethdev/rte_flow.c +++ b/lib/librte_ethdev/rte_flow.c @@ -585,7 +585,7 @@ rte_flow_expand_rss(struct rte_flow_expand_rss *buf, size_t size, node = next_node ? &graph[*next_node] : NULL; while (node) { flow_items[stack_pos].type = node->type; - if ((node->rss_types & types) == node->rss_types) { + if (node->rss_types & types) { /* * compute the number of items to copy from the * expansion and copy it.