aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/flow.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-04-29 04:11:04 +0000
committerFlorin Coras <florin.coras@gmail.com>2020-04-29 04:08:47 +0000
commit34de6fea134051ff2f3488ccbddf5c055d3602f1 (patch)
tree877e72e8db51eab8a306f669e91ee6f446146a24 /src/plugins/dpdk/device/flow.c
parent77d98382824ca211fb55fcf842931930ccfb3baa (diff)
flow: explicit rss function enum cast
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I8c0eb5b5b12ffac1ff5dc89cab10bdb8e4be4322
Diffstat (limited to 'src/plugins/dpdk/device/flow.c')
-rw-r--r--src/plugins/dpdk/device/flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/flow.c b/src/plugins/dpdk/device/flow.c
index 444a76e307e..ffc86a1c7fa 100644
--- a/src/plugins/dpdk/device/flow.c
+++ b/src/plugins/dpdk/device/flow.c
@@ -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)
{