tx_counter
u32 *tx_counter, u32 *rx_counter,
&cmd_status, tx_counter, rx_counter, NULL);
*tx_counter = rd32(hw, I40E_PRTPM_TLPIC);
u32 tx_counter, rx_counter;
retval = i40e_get_lpi_counters(hw, &tx_counter, &rx_counter, &is_clear);
*tx_stat += tx_counter;
*tx_offset = tx_counter;
*tx_stat = (tx_counter >= *tx_offset) ?
(u32)(tx_counter - *tx_offset) :
(u32)((tx_counter + BIT_ULL(32)) - *tx_offset);
enum i40e_status_code i40e_get_lpi_counters(struct i40e_hw *hw, u32 *tx_counter,
struct tx_counter ct1pt0_xmt_ipv4_ctrs;
struct tx_counter ct1pt0_xmt_ipv6_ctrs;
struct tx_counter ct1pt0_rexmt_ipv4_ctrs;
struct tx_counter ct1pt0_rexmt_ipv6_ctrs;
struct tx_counter ct1pt1_xmt_ipv4_ctrs;
struct tx_counter ct1pt1_xmt_ipv6_ctrs;
struct tx_counter ct1pt1_rexmt_ipv4_ctrs;
struct tx_counter ct1pt1_rexmt_ipv6_ctrs;
struct tx_counter ct2pt0_xmt_ipv4_ctrs;
struct tx_counter ct2pt0_xmt_ipv6_ctrs;
struct tx_counter ct2pt0_rexmt_ipv4_ctrs;
struct tx_counter ct2pt0_rexmt_ipv6_ctrs;
struct tx_counter ct2pt1_xmt_ipv4_ctrs;
struct tx_counter ct2pt1_xmt_ipv6_ctrs;
struct tx_counter ct2pt1_rexmt_ipv4_ctrs;
struct tx_counter ct2pt1_rexmt_ipv6_ctrs;