On 16/1/2017 4:40 PM, Bruce Richardson wrote:
On Mon, Jan 09, 2017 at 07:50:44AM +0000, David Hunt wrote:
--- a/lib/librte_distributor/rte_distributor_burst.c
+++ b/lib/librte_distributor/rte_distributor_burst.c
@@ -352,6 +352,9 @@ rte_distributor_process_burst(struct rte_distributor_burst
*d,
}
switch (d->dist_match_fn) {
+ case RTE_DIST_MATCH_VECTOR:
+ find_match_vec(d, &flows[0], &matches[0]);
+ break;
default:
find_match_scalar(d, &flows[0], &matches[0]);
}
Will link not fail on non-x86 platforms due to find_match_vec not having
any implementation on those platforms?
/Bruce
I've added a fallback find_match_vec in rte_distributor_match_generic.c
that calls find_match_scalar.
Rgds,
Dave.