Lines Matching refs:stats
30 {"xmit_on", QLC_SIZEOF(stats.xmit_on), QLC_OFF(stats.xmit_on)},
31 {"xmit_off", QLC_SIZEOF(stats.xmit_off), QLC_OFF(stats.xmit_off)},
32 {"xmit_called", QLC_SIZEOF(stats.xmitcalled),
33 QLC_OFF(stats.xmitcalled)},
34 {"xmit_finished", QLC_SIZEOF(stats.xmitfinished),
35 QLC_OFF(stats.xmitfinished)},
36 {"tx dma map error", QLC_SIZEOF(stats.tx_dma_map_error),
37 QLC_OFF(stats.tx_dma_map_error)},
38 {"tx_bytes", QLC_SIZEOF(stats.txbytes), QLC_OFF(stats.txbytes)},
39 {"tx_dropped", QLC_SIZEOF(stats.txdropped), QLC_OFF(stats.txdropped)},
40 {"rx dma map error", QLC_SIZEOF(stats.rx_dma_map_error),
41 QLC_OFF(stats.rx_dma_map_error)},
42 {"rx_pkts", QLC_SIZEOF(stats.rx_pkts), QLC_OFF(stats.rx_pkts)},
43 {"rx_bytes", QLC_SIZEOF(stats.rxbytes), QLC_OFF(stats.rxbytes)},
44 {"rx_dropped", QLC_SIZEOF(stats.rxdropped), QLC_OFF(stats.rxdropped)},
45 {"null rxbuf", QLC_SIZEOF(stats.null_rxbuf), QLC_OFF(stats.null_rxbuf)},
46 {"csummed", QLC_SIZEOF(stats.csummed), QLC_OFF(stats.csummed)},
47 {"lro_pkts", QLC_SIZEOF(stats.lro_pkts), QLC_OFF(stats.lro_pkts)},
48 {"lrobytes", QLC_SIZEOF(stats.lrobytes), QLC_OFF(stats.lrobytes)},
49 {"lso_frames", QLC_SIZEOF(stats.lso_frames), QLC_OFF(stats.lso_frames)},
50 {"encap_lso_frames", QLC_SIZEOF(stats.encap_lso_frames),
51 QLC_OFF(stats.encap_lso_frames)},
52 {"encap_tx_csummed", QLC_SIZEOF(stats.encap_tx_csummed),
53 QLC_OFF(stats.encap_tx_csummed)},
54 {"encap_rx_csummed", QLC_SIZEOF(stats.encap_rx_csummed),
55 QLC_OFF(stats.encap_rx_csummed)},
56 {"skb_alloc_failure", QLC_SIZEOF(stats.skb_alloc_failure),
57 QLC_OFF(stats.skb_alloc_failure)},
58 {"mac_filter_limit_overrun", QLC_SIZEOF(stats.mac_filter_limit_overrun),
59 QLC_OFF(stats.mac_filter_limit_overrun)},
60 {"spurious intr", QLC_SIZEOF(stats.spurious_intr),
61 QLC_OFF(stats.spurious_intr)},
1239 static u64 *qlcnic_fill_stats(u64 *data, void *stats, int type) in qlcnic_fill_stats() argument
1243 (struct qlcnic_mac_statistics *)stats; in qlcnic_fill_stats()
1279 (struct __qlcnic_esw_statistics *)stats; in qlcnic_fill_stats()
1307 adapter->stats.xmit_on = tx_stats.xmit_on; in qlcnic_update_stats()
1308 adapter->stats.xmit_off = tx_stats.xmit_off; in qlcnic_update_stats()
1309 adapter->stats.xmitcalled = tx_stats.xmit_called; in qlcnic_update_stats()
1310 adapter->stats.xmitfinished = tx_stats.xmit_finished; in qlcnic_update_stats()
1311 adapter->stats.txbytes = tx_stats.tx_bytes; in qlcnic_update_stats()
1314 static u64 *qlcnic_fill_tx_queue_stats(u64 *data, void *stats) in qlcnic_fill_tx_queue_stats() argument
1318 tx_ring = (struct qlcnic_host_tx_ring *)stats; in qlcnic_fill_tx_queue_stats()
1330 struct ethtool_stats *stats, u64 *data) in qlcnic_get_ethtool_stats() argument
1339 memset(data, 0, stats->n_stats * sizeof(u64)); in qlcnic_get_ethtool_stats()