]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ixgbe/ixgbe_rxtx.c
eal: introduce macro for always inline
[dpdk.git] / drivers / net / ixgbe / ixgbe_rxtx.c
index 1e0789595f403691f4b40dd291a2cadc4a1059a9..ee8ad9626b402633e75a53fa57614c8881952047 100644 (file)
@@ -126,7 +126,7 @@ uint16_t ixgbe_xmit_fixed_burst_vec(void *tx_queue, struct rte_mbuf **tx_pkts,
  * Check for descriptors with their DD bit set and free mbufs.
  * Return the total number of buffers freed.
  */
-static inline int __attribute__((always_inline))
+static __rte_always_inline int
 ixgbe_tx_free_bufs(struct ixgbe_tx_queue *txq)
 {
        struct ixgbe_tx_entry *txep;