flow: explicit rss function enum cast 69/26769/2
authorFlorin Coras <fcoras@cisco.com>
Wed, 29 Apr 2020 04:11:04 +0000 (04:11 +0000)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 29 Apr 2020 04:08:47 +0000 (04:08 +0000)
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I8c0eb5b5b12ffac1ff5dc89cab10bdb8e4be4322

src/plugins/dpdk/device/flow.c

index 444a76e..ffc86a1 100644 (file)
@@ -544,7 +544,7 @@ pattern_end:
       dpdk_flow_convert_rss_types (f->rss_types, &rss_type);
 
       rss.types = rss_type;
-      rss.func = f->rss_fun;
+      rss.func = (enum rte_eth_hash_function) f->rss_fun;
 
       if (fate == true)
        {