Home
last modified time | relevance | path

Searched refs:netstats (Results 1 – 11 of 11) sorted by relevance

/drivers/infiniband/hw/hfi1/
A Dvnic_main.c54 stats->netstats.tx_packets += qnstats->tx_packets; in hfi1_vnic_update_stats()
55 stats->netstats.tx_bytes += qnstats->tx_bytes; in hfi1_vnic_update_stats()
71 stats->netstats.rx_bytes += qnstats->rx_bytes; in hfi1_vnic_update_stats()
74 stats->netstats.tx_errors = stats->netstats.tx_fifo_errors + in hfi1_vnic_update_stats()
75 stats->netstats.tx_carrier_errors + in hfi1_vnic_update_stats()
77 stats->netstats.tx_dropped = stats->netstats.tx_errors; in hfi1_vnic_update_stats()
79 stats->netstats.rx_errors = stats->netstats.rx_fifo_errors + in hfi1_vnic_update_stats()
80 stats->netstats.rx_nohandler + in hfi1_vnic_update_stats()
83 stats->netstats.rx_dropped = stats->netstats.rx_errors; in hfi1_vnic_update_stats()
131 stats->netstats.tx_packets++; in hfi1_vnic_update_tx_counters()
[all …]
/drivers/infiniband/ulp/opa_vnic/
A Dopa_vnic_ethtool.c71 {"rx_packets", VNIC_STAT(netstats.rx_packets)},
72 {"tx_packets", VNIC_STAT(netstats.tx_packets)},
73 {"rx_bytes", VNIC_STAT(netstats.rx_bytes)},
74 {"tx_bytes", VNIC_STAT(netstats.tx_bytes)},
75 {"rx_errors", VNIC_STAT(netstats.rx_errors)},
76 {"tx_errors", VNIC_STAT(netstats.tx_errors)},
77 {"rx_dropped", VNIC_STAT(netstats.rx_dropped)},
78 {"tx_dropped", VNIC_STAT(netstats.tx_dropped)},
108 {"rx_fifo_errors", VNIC_STAT(netstats.rx_fifo_errors)},
109 {"rx_length_errors", VNIC_STAT(netstats.rx_length_errors)},
[all …]
A Dopa_vnic_vema_iface.c100 cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors); in opa_vnic_get_summary_counters()
101 cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_errors); in opa_vnic_get_summary_counters()
102 cntrs->tx_packets = cpu_to_be64(vstats.netstats.tx_packets); in opa_vnic_get_summary_counters()
103 cntrs->rx_packets = cpu_to_be64(vstats.netstats.rx_packets); in opa_vnic_get_summary_counters()
104 cntrs->tx_bytes = cpu_to_be64(vstats.netstats.tx_bytes); in opa_vnic_get_summary_counters()
105 cntrs->rx_bytes = cpu_to_be64(vstats.netstats.rx_bytes); in opa_vnic_get_summary_counters()
139 cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors); in opa_vnic_get_error_counters()
140 cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_errors); in opa_vnic_get_error_counters()
143 cntrs->tx_logic = cpu_to_be64(vstats.netstats.tx_fifo_errors + in opa_vnic_get_error_counters()
144 vstats.netstats.tx_carrier_errors); in opa_vnic_get_error_counters()
[all …]
A Dopa_vnic_netdev.c72 adapter->rn_ops->ndo_get_stats64(netdev, &vstats.netstats); in opa_vnic_get_stats64()
74 memcpy(stats, &vstats.netstats, sizeof(*stats)); in opa_vnic_get_stats64()
/drivers/net/wireless/microchip/wilc1000/
A Dnetdev.c650 return &vif->netstats; in mac_stats()
766 vif->netstats.tx_packets++; in wilc_mac_xmit()
767 vif->netstats.tx_bytes += tx_data->size; in wilc_mac_xmit()
852 vif->netstats.rx_packets++; in wilc_frmw_to_host()
853 vif->netstats.rx_bytes += frame_len; in wilc_frmw_to_host()
A Dnetdev.h184 struct net_device_stats netstats; member
/drivers/net/ethernet/intel/idpf/
A Didpf_virtchnl.c2428 struct rtnl_link_stats64 *netstats = &np->netstats; in idpf_send_get_stats_msg() local
2454 netstats->rx_packets = le64_to_cpu(stats_msg.rx_unicast) + in idpf_send_get_stats_msg()
2457 netstats->tx_packets = le64_to_cpu(stats_msg.tx_unicast) + in idpf_send_get_stats_msg()
2460 netstats->rx_bytes = le64_to_cpu(stats_msg.rx_bytes); in idpf_send_get_stats_msg()
2461 netstats->tx_bytes = le64_to_cpu(stats_msg.tx_bytes); in idpf_send_get_stats_msg()
2462 netstats->rx_errors = le64_to_cpu(stats_msg.rx_errors); in idpf_send_get_stats_msg()
2463 netstats->tx_errors = le64_to_cpu(stats_msg.tx_errors); in idpf_send_get_stats_msg()
2464 netstats->rx_dropped = le64_to_cpu(stats_msg.rx_discards); in idpf_send_get_stats_msg()
2465 netstats->tx_dropped = le64_to_cpu(stats_msg.tx_discards); in idpf_send_get_stats_msg()
A Didpf.h163 struct rtnl_link_stats64 netstats; member
A Didpf_lib.c1221 *stats = np->netstats; in idpf_get_stats64()
/drivers/net/ethernet/freescale/dpaa/
A Ddpaa_eth.c355 u64 *netstats = (u64 *)s; in dpaa_get_stats64() local
366 netstats[j] += cpustats[j]; in dpaa_get_stats64()
/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-eth.c2371 u64 *netstats = (u64 *)stats; in dpaa2_eth_get_stats() local
2379 netstats[j] += cpustats[j]; in dpaa2_eth_get_stats()

Completed in 39 milliseconds