Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_common.c7015 u32 *tx_counter, u32 *rx_counter, in i40e_get_lpi_counters() argument
7031 &cmd_status, tx_counter, rx_counter, NULL); in i40e_get_lpi_counters()
7041 *rx_counter = rd32(hw, I40E_PRTPM_RLPIC); in i40e_get_lpi_counters()
7121 u32 tx_counter, rx_counter; in i40e_lpi_stat_update() local
7124 retval = i40e_get_lpi_counters(hw, &tx_counter, &rx_counter, &is_clear); in i40e_lpi_stat_update()
7130 *rx_stat += rx_counter; in i40e_lpi_stat_update()
7134 *rx_offset = rx_counter; in i40e_lpi_stat_update()
7140 *rx_stat = (rx_counter >= *rx_offset) ? in i40e_lpi_stat_update()
7141 (u32)(rx_counter - *rx_offset) : in i40e_lpi_stat_update()
7142 (u32)((rx_counter + BIT_ULL(32)) - *rx_offset); in i40e_lpi_stat_update()
H A Di40e_prototype.h110 u32 *rx_counter, bool *is_clear);