crypto/openssl: add RSA and mod asym operations
[dpdk.git] / lib / librte_ethdev / rte_flow.c
index 2b13efc..cff4b52 100644 (file)
@@ -531,7 +531,7 @@ store:
  * Expand RSS flows into several possible flows according to the RSS hash
  * fields requested and the driver capabilities.
  */
-int
+int __rte_experimental
 rte_flow_expand_rss(struct rte_flow_expand_rss *buf, size_t size,
                    const struct rte_flow_item *pattern, uint64_t types,
                    const struct rte_flow_expand_node graph[],
@@ -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.