Lines Matching refs:lstats
1166 struct rtnl_link_stats64 *lstats) in liquidio_get_stats64() argument
1188 lstats->tx_packets = pkts; in liquidio_get_stats64()
1189 lstats->tx_bytes = bytes; in liquidio_get_stats64()
1190 lstats->tx_dropped = drop; in liquidio_get_stats64()
1207 lstats->rx_bytes = bytes; in liquidio_get_stats64()
1208 lstats->rx_packets = pkts; in liquidio_get_stats64()
1209 lstats->rx_dropped = drop; in liquidio_get_stats64()
1211 lstats->multicast = oct->link_stats.fromwire.fw_total_mcast; in liquidio_get_stats64()
1214 lstats->rx_length_errors = oct->link_stats.fromwire.l2_err; in liquidio_get_stats64()
1216 lstats->rx_crc_errors = oct->link_stats.fromwire.fcs_err; in liquidio_get_stats64()
1218 lstats->rx_frame_errors = oct->link_stats.fromwire.frame_err; in liquidio_get_stats64()
1220 lstats->rx_errors = lstats->rx_length_errors + lstats->rx_crc_errors + in liquidio_get_stats64()
1221 lstats->rx_frame_errors; in liquidio_get_stats64()
1224 lstats->tx_aborted_errors = oct->link_stats.fromhost.fw_err_pko; in liquidio_get_stats64()
1225 lstats->tx_carrier_errors = oct->link_stats.fromhost.fw_err_link; in liquidio_get_stats64()
1227 lstats->tx_errors = lstats->tx_aborted_errors + in liquidio_get_stats64()
1228 lstats->tx_carrier_errors; in liquidio_get_stats64()