]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_ether/rte_ethdev.h
eal: introduce macro for always inline
[dpdk.git] / lib / librte_ether / rte_ethdev.h
index 0f38b45f8380cf8f507bb35455c6980c716fdce1..121058c120035f7afcd5d6aa1519eaeda2375da4 100644 (file)
@@ -3266,7 +3266,7 @@ rte_eth_tx_buffer_flush(uint8_t port_id, uint16_t queue_id,
  *     causing N packets to be sent, and the error callback to be called for
  *     the rest.
  */
-static inline uint16_t __attribute__((always_inline))
+static __rte_always_inline uint16_t
 rte_eth_tx_buffer(uint8_t port_id, uint16_t queue_id,
                struct rte_eth_dev_tx_buffer *buffer, struct rte_mbuf *tx_pkt)
 {