Home
last modified time | relevance | path

Searched refs:eth_stats (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_repr.c53 struct ice_eth_stats *eth_stats; in ice_repr_get_stats64() local
61 eth_stats = &vsi->eth_stats; in ice_repr_get_stats64()
63 stats->tx_packets = eth_stats->tx_unicast + eth_stats->tx_broadcast + in ice_repr_get_stats64()
64 eth_stats->tx_multicast; in ice_repr_get_stats64()
65 stats->rx_packets = eth_stats->rx_unicast + eth_stats->rx_broadcast + in ice_repr_get_stats64()
66 eth_stats->rx_multicast; in ice_repr_get_stats64()
67 stats->tx_bytes = eth_stats->tx_bytes; in ice_repr_get_stats64()
68 stats->rx_bytes = eth_stats->rx_bytes; in ice_repr_get_stats64()
69 stats->multicast = eth_stats->rx_multicast; in ice_repr_get_stats64()
70 stats->tx_errors = eth_stats->tx_errors; in ice_repr_get_stats64()
[all …]
H A Dice_ethtool.c52 ICE_VSI_STAT("rx_unicast", eth_stats.rx_unicast),
53 ICE_VSI_STAT("tx_unicast", eth_stats.tx_unicast),
54 ICE_VSI_STAT("rx_multicast", eth_stats.rx_multicast),
55 ICE_VSI_STAT("tx_multicast", eth_stats.tx_multicast),
56 ICE_VSI_STAT("rx_broadcast", eth_stats.rx_broadcast),
57 ICE_VSI_STAT("tx_broadcast", eth_stats.tx_broadcast),
58 ICE_VSI_STAT("rx_bytes", eth_stats.rx_bytes),
59 ICE_VSI_STAT("tx_bytes", eth_stats.tx_bytes),
60 ICE_VSI_STAT("rx_dropped", eth_stats.rx_discards),
61 ICE_VSI_STAT("rx_unknown_protocol", eth_stats.rx_unknown_protocol),
[all …]
H A Dice.h382 struct ice_eth_stats eth_stats; member
H A Dice_sriov.c1529 stats = &vsi->eth_stats; in ice_get_vf_stats()
/openbmc/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_ethtool.c109 void *eth_stats = &apc->eth_stats; in mana_get_ethtool_stats() local
134 data[i++] = *(u64 *)(eth_stats + mana_eth_stats[q].offset); in mana_get_ethtool_stats()
H A Dmana_en.c391 apc->eth_stats.stop_queue++; in mana_start_xmit()
418 apc->eth_stats.wake_queue++; in mana_start_xmit()
1405 apc->eth_stats.tx_cqe_err++; in mana_poll_tx_cq()
1416 apc->eth_stats.tx_cqe_unknown_type++; in mana_poll_tx_cq()
1456 apc->eth_stats.wake_queue++; in mana_poll_tx_cq()
1706 apc->eth_stats.rx_coalesced_err++; in mana_process_rx_cqe()
1716 apc->eth_stats.rx_cqe_unknown_type++; in mana_process_rx_cqe()
2424 apc->eth_stats.hc_tx_bytes = resp.hc_tx_bytes; in mana_query_gf_stats()
2425 apc->eth_stats.hc_tx_ucast_pkts = resp.hc_tx_ucast_pkts; in mana_query_gf_stats()
2426 apc->eth_stats.hc_tx_ucast_bytes = resp.hc_tx_ucast_bytes; in mana_query_gf_stats()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_stats.c554 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_bmac_stats_update()
660 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_mstat_stats_update()
751 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_emac_stats_update()
809 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_hw_stats_update()
926 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_storm_stats_update()
1119 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_net_stats_update()
1189 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_drv_stats_update()
1255 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_stats_update()
1586 memset(&bp->eth_stats, 0, sizeof(bp->eth_stats)); in bnx2x_memset_stats()
1694 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_save_statistics()
[all …]
H A Dbnx2x_main.c926 bp->eth_stats.unrecoverable_error++; in bnx2x_panic_dump()
10128 bp->eth_stats.recoverable_error; in bnx2x_parity_recover()
10130 bp->eth_stats.unrecoverable_error; in bnx2x_parity_recover()
10149 bp->eth_stats.recoverable_error = in bnx2x_parity_recover()
10151 bp->eth_stats.unrecoverable_error = in bnx2x_parity_recover()
15146 bp->eth_stats.ptp_skip_tx_ts++; in bnx2x_ptp_task()
H A Dbnx2x.h1715 struct bnx2x_eth_stats eth_stats; member
H A Dbnx2x_cmn.c3883 bp->eth_stats.ptp_skip_tx_ts++; in bnx2x_start_xmit()
3886 bp->eth_stats.ptp_skip_tx_ts++; in bnx2x_start_xmit()
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc.c807 ndev_ctx->eth_stats.wake_queue++; in netvsc_send_tx_complete()
1121 ndev_ctx->eth_stats.stop_queue++; in netvsc_send_pkt()
1125 ndev_ctx->eth_stats.stop_queue++; in netvsc_send_pkt()
1137 ndev_ctx->eth_stats.wake_queue++; in netvsc_send_pkt()
1232 ++ndev_ctx->eth_stats.tx_send_full; in netvsc_send()
1329 ++ndev_ctx->eth_stats.rx_comp_busy; in send_recv_completions()
H A Dnetvsc_drv.c506 ++net_device_ctx->eth_stats.tx_scattered; in netvsc_xmit()
513 ++net_device_ctx->eth_stats.tx_too_big; in netvsc_xmit()
572 ++net_device_ctx->eth_stats.vlan_error; in netvsc_xmit()
669 ++net_device_ctx->eth_stats.tx_busy; in netvsc_xmit()
674 ++net_device_ctx->eth_stats.tx_no_space; in netvsc_xmit()
683 ++net_device_ctx->eth_stats.tx_no_memory; in netvsc_xmit()
906 ++net_device_ctx->eth_stats.rx_no_memory; in netvsc_recv_callback()
1507 const void *nds = &ndc->eth_stats; in netvsc_get_ethtool_stats()
H A Dhyperv_net.h1047 struct netvsc_ethtool_stats eth_stats; member
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_port.h91 u8 __iomem *eth_stats; member
H A Dnfp_port.c194 port->eth_stats = in nfp_port_init_phy_port()
H A Dnfp_net_ethtool.c1046 if (!__nfp_port_get_eth_port(port) || !port->eth_stats) in nfp_mac_get_stats_count()
1058 if (!__nfp_port_get_eth_port(port) || !port->eth_stats) in nfp_mac_get_stats_strings()
1073 if (!__nfp_port_get_eth_port(port) || !port->eth_stats) in nfp_mac_get_stats()
1077 *data++ = readq(port->eth_stats + nfp_mac_et_stats[i].off); in nfp_mac_get_stats()
H A Dnfp_net_repr.c62 u8 __iomem *mem = port->eth_stats; in nfp_repr_phy_port_get_stats64()
/openbmc/linux/include/net/mana/
H A Dmana.h434 struct mana_ethtool_stats eth_stats; member
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c285 I40E_VSI_STAT("rx_unicast", eth_stats.rx_unicast),
286 I40E_VSI_STAT("tx_unicast", eth_stats.tx_unicast),
287 I40E_VSI_STAT("rx_multicast", eth_stats.rx_multicast),
288 I40E_VSI_STAT("tx_multicast", eth_stats.tx_multicast),
289 I40E_VSI_STAT("rx_broadcast", eth_stats.rx_broadcast),
290 I40E_VSI_STAT("tx_broadcast", eth_stats.tx_broadcast),
291 I40E_VSI_STAT("rx_unknown_protocol", eth_stats.rx_unknown_protocol),
H A Di40e.h839 struct i40e_eth_stats eth_stats; member
H A Di40e_virtchnl_pf.c2845 stats = vsi->eth_stats; in i40e_vc_get_stats_msg()
4998 stats = &vsi->eth_stats; in i40e_get_vf_stats()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_main.c3088 struct qed_eth_stats eth_stats; in qed_get_protocol_stats() local
3094 qed_get_vport_stats_context(cdev, &eth_stats, true); in qed_get_protocol_stats()
3096 eth_stats.common.rx_ucast_pkts; in qed_get_protocol_stats()
3098 eth_stats.common.tx_ucast_pkts; in qed_get_protocol_stats()
H A Dqed_mfw_hsi.h174 struct eth_stats { struct
271 struct eth_stats eth; argument
/openbmc/linux/drivers/net/usb/
H A Dcatc.c102 enum eth_stats { enum
/openbmc/linux/drivers/net/ethernet/alacritech/
H A Dslicoss.c1491 struct ethtool_stats *eth_stats, u64 *data) in slic_get_ethtool_stats() argument

12