Message ID | CAExiqT+k8sGpKhNRyx4YPNVSZzPfT_wsSCvrVUj8VF=p_oDq1w@mail.gmail.com |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 35d3eda5e..31aee51a2 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -2762,7 +2762,9 @@ dpif_netdev_set_config(struct dpif *dpif, const struct smap *other_config) { struct dp_netdev *dp = get_dp_netdev(dpif); const char *cmask = smap_get(other_config, "pmd-cpu-mask"); - int insert_prob = smap_get_int(other_config, "emc-insert-inv-prob", -1); + unsigned long long insert_prob = + smap_get_ullong(other_config, "emc-insert-inv-prob", + DEFAULT_EM_FLOW_INSERT_INV_PROB); uint32_t insert_min, cur_min;