]> git.droids-corp.org - dpdk.git/blobdiff - app/test-eventdev/test_perf_atq.c
replace always-inline attributes
[dpdk.git] / app / test-eventdev / test_perf_atq.c
index d0241ec4ae9ac28a8f5edc96ac731deb5c95af10..8fd51004ee89b724c347ce43f569ff0be4b3cf33 100644 (file)
@@ -14,7 +14,7 @@ atq_nb_event_queues(struct evt_options *opt)
                rte_eth_dev_count_avail() : evt_nr_active_lcores(opt->plcores);
 }
 
-static inline __attribute__((always_inline)) void
+static __rte_always_inline void
 atq_mark_fwd_latency(struct rte_event *const ev)
 {
        if (unlikely(ev->sub_event_type == 0)) {
@@ -24,7 +24,7 @@ atq_mark_fwd_latency(struct rte_event *const ev)
        }
 }
 
-static inline __attribute__((always_inline)) void
+static __rte_always_inline void
 atq_fwd_event(struct rte_event *const ev, uint8_t *const sched_type_list,
                const uint8_t nb_stages)
 {