Home
last modified time | relevance | path

Searched refs:link_stats (Results 1 – 22 of 22) sorted by relevance

/linux/net/ethtool/
H A Dlinkstate.c16 struct ethtool_link_ext_stats link_stats; member
126 ethtool_stats_init((u64 *)&data->link_stats, in linkstate_prepare_data()
127 sizeof(data->link_stats) / 8); in linkstate_prepare_data()
131 data->link_stats.link_down_events = in linkstate_prepare_data()
136 &data->link_stats); in linkstate_prepare_data()
165 if (data->link_stats.link_down_events != ETHTOOL_STAT_NOT_SET) in linkstate_reply_size()
201 if (data->link_stats.link_down_events != ETHTOOL_STAT_NOT_SET) in linkstate_fill_reply()
203 data->link_stats.link_down_events)) in linkstate_fill_reply()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_ethtool.c1453 oct_dev->link_stats.fromwire.fcs_err + in lio_get_ethtool_stats()
1454 oct_dev->link_stats.fromwire.jabber_err + in lio_get_ethtool_stats()
1455 oct_dev->link_stats.fromwire.l2_err + in lio_get_ethtool_stats()
1456 oct_dev->link_stats.fromwire.frame_err; in lio_get_ethtool_stats()
1464 oct_dev->link_stats.fromwire.fifo_err + in lio_get_ethtool_stats()
1465 oct_dev->link_stats.fromwire.dmac_drop + in lio_get_ethtool_stats()
1466 oct_dev->link_stats.fromwire.red_drops + in lio_get_ethtool_stats()
1467 oct_dev->link_stats.fromwire.fw_err_pko + in lio_get_ethtool_stats()
1468 oct_dev->link_stats.fromwire.fw_err_link + in lio_get_ethtool_stats()
1469 oct_dev->link_stats.fromwire.fw_err_drop; in lio_get_ethtool_stats()
[all …]
H A Dlio_vf_main.c1218 lstats->multicast = oct->link_stats.fromwire.fw_total_mcast; in liquidio_get_stats64()
1221 lstats->rx_length_errors = oct->link_stats.fromwire.l2_err; in liquidio_get_stats64()
1223 lstats->rx_crc_errors = oct->link_stats.fromwire.fcs_err; in liquidio_get_stats64()
1225 lstats->rx_frame_errors = oct->link_stats.fromwire.frame_err; in liquidio_get_stats64()
1231 lstats->tx_aborted_errors = oct->link_stats.fromhost.fw_err_pko; in liquidio_get_stats64()
1232 lstats->tx_carrier_errors = oct->link_stats.fromhost.fw_err_link; in liquidio_get_stats64()
H A Dlio_main.c2083 lstats->multicast = oct->link_stats.fromwire.fw_total_mcast; in liquidio_get_stats64()
2084 lstats->collisions = oct->link_stats.fromhost.total_collisions; in liquidio_get_stats64()
2087 lstats->rx_length_errors = oct->link_stats.fromwire.l2_err; in liquidio_get_stats64()
2089 lstats->rx_crc_errors = oct->link_stats.fromwire.fcs_err; in liquidio_get_stats64()
2091 lstats->rx_frame_errors = oct->link_stats.fromwire.frame_err; in liquidio_get_stats64()
2093 lstats->rx_fifo_errors = oct->link_stats.fromwire.fifo_err; in liquidio_get_stats64()
2099 lstats->tx_aborted_errors = oct->link_stats.fromhost.fw_err_pko; in liquidio_get_stats64()
2100 lstats->tx_carrier_errors = oct->link_stats.fromhost.fw_err_link; in liquidio_get_stats64()
2101 lstats->tx_fifo_errors = oct->link_stats.fromhost.fifo_err; in liquidio_get_stats64()
H A Docteon_device.h581 struct oct_link_stats link_stats; /*stastics from firmware*/ member
H A Dlio_core.c1306 struct nic_rx_stats *rstats = &oct_dev->link_stats.fromwire; in octnet_nic_stats_callback()
1307 struct nic_tx_stats *tstats = &oct_dev->link_stats.fromhost; in octnet_nic_stats_callback()
/linux/drivers/scsi/elx/efct/
H A Defct_xport.c109 result->stats.link_stats.link_failure_error_count = in efct_xport_link_stats_cb()
111 result->stats.link_stats.loss_of_sync_error_count = in efct_xport_link_stats_cb()
113 result->stats.link_stats.primitive_sequence_error_count = in efct_xport_link_stats_cb()
115 result->stats.link_stats.invalid_transmission_word_error_count = in efct_xport_link_stats_cb()
117 result->stats.link_stats.crc_error_count = in efct_xport_link_stats_cb()
148 result->stats.link_stats.link_failure_error_count = in efct_xport_async_link_stats_cb()
150 result->stats.link_stats.loss_of_sync_error_count = in efct_xport_async_link_stats_cb()
152 result->stats.link_stats.primitive_sequence_error_count = in efct_xport_async_link_stats_cb()
154 result->stats.link_stats.invalid_transmission_word_error_count = in efct_xport_async_link_stats_cb()
156 result->stats.link_stats.crc_error_count = in efct_xport_async_link_stats_cb()
[all …]
H A Defct_xport.h96 struct efct_xport_link_stats link_stats; member
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drx.c882 struct iwl_stats_ntfy_per_link *link_stats; in iwl_mvm_stat_iterator_all_links() local
906 link_stats = &per_link[fw_link_id]; in iwl_mvm_stat_iterator_all_links()
909 le32_to_cpu(link_stats->beacon_counter); in iwl_mvm_stat_iterator_all_links()
915 -le32_to_cpu(link_stats->beacon_average_energy); in iwl_mvm_stat_iterator_all_links()
929 sig = -le32_to_cpu(link_stats->beacon_filter_average_energy); in iwl_mvm_stat_iterator_all_links()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2800soc.c200 .link_stats = rt2800_link_stats,
H A Drt2800pci.c355 .link_stats = rt2800_link_stats,
H A Drt2x00link.c305 rt2x00dev->ops->lib->link_stats(rt2x00dev, qual); in rt2x00link_tuner_sta()
H A Drt2800usb.c691 .link_stats = rt2800_link_stats,
H A Drt2x00.h554 void (*link_stats) (struct rt2x00_dev *rt2x00dev, member
H A Drt2500usb.c1831 .link_stats = rt2500usb_link_stats,
H A Drt2400pci.c1747 .link_stats = rt2400pci_link_stats,
H A Drt2500pci.c2045 .link_stats = rt2500pci_link_stats,
H A Drt73usb.c2332 .link_stats = rt73usb_link_stats,
H A Drt61pci.c2918 .link_stats = rt61pci_link_stats,
/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c1795 struct rtnl_link_stats64 link_stats; in myri10ge_get_ethtool_stats() local
1800 memset(&link_stats, 0, sizeof(link_stats)); in myri10ge_get_ethtool_stats()
1801 (void)myri10ge_get_stats(netdev, &link_stats); in myri10ge_get_ethtool_stats()
1803 data[i] = ((u64 *)&link_stats)[i]; in myri10ge_get_ethtool_stats()
/linux/drivers/scsi/lpfc/
H A Dlpfc.h1318 struct fc_host_statistics link_stats; member
H A Dlpfc_attr.c6616 struct fc_host_statistics *hs = &phba->link_stats; in lpfc_get_stats()