]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/fm10k/fm10k_rxtx_vec.c
eal: introduce macro for always inline
[dpdk.git] / drivers / net / fm10k / fm10k_rxtx_vec.c
index 411bc44503c98e8801d9087d2c71a7025e8b843e..03f6fd70e6b46ceb6d0fc6a2f99a8163dbbca2a4 100644 (file)
@@ -738,7 +738,7 @@ vtx(volatile struct fm10k_tx_desc *txdp,
                vtx1(txdp, *pkt, flags);
 }
 
-static inline int __attribute__((always_inline))
+static __rte_always_inline int
 fm10k_tx_free_bufs(struct fm10k_tx_queue *txq)
 {
        struct rte_mbuf **txep;
@@ -794,7 +794,7 @@ fm10k_tx_free_bufs(struct fm10k_tx_queue *txq)
        return txq->rs_thresh;
 }
 
-static inline void __attribute__((always_inline))
+static __rte_always_inline void
 tx_backlog_entry(struct rte_mbuf **txep,
                 struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
 {