Home
last modified time | relevance | path

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

/dpdk/drivers/net/i40e/base/
H A Di40e_common.c7270 u32 *tx_counter, u32 *rx_counter, in i40e_get_lpi_counters() argument
7286 &cmd_status, tx_counter, rx_counter, NULL); in i40e_get_lpi_counters()
7295 *tx_counter = rd32(hw, I40E_PRTPM_TLPIC); in i40e_get_lpi_counters()
7376 u32 tx_counter, rx_counter; in i40e_lpi_stat_update() local
7379 retval = i40e_get_lpi_counters(hw, &tx_counter, &rx_counter, &is_clear); in i40e_lpi_stat_update()
7384 *tx_stat += tx_counter; in i40e_lpi_stat_update()
7388 *tx_offset = tx_counter; in i40e_lpi_stat_update()
7392 *tx_stat = (tx_counter >= *tx_offset) ? in i40e_lpi_stat_update()
7393 (u32)(tx_counter - *tx_offset) : in i40e_lpi_stat_update()
7394 (u32)((tx_counter + BIT_ULL(32)) - *tx_offset); in i40e_lpi_stat_update()
H A Di40e_prototype.h89 enum i40e_status_code i40e_get_lpi_counters(struct i40e_hw *hw, u32 *tx_counter,