]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/dpdk/app/test-eventdev/test_perf_common.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / app / test-eventdev / test_perf_common.h
index d8fbee6d898c6f38ee7e15410cc6c14eb0b58d42..ff9705df887f0d166899d66d41afc2f46ee490c0 100644 (file)
@@ -91,7 +91,7 @@ struct perf_elt {
                printf("%s(): lcore %d dev_id %d port=%d\n", __func__,\
                                rte_lcore_id(), dev, port)
 
-static inline __attribute__((always_inline)) int
+static __rte_always_inline int
 perf_process_last_stage(struct rte_mempool *const pool,
                struct rte_event *const ev, struct worker_data *const w,
                void *bufs[], int const buf_sz, uint8_t count)
@@ -107,7 +107,7 @@ perf_process_last_stage(struct rte_mempool *const pool,
        return count;
 }
 
-static inline __attribute__((always_inline)) uint8_t
+static __rte_always_inline uint8_t
 perf_process_last_stage_latency(struct rte_mempool *const pool,
                struct rte_event *const ev, struct worker_data *const w,
                void *bufs[], int const buf_sz, uint8_t count)