mbuf: add usr alias for hash
authorQinglai Xiao <jigsaw@gmail.com>
Mon, 10 Nov 2014 12:52:46 +0000 (14:52 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 13 Nov 2014 11:26:10 +0000 (12:26 +0100)
commit9f2e99d171a13c2e9fd105f609b87aa0c502f497
treeacec3e617ea5f7a32991deb5d450948b57c5dc38
parent8dae34c15cab7a51c4d7a34561bd9294eb528242
mbuf: add usr alias for hash

This field is added for librte_distributor. User of librte_distributor
is advocated to set value of mbuf->hash.usr before calling
rte_distributor_process. The value of usr is the tag which stands as
identifier of flow.

Signed-off-by: Qinglai Xiao <jigsaw@gmail.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
app/test/test_distributor.c
app/test/test_distributor_perf.c
lib/librte_distributor/rte_distributor.c
lib/librte_mbuf/rte_mbuf.h