Lines Matching refs:pstats
1490 const struct mac_stats *pstats; in cxgb_get_stats() local
1493 pstats = t3_mac_update_stats(&pi->mac); in cxgb_get_stats()
1496 ns->tx_bytes = pstats->tx_octets; in cxgb_get_stats()
1497 ns->tx_packets = pstats->tx_frames; in cxgb_get_stats()
1498 ns->rx_bytes = pstats->rx_octets; in cxgb_get_stats()
1499 ns->rx_packets = pstats->rx_frames; in cxgb_get_stats()
1500 ns->multicast = pstats->rx_mcast_frames; in cxgb_get_stats()
1502 ns->tx_errors = pstats->tx_underrun; in cxgb_get_stats()
1503 ns->rx_errors = pstats->rx_symbol_errs + pstats->rx_fcs_errs + in cxgb_get_stats()
1504 pstats->rx_too_long + pstats->rx_jabber + pstats->rx_short + in cxgb_get_stats()
1505 pstats->rx_fifo_ovfl; in cxgb_get_stats()
1508 ns->rx_length_errors = pstats->rx_jabber + pstats->rx_too_long; in cxgb_get_stats()
1510 ns->rx_crc_errors = pstats->rx_fcs_errs; in cxgb_get_stats()
1511 ns->rx_frame_errors = pstats->rx_symbol_errs; in cxgb_get_stats()
1512 ns->rx_fifo_errors = pstats->rx_fifo_ovfl; in cxgb_get_stats()
1513 ns->rx_missed_errors = pstats->rx_cong_drops; in cxgb_get_stats()
1518 ns->tx_fifo_errors = pstats->tx_underrun; in cxgb_get_stats()