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
app/test: fix unit test for option -n
[dpdk.git]
/
app
/
test
/
test_table_pipeline.c
diff --git
a/app/test/test_table_pipeline.c
b/app/test/test_table_pipeline.c
index
a0a9e04
..
ff07cda
100644
(file)
--- a/
app/test/test_table_pipeline.c
+++ b/
app/test/test_table_pipeline.c
@@
-457,7
+457,8
@@
test_pipeline_single_filter(int test_type, int expected_count)
rte_panic("Failed to alloc mbuf from pool\n");
return -1;
}
- key = RTE_MBUF_METADATA_UINT8_PTR(m, 32);
+ key = RTE_MBUF_METADATA_UINT8_PTR(m,
+ APP_METADATA_OFFSET(32));
k32 = (uint32_t *) key;
k32[0] = 0xadadadad >> (j % 2);