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
replace cold attributes
[dpdk.git]
/
drivers
/
net
/
ice
/
ice_rxtx.c
diff --git
a/drivers/net/ice/ice_rxtx.c
b/drivers/net/ice/ice_rxtx.c
index
deb904d
..
1c9f31e
100644
(file)
--- a/
drivers/net/ice/ice_rxtx.c
+++ b/
drivers/net/ice/ice_rxtx.c
@@
-2874,7
+2874,7
@@
ice_xmit_pkts_simple(void *tx_queue,
return nb_tx;
}
return nb_tx;
}
-void __
attribute__((cold))
+void __
rte_cold
ice_set_rx_function(struct rte_eth_dev *dev)
{
PMD_INIT_FUNC_TRACE();
ice_set_rx_function(struct rte_eth_dev *dev)
{
PMD_INIT_FUNC_TRACE();
@@
-2984,7
+2984,7
@@
ice_rx_burst_mode_get(struct rte_eth_dev *dev, __rte_unused uint16_t queue_id,
return ret;
}
return ret;
}
-void __
attribute__((cold))
+void __
rte_cold
ice_set_tx_function_flag(struct rte_eth_dev *dev, struct ice_tx_queue *txq)
{
struct ice_adapter *ad =
ice_set_tx_function_flag(struct rte_eth_dev *dev, struct ice_tx_queue *txq)
{
struct ice_adapter *ad =
@@
-3053,7
+3053,7
@@
ice_prep_pkts(__rte_unused void *tx_queue, struct rte_mbuf **tx_pkts,
return i;
}
return i;
}
-void __
attribute__((cold))
+void __
rte_cold
ice_set_tx_function(struct rte_eth_dev *dev)
{
struct ice_adapter *ad =
ice_set_tx_function(struct rte_eth_dev *dev)
{
struct ice_adapter *ad =
@@
-3682,7
+3682,7
@@
ice_get_default_pkt_type(uint16_t ptype)
return type_table[ptype];
}
return type_table[ptype];
}
-void __
attribute__((cold))
+void __
rte_cold
ice_set_default_ptype_table(struct rte_eth_dev *dev)
{
struct ice_adapter *ad =
ice_set_default_ptype_table(struct rte_eth_dev *dev)
{
struct ice_adapter *ad =