X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fmultipath.c;h=a6f549ca6715ff138710d4f92f6fb748eaeb0062;hb=28c5588e8e1a8d091c5d2275232c35f2968a97fa;hp=6c0560d906677fcde5c55b9957056c35a7495ec9;hpb=bdda5aca7b376bcc8c88072d00011a9da04af65c;p=sliver-openvswitch.git diff --git a/lib/multipath.c b/lib/multipath.c index 6c0560d90..a6f549ca6 100644 --- a/lib/multipath.c +++ b/lib/multipath.c @@ -63,7 +63,7 @@ multipath_from_openflow(const struct nx_action_multipath *nam, VLOG_WARN_RL(&rl, "unsupported algorithm %d", (int) mp->algorithm); return OFPERR_OFPBAC_BAD_ARGUMENT; } else if (mp->dst.n_bits < min_n_bits) { - VLOG_WARN_RL(&rl, "multipath action requires at least %zu bits for " + VLOG_WARN_RL(&rl, "multipath action requires at least %"PRIuSIZE" bits for " "%"PRIu32" links", min_n_bits, n_links); return OFPERR_OFPBAC_BAD_ARGUMENT; } @@ -114,7 +114,7 @@ multipath_execute(const struct ofpact_multipath *mp, struct flow *flow, mp->max_link + 1, mp->arg); flow_mask_hash_fields(flow, wc, mp->fields); - nxm_reg_load(&mp->dst, link, flow); + nxm_reg_load(&mp->dst, link, flow, wc); } static uint16_t @@ -189,7 +189,7 @@ multipath_algorithm(uint32_t hash, enum nx_mp_algorithm algorithm, return algorithm_iter_hash(hash, n_links, arg); } - NOT_REACHED(); + OVS_NOT_REACHED(); } /* Parses 's_' as a set of arguments to the "multipath" action and initializes