Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_mac.c103 #define GET_STAT(name) \ in t4_mc_getstat() macro
116 *val = GET_STAT(RX_PORT_MCAST); in t4_mc_getstat()
120 *val = GET_STAT(RX_PORT_BCAST); in t4_mc_getstat()
124 *val = GET_STAT(TX_PORT_MCAST); in t4_mc_getstat()
128 *val = GET_STAT(TX_PORT_BCAST); in t4_mc_getstat()
136 *val = GET_STAT(RX_PORT_MTU_ERROR) + in t4_mc_getstat()
137 GET_STAT(RX_PORT_MTU_CRC_ERROR) + in t4_mc_getstat()
138 GET_STAT(RX_PORT_CRC_ERROR) + in t4_mc_getstat()
139 GET_STAT(RX_PORT_LEN_ERROR) + in t4_mc_getstat()
140 GET_STAT(RX_PORT_SYM_ERROR) + in t4_mc_getstat()
[all …]
H A Dt4_sge.c3202 #define GET_STAT(name) t4_read_reg64(pi->adapter, \ in update_port_info_kstats() macro
3232 KS_U_SET(tx_pause, GET_STAT(TX_PORT_PAUSE)); in update_port_info_kstats()
3233 KS_U_SET(rx_pause, GET_STAT(RX_PORT_PAUSE)); in update_port_info_kstats()
/titanic_41/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c3463 #define GET_STAT(name) \ in t4_get_port_stats() macro
3467 p->tx_octets = GET_STAT(TX_PORT_BYTES); in t4_get_port_stats()
3468 p->tx_frames = GET_STAT(TX_PORT_FRAMES); in t4_get_port_stats()
3469 p->tx_bcast_frames = GET_STAT(TX_PORT_BCAST); in t4_get_port_stats()
3470 p->tx_mcast_frames = GET_STAT(TX_PORT_MCAST); in t4_get_port_stats()
3471 p->tx_ucast_frames = GET_STAT(TX_PORT_UCAST); in t4_get_port_stats()
3472 p->tx_error_frames = GET_STAT(TX_PORT_ERROR); in t4_get_port_stats()
3473 p->tx_frames_64 = GET_STAT(TX_PORT_64B); in t4_get_port_stats()
3474 p->tx_frames_65_127 = GET_STAT(TX_PORT_65B_127B); in t4_get_port_stats()
3475 p->tx_frames_128_255 = GET_STAT(TX_PORT_128B_255B); in t4_get_port_stats()
[all …]