]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pmd/cmdline.c
app/testpmd: fix RSS flow action configuration
[dpdk.git] / app / test-pmd / cmdline.c
index 18470c6fcaaea6751458fd33a30310f21823f61a..f2cddd84873c0d45a27e22f1b796f69509ff7a11 100644 (file)
@@ -2033,6 +2033,8 @@ cmd_config_rss_parsed(void *parsed_result,
                return;
        }
        rss_conf.rss_key = NULL;
+       /* Update global configuration for RSS types. */
+       rss_hf = rss_conf.rss_hf;
        RTE_ETH_FOREACH_DEV(i) {
                diag = rte_eth_dev_rss_hash_update(i, &rss_conf);
                if (diag < 0)