Home
last modified time | relevance | path

Searched refs:core_stats (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/sfc/
Dsiena.c540 struct rtnl_link_stats64 *core_stats) in siena_update_nic_stats() argument
557 if (core_stats) { in siena_update_nic_stats()
558 core_stats->rx_packets = stats[SIENA_STAT_rx_packets]; in siena_update_nic_stats()
559 core_stats->tx_packets = stats[SIENA_STAT_tx_packets]; in siena_update_nic_stats()
560 core_stats->rx_bytes = stats[SIENA_STAT_rx_bytes]; in siena_update_nic_stats()
561 core_stats->tx_bytes = stats[SIENA_STAT_tx_bytes]; in siena_update_nic_stats()
562 core_stats->rx_dropped = stats[SIENA_STAT_rx_nodesc_drop_cnt] + in siena_update_nic_stats()
565 core_stats->multicast = stats[SIENA_STAT_rx_multicast]; in siena_update_nic_stats()
566 core_stats->collisions = stats[SIENA_STAT_tx_collision]; in siena_update_nic_stats()
567 core_stats->rx_length_errors = in siena_update_nic_stats()
[all …]
Dfalcon.c2555 struct rtnl_link_stats64 *core_stats) in falcon_update_nic_stats() argument
2587 if (core_stats) { in falcon_update_nic_stats()
2588 core_stats->rx_packets = stats[FALCON_STAT_rx_packets]; in falcon_update_nic_stats()
2589 core_stats->tx_packets = stats[FALCON_STAT_tx_packets]; in falcon_update_nic_stats()
2590 core_stats->rx_bytes = stats[FALCON_STAT_rx_bytes]; in falcon_update_nic_stats()
2591 core_stats->tx_bytes = stats[FALCON_STAT_tx_bytes]; in falcon_update_nic_stats()
2592 core_stats->rx_dropped = stats[FALCON_STAT_rx_nodesc_drop_cnt] + in falcon_update_nic_stats()
2595 core_stats->multicast = stats[FALCON_STAT_rx_multicast]; in falcon_update_nic_stats()
2596 core_stats->rx_length_errors = in falcon_update_nic_stats()
2599 core_stats->rx_crc_errors = stats[FALCON_STAT_rx_bad]; in falcon_update_nic_stats()
[all …]
Def10.c967 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats() argument
995 if (core_stats) { in efx_ef10_update_stats()
996 core_stats->rx_packets = stats[EF10_STAT_rx_packets]; in efx_ef10_update_stats()
997 core_stats->tx_packets = stats[EF10_STAT_tx_packets]; in efx_ef10_update_stats()
998 core_stats->rx_bytes = stats[EF10_STAT_rx_bytes]; in efx_ef10_update_stats()
999 core_stats->tx_bytes = stats[EF10_STAT_tx_bytes]; in efx_ef10_update_stats()
1000 core_stats->rx_dropped = stats[EF10_STAT_rx_nodesc_drops] + in efx_ef10_update_stats()
1003 core_stats->multicast = stats[EF10_STAT_rx_multicast]; in efx_ef10_update_stats()
1004 core_stats->rx_length_errors = in efx_ef10_update_stats()
1007 core_stats->rx_crc_errors = stats[EF10_STAT_rx_bad]; in efx_ef10_update_stats()
[all …]
Dnet_driver.h1251 struct rtnl_link_stats64 *core_stats);