/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_fcoe.c | 644 struct qed_fcoe_stats *p_stats) in _qed_fcoe_get_tstats() argument 654 p_stats->fcoe_rx_byte_cnt = HILO_64_REGPAIR(tstats.fcoe_rx_byte_cnt); in _qed_fcoe_get_tstats() 655 p_stats->fcoe_rx_data_pkt_cnt = in _qed_fcoe_get_tstats() 657 p_stats->fcoe_rx_xfer_pkt_cnt = in _qed_fcoe_get_tstats() 659 p_stats->fcoe_rx_other_pkt_cnt = in _qed_fcoe_get_tstats() 662 p_stats->fcoe_silent_drop_pkt_cmdq_full_cnt = in _qed_fcoe_get_tstats() 664 p_stats->fcoe_silent_drop_pkt_rq_full_cnt = in _qed_fcoe_get_tstats() 666 p_stats->fcoe_silent_drop_pkt_crc_error_cnt = in _qed_fcoe_get_tstats() 668 p_stats->fcoe_silent_drop_pkt_task_invalid_cnt = in _qed_fcoe_get_tstats() 670 p_stats->fcoe_silent_drop_total_pkt_cnt = in _qed_fcoe_get_tstats() [all …]
|
H A D | qed_iscsi.c | 885 struct qed_iscsi_stats *p_stats) in _qed_iscsi_get_tstats() argument 895 p_stats->iscsi_rx_bytes_cnt = in _qed_iscsi_get_tstats() 897 p_stats->iscsi_rx_packet_cnt = in _qed_iscsi_get_tstats() 899 p_stats->iscsi_rx_new_ooo_isle_events_cnt = in _qed_iscsi_get_tstats() 901 p_stats->iscsi_cmdq_threshold_cnt = in _qed_iscsi_get_tstats() 903 p_stats->iscsi_rq_threshold_cnt = in _qed_iscsi_get_tstats() 905 p_stats->iscsi_immq_threshold_cnt = in _qed_iscsi_get_tstats() 911 struct qed_iscsi_stats *p_stats) in _qed_iscsi_get_mstats() argument 921 p_stats->iscsi_rx_dropped_pdus_task_not_valid = in _qed_iscsi_get_mstats() 927 struct qed_iscsi_stats *p_stats) in _qed_iscsi_get_ustats() argument [all …]
|
H A D | qed_ll2.c | 2236 struct qed_ll2_stats *p_stats) in _qed_ll2_get_port_stats() argument 2246 p_stats->gsi_invalid_hdr += HILO_64_REGPAIR(port_stats.gsi_invalid_hdr); in _qed_ll2_get_port_stats() 2247 p_stats->gsi_invalid_pkt_length += in _qed_ll2_get_port_stats() 2249 p_stats->gsi_unsupported_pkt_typ += in _qed_ll2_get_port_stats() 2251 p_stats->gsi_crcchksm_error += in _qed_ll2_get_port_stats() 2258 struct qed_ll2_stats *p_stats) in _qed_ll2_get_tstats() argument 2269 p_stats->packet_too_big_discard += in _qed_ll2_get_tstats() 2271 p_stats->no_buff_discard += HILO_64_REGPAIR(tstats.no_buff_discard); in _qed_ll2_get_tstats() 2277 struct qed_ll2_stats *p_stats) in _qed_ll2_get_ustats() argument 2288 p_stats->rcv_ucast_bytes += HILO_64_REGPAIR(ustats.rcv_ucast_bytes); in _qed_ll2_get_ustats() [all …]
|
H A D | qed_l2.c | 1616 struct qed_eth_stats *p_stats, u16 statistics_bin) in __qed_get_vport_pstats() argument 1627 p_stats->common.tx_ucast_bytes += in __qed_get_vport_pstats() 1629 p_stats->common.tx_mcast_bytes += in __qed_get_vport_pstats() 1631 p_stats->common.tx_bcast_bytes += in __qed_get_vport_pstats() 1633 p_stats->common.tx_ucast_pkts += in __qed_get_vport_pstats() 1635 p_stats->common.tx_mcast_pkts += in __qed_get_vport_pstats() 1637 p_stats->common.tx_bcast_pkts += in __qed_get_vport_pstats() 1639 p_stats->common.tx_err_drop_pkts += in __qed_get_vport_pstats() 1645 struct qed_eth_stats *p_stats, u16 statistics_bin) in __qed_get_vport_tstats() argument 1665 p_stats->common.mftag_filter_discards += in __qed_get_vport_tstats() [all …]
|
H A D | qed_ll2.h | 229 u8 connection_handle, struct qed_ll2_stats *p_stats);
|
H A D | qed_sriov.c | 1517 struct pfvf_stats_info *p_stats) in qed_iov_vf_mbx_acquire_stats() argument 1519 p_stats->mstats.address = PXP_VF_BAR0_START_MSDM_ZONE_B + in qed_iov_vf_mbx_acquire_stats() 1522 p_stats->mstats.len = sizeof(struct eth_mstorm_per_queue_stat); in qed_iov_vf_mbx_acquire_stats() 1523 p_stats->ustats.address = PXP_VF_BAR0_START_USDM_ZONE_B + in qed_iov_vf_mbx_acquire_stats() 1526 p_stats->ustats.len = sizeof(struct eth_ustorm_per_queue_stat); in qed_iov_vf_mbx_acquire_stats() 1527 p_stats->pstats.address = PXP_VF_BAR0_START_PSDM_ZONE_B + in qed_iov_vf_mbx_acquire_stats() 1530 p_stats->pstats.len = sizeof(struct eth_pstorm_per_queue_stat); in qed_iov_vf_mbx_acquire_stats() 1531 p_stats->tstats.address = 0; in qed_iov_vf_mbx_acquire_stats() 1532 p_stats->tstats.len = 0; in qed_iov_vf_mbx_acquire_stats()
|
/openbmc/linux/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_ethtool.c | 238 tmp += port->port_res[k].p_stats.poll_receive_errors; in ehea_get_ethtool_stats() 242 tmp += port->port_res[k].p_stats.err_tcp_cksum; in ehea_get_ethtool_stats() 246 tmp += port->port_res[k].p_stats.err_ip_cksum; in ehea_get_ethtool_stats() 250 tmp += port->port_res[k].p_stats.err_frame_crc; in ehea_get_ethtool_stats() 254 tmp += port->port_res[k].p_stats.queue_stopped; in ehea_get_ethtool_stats()
|
H A D | ehea.h | 344 struct port_stats p_stats; member
|
H A D | ehea_main.c | 624 pr->p_stats.err_tcp_cksum++; in ehea_treat_poll_error() 626 pr->p_stats.err_ip_cksum++; in ehea_treat_poll_error() 628 pr->p_stats.err_frame_crc++; in ehea_treat_poll_error() 734 pr->p_stats.poll_receive_errors++; in ehea_proc_rwqes() 2082 pr->p_stats.queue_stopped++; in ehea_start_xmit()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_port.c | 283 struct mlx4_en_phy_stats *p_stats = &priv->phy_stats; in mlx4_en_DUMP_ETH_STATS() local 285 p_stats->rx_packets_phy = in mlx4_en_DUMP_ETH_STATS() 289 p_stats->tx_packets_phy = in mlx4_en_DUMP_ETH_STATS() 293 p_stats->rx_bytes_phy = in mlx4_en_DUMP_ETH_STATS() 297 p_stats->tx_bytes_phy = in mlx4_en_DUMP_ETH_STATS() 302 stats->rx_packets = p_stats->rx_packets_phy; in mlx4_en_DUMP_ETH_STATS() 303 stats->tx_packets = p_stats->tx_packets_phy; in mlx4_en_DUMP_ETH_STATS() 304 stats->rx_bytes = p_stats->rx_bytes_phy; in mlx4_en_DUMP_ETH_STATS() 305 stats->tx_bytes = p_stats->tx_bytes_phy; in mlx4_en_DUMP_ETH_STATS()
|
/openbmc/linux/include/linux/qed/ |
H A D | qed_rdma_if.h | 663 struct qed_ll2_stats *p_stats);
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 8253 struct rtnl_hw_stats64 *p_stats) in mlxsw_sp_router_port_l3_stats_fetch() argument 8276 p_stats->rx_packets = MLXSW_SP_ROUTER_ALL_GOOD(ingress, packets); in mlxsw_sp_router_port_l3_stats_fetch() 8277 p_stats->tx_packets = MLXSW_SP_ROUTER_ALL_GOOD(egress, packets); in mlxsw_sp_router_port_l3_stats_fetch() 8278 p_stats->rx_bytes = MLXSW_SP_ROUTER_ALL_GOOD(ingress, bytes); in mlxsw_sp_router_port_l3_stats_fetch() 8279 p_stats->tx_bytes = MLXSW_SP_ROUTER_ALL_GOOD(egress, bytes); in mlxsw_sp_router_port_l3_stats_fetch() 8280 p_stats->rx_errors = ingress.error_packets; in mlxsw_sp_router_port_l3_stats_fetch() 8281 p_stats->tx_errors = egress.error_packets; in mlxsw_sp_router_port_l3_stats_fetch() 8282 p_stats->rx_dropped = ingress.discard_packets; in mlxsw_sp_router_port_l3_stats_fetch() 8283 p_stats->tx_dropped = egress.discard_packets; in mlxsw_sp_router_port_l3_stats_fetch() 8284 p_stats->multicast = ingress.good_multicast_packets + in mlxsw_sp_router_port_l3_stats_fetch()
|
/openbmc/linux/net/core/ |
H A D | dev.c | 8182 struct rtnl_hw_stats64 *p_stats, in netdev_offload_xstats_get_stats() argument 8208 if (p_stats) in netdev_offload_xstats_get_stats() 8209 *p_stats = *stats; in netdev_offload_xstats_get_stats() 8217 struct rtnl_hw_stats64 *p_stats, bool *p_used, in netdev_offload_xstats_get() argument 8222 if (p_stats) in netdev_offload_xstats_get() 8223 return netdev_offload_xstats_get_stats(dev, type, p_stats, in netdev_offload_xstats_get() 8249 const struct rtnl_hw_stats64 *p_stats) in netdev_offload_xstats_push_delta() argument 8259 netdev_hw_stats64_add(stats, p_stats); in netdev_offload_xstats_push_delta()
|