]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ixgbe/ixgbe_rxtx_vec_common.h
eal: introduce macro for always inline
[dpdk.git] / drivers / net / ixgbe / ixgbe_rxtx_vec_common.h
index 1c34bb5f3e1f943909dfa9f412f076863900ada8..9fc112b1c3bc37eca806d2f0a5f408d8eed6502b 100644 (file)
@@ -101,7 +101,7 @@ reassemble_packets(struct ixgbe_rx_queue *rxq, struct rte_mbuf **rx_bufs,
        return pkt_idx;
 }
 
-static inline int __attribute__((always_inline))
+static __rte_always_inline int
 ixgbe_tx_free_bufs(struct ixgbe_tx_queue *txq)
 {
        struct ixgbe_tx_entry_v *txep;
@@ -158,7 +158,7 @@ ixgbe_tx_free_bufs(struct ixgbe_tx_queue *txq)
        return txq->tx_rs_thresh;
 }
 
-static inline void __attribute__((always_inline))
+static __rte_always_inline void
 tx_backlog_entry(struct ixgbe_tx_entry_v *txep,
                 struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
 {