flow: explicit rss function enum cast
[vpp.git] / 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)
        {