X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_table_pipeline.c;h=aabf4375db2e831fc7a1fc17426430bd053989f0;hb=10b71caecbe1cddcbb65c050ca775fba575e88db;hp=bc412c3081a44222c10364e02ce467479a5e3ad4;hpb=27fb5dd2850c60b46660b93c2fe14da6841b142c;p=dpdk.git diff --git a/app/test/test_table_pipeline.c b/app/test/test_table_pipeline.c index bc412c3081..aabf4375db 100644 --- a/app/test/test_table_pipeline.c +++ b/app/test/test_table_pipeline.c @@ -74,11 +74,11 @@ table_action_stub_miss(struct rte_pipeline *p, struct rte_mbuf **pkts, uint64_t pkts_mask, struct rte_pipeline_table_entry *entry, void *arg); rte_pipeline_table_action_handler_hit -table_action_0x00(__attribute__((unused)) struct rte_pipeline *p, - __attribute__((unused)) struct rte_mbuf **pkts, +table_action_0x00(__rte_unused struct rte_pipeline *p, + __rte_unused struct rte_mbuf **pkts, uint64_t pkts_mask, - __attribute__((unused)) struct rte_pipeline_table_entry **entry, - __attribute__((unused)) void *arg) + __rte_unused struct rte_pipeline_table_entry **entry, + __rte_unused void *arg) { printf("Table Action, setting pkts_mask to 0x00\n"); pkts_mask = ~0x00; @@ -87,11 +87,11 @@ table_action_0x00(__attribute__((unused)) struct rte_pipeline *p, } rte_pipeline_table_action_handler_hit -table_action_stub_hit(__attribute__((unused)) struct rte_pipeline *p, - __attribute__((unused)) struct rte_mbuf **pkts, +table_action_stub_hit(__rte_unused struct rte_pipeline *p, + __rte_unused struct rte_mbuf **pkts, uint64_t pkts_mask, - __attribute__((unused)) struct rte_pipeline_table_entry **entry, - __attribute__((unused)) void *arg) + __rte_unused struct rte_pipeline_table_entry **entry, + __rte_unused void *arg) { printf("STUB Table Action Hit - doing nothing\n"); printf("STUB Table Action Hit - setting mask to 0x%"PRIx64"\n", @@ -103,10 +103,10 @@ table_action_stub_hit(__attribute__((unused)) struct rte_pipeline *p, static int table_action_stub_miss(struct rte_pipeline *p, - __attribute__((unused)) struct rte_mbuf **pkts, + __rte_unused struct rte_mbuf **pkts, uint64_t pkts_mask, - __attribute__((unused)) struct rte_pipeline_table_entry *entry, - __attribute__((unused)) void *arg) + __rte_unused struct rte_pipeline_table_entry *entry, + __rte_unused void *arg) { printf("STUB Table Action Miss - setting mask to 0x%"PRIx64"\n", override_miss_mask);