git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eal: introduce macro for always inline
[dpdk.git]
/
drivers
/
net
/
ixgbe
/
ixgbe_rxtx_vec_common.h
diff --git
a/drivers/net/ixgbe/ixgbe_rxtx_vec_common.h
b/drivers/net/ixgbe/ixgbe_rxtx_vec_common.h
index
1c34bb5
..
9fc112b
100644
(file)
--- a/
drivers/net/ixgbe/ixgbe_rxtx_vec_common.h
+++ b/
drivers/net/ixgbe/ixgbe_rxtx_vec_common.h
@@
-101,7
+101,7
@@
reassemble_packets(struct ixgbe_rx_queue *rxq, struct rte_mbuf **rx_bufs,
return pkt_idx;
}
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;
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;
}
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)
{
tx_backlog_entry(struct ixgbe_tx_entry_v *txep,
struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
{