Home
last modified time | relevance | path

Searched refs:tx_counter (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/drivers/net/i40e/base/
H A Di40e_common.c7157 u32 *tx_counter, u32 *rx_counter, in i40e_get_lpi_counters() argument
7173 &cmd_status, tx_counter, rx_counter, NULL); in i40e_get_lpi_counters()
7182 *tx_counter = rd32(hw, I40E_PRTPM_TLPIC); in i40e_get_lpi_counters()
7263 u32 tx_counter, rx_counter; in i40e_lpi_stat_update() local
7266 retval = i40e_get_lpi_counters(hw, &tx_counter, &rx_counter, &is_clear); in i40e_lpi_stat_update()
7271 *tx_stat += tx_counter; in i40e_lpi_stat_update()
7275 *tx_offset = tx_counter; in i40e_lpi_stat_update()
7279 *tx_stat = (tx_counter >= *tx_offset) ? in i40e_lpi_stat_update()
7280 (u32)(tx_counter - *tx_offset) : in i40e_lpi_stat_update()
7281 (u32)((tx_counter + BIT_ULL(32)) - *tx_offset); in i40e_lpi_stat_update()
H A Di40e_prototype.h82 enum i40e_status_code i40e_get_lpi_counters(struct i40e_hw *hw, u32 *tx_counter,
/f-stack/dpdk/examples/performance-thread/l3fwd-thread/
H A Dmain.c574 rte_atomic16_t tx_counter; /**< Number of spawned tx threads */ variable
1916 while (rte_atomic16_read(&tx_counter) < n_tx_thread) in cpu_load_collector()
2039 rte_atomic16_inc(&tx_counter); in lthread_tx_per_ring()
2326 rte_atomic16_inc(&tx_counter); in pthread_tx()