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
rawdev: add private data size to info query
[dpdk.git]
/
app
/
test
/
test_mempool.c
diff --git
a/app/test/test_mempool.c
b/app/test/test_mempool.c
index
c32a5d3
..
084842f
100644
(file)
--- a/
app/test/test_mempool.c
+++ b/
app/test/test_mempool.c
@@
-64,7
+64,7
@@
static rte_atomic32_t synchro;
* other bytes are set to 0.
*/
static void
* other bytes are set to 0.
*/
static void
-my_obj_init(struct rte_mempool *mp, __
attribute__((unused))
void *arg,
+my_obj_init(struct rte_mempool *mp, __
rte_unused
void *arg,
void *obj, unsigned i)
{
uint32_t *objnum = obj;
void *obj, unsigned i)
{
uint32_t *objnum = obj;
@@
-291,13
+291,13
@@
static int test_mempool_single_consumer(void)
* can run on one lcore only
*/
static int
* can run on one lcore only
*/
static int
-test_mempool_launch_single_consumer(__
attribute__((unused))
void *arg)
+test_mempool_launch_single_consumer(__
rte_unused
void *arg)
{
return test_mempool_single_consumer();
}
static void
{
return test_mempool_single_consumer();
}
static void
-my_mp_init(struct rte_mempool *mp, __
attribute__((unused))
void *arg)
+my_mp_init(struct rte_mempool *mp, __
rte_unused
void *arg)
{
printf("mempool name is %s\n", mp->name);
/* nothing to be implemented here*/
{
printf("mempool name is %s\n", mp->name);
/* nothing to be implemented here*/