git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mbuf: add usr alias for hash
[dpdk.git]
/
app
/
test
/
test_distributor_perf.c
diff --git
a/app/test/test_distributor_perf.c
b/app/test/test_distributor_perf.c
index
b04864c
..
48ee344
100644
(file)
--- a/
app/test/test_distributor_perf.c
+++ b/
app/test/test_distributor_perf.c
@@
-159,7
+159,7
@@
perf_test(struct rte_distributor *d, struct rte_mempool *p)
}
/* ensure we have different hash value for each pkt */
for (i = 0; i < BURST; i++)
}
/* ensure we have different hash value for each pkt */
for (i = 0; i < BURST; i++)
- bufs[i]->hash.
rss
= i;
+ bufs[i]->hash.
usr
= i;
start = rte_rdtsc();
for (i = 0; i < (1<<ITER_POWER); i++)
start = rte_rdtsc();
for (i = 0; i < (1<<ITER_POWER); i++)
@@
-198,7
+198,7
@@
quit_workers(struct rte_distributor *d, struct rte_mempool *p)
quit = 1;
for (i = 0; i < num_workers; i++)
quit = 1;
for (i = 0; i < num_workers; i++)
- bufs[i]->hash.
rss
= i << 1;
+ bufs[i]->hash.
usr
= i << 1;
rte_distributor_process(d, bufs, num_workers);
rte_mempool_put_bulk(p, (void *)bufs, num_workers);
rte_distributor_process(d, bufs, num_workers);
rte_mempool_put_bulk(p, (void *)bufs, num_workers);