Home
last modified time | relevance | path

Searched refs:pstats (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.c110 struct rtl_stats *pstats, in _rtl92de_query_rxphystatus() argument
127 pstats->packet_matchbssid = packet_match_bssid; in _rtl92de_query_rxphystatus()
128 pstats->packet_toself = packet_toself; in _rtl92de_query_rxphystatus()
129 pstats->packet_beacon = packet_beacon; in _rtl92de_query_rxphystatus()
130 pstats->is_cck = is_cck_rate; in _rtl92de_query_rxphystatus()
131 pstats->rx_mimo_sig_qual[0] = -1; in _rtl92de_query_rxphystatus()
132 pstats->rx_mimo_sig_qual[1] = -1; in _rtl92de_query_rxphystatus()
195 pstats->rx_pwdb_all = pwdb_all; in _rtl92de_query_rxphystatus()
196 pstats->recvsignalpower = rx_pwr_all; in _rtl92de_query_rxphystatus()
199 if (pstats->rx_pwdb_all > 40) { in _rtl92de_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dtrx.c58 struct rtl_stats *pstats, u8 *pdesc, in _rtl92se_query_rxphystatus() argument
71 bool is_cck = pstats->is_cck; in _rtl92se_query_rxphystatus()
73 pstats->packet_matchbssid = packet_match_bssid; in _rtl92se_query_rxphystatus()
74 pstats->packet_toself = packet_toself; in _rtl92se_query_rxphystatus()
75 pstats->packet_beacon = packet_beacon; in _rtl92se_query_rxphystatus()
76 pstats->rx_mimo_sig_qual[0] = -1; in _rtl92se_query_rxphystatus()
77 pstats->rx_mimo_sig_qual[1] = -1; in _rtl92se_query_rxphystatus()
145 pstats->rx_pwdb_all = pwdb_all; in _rtl92se_query_rxphystatus()
146 pstats->recvsignalpower = rx_pwr_all; in _rtl92se_query_rxphystatus()
150 if (pstats->rx_pwdb_all > 40) { in _rtl92se_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/net/ethernet/amd/
Dnmclan_cs.c1135 static void pr_linux_stats(struct net_device_stats *pstats) in pr_linux_stats() argument
1139 (long)pstats->rx_packets, (long)pstats->tx_packets); in pr_linux_stats()
1141 (long)pstats->rx_errors, (long)pstats->tx_errors); in pr_linux_stats()
1143 (long)pstats->rx_dropped, (long)pstats->tx_dropped); in pr_linux_stats()
1145 (long)pstats->multicast, (long)pstats->collisions); in pr_linux_stats()
1148 (long)pstats->rx_length_errors, (long)pstats->rx_over_errors); in pr_linux_stats()
1150 (long)pstats->rx_crc_errors, (long)pstats->rx_frame_errors); in pr_linux_stats()
1152 (long)pstats->rx_fifo_errors, (long)pstats->rx_missed_errors); in pr_linux_stats()
1155 (long)pstats->tx_aborted_errors, (long)pstats->tx_carrier_errors); in pr_linux_stats()
1157 (long)pstats->tx_fifo_errors, (long)pstats->tx_heartbeat_errors); in pr_linux_stats()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.c108 struct rtl_stats *pstats, in _rtl92ce_query_rxphystatus() argument
125 pstats->packet_matchbssid = packet_match_bssid; in _rtl92ce_query_rxphystatus()
126 pstats->packet_toself = packet_toself; in _rtl92ce_query_rxphystatus()
127 pstats->is_cck = is_cck_rate; in _rtl92ce_query_rxphystatus()
128 pstats->packet_beacon = packet_beacon; in _rtl92ce_query_rxphystatus()
129 pstats->rx_mimo_sig_qual[0] = -1; in _rtl92ce_query_rxphystatus()
130 pstats->rx_mimo_sig_qual[1] = -1; in _rtl92ce_query_rxphystatus()
201 pstats->rx_pwdb_all = pwdb_all; in _rtl92ce_query_rxphystatus()
202 pstats->recvsignalpower = rx_pwr_all; in _rtl92ce_query_rxphystatus()
207 if (pstats->rx_pwdb_all > 40) in _rtl92ce_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c645 struct rtl_stats *pstats, in _rtl92c_query_rxphystatus() argument
664 pstats->packet_matchbssid = packet_match_bssid; in _rtl92c_query_rxphystatus()
665 pstats->packet_toself = packet_toself; in _rtl92c_query_rxphystatus()
666 pstats->packet_beacon = packet_beacon; in _rtl92c_query_rxphystatus()
667 pstats->is_cck = is_cck_rate; in _rtl92c_query_rxphystatus()
668 pstats->RX_SIGQ[0] = -1; in _rtl92c_query_rxphystatus()
669 pstats->RX_SIGQ[1] = -1; in _rtl92c_query_rxphystatus()
715 pstats->rx_pwdb_all = pwdb_all; in _rtl92c_query_rxphystatus()
716 pstats->recvsignalpower = rx_pwr_all; in _rtl92c_query_rxphystatus()
719 if (pstats->rx_pwdb_all > 40) in _rtl92c_query_rxphystatus()
[all …]
Dmac.h147 struct rtl_stats *pstats,
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.h136 #define PPORT_802_3_GET(pstats, c) \ argument
137 MLX5_GET64(ppcnt_reg, pstats->IEEE_802_3_counters, \
139 #define PPORT_2863_GET(pstats, c) \ argument
140 MLX5_GET64(ppcnt_reg, pstats->RFC_2863_counters, \
142 #define PPORT_2819_GET(pstats, c) \ argument
143 MLX5_GET64(ppcnt_reg, pstats->RFC_2819_counters, \
145 #define PPORT_PHY_STATISTICAL_GET(pstats, c) \ argument
146 MLX5_GET64(ppcnt_reg, (pstats)->phy_statistical_counters, \
148 #define PPORT_PER_PRIO_GET(pstats, prio, c) \ argument
149 MLX5_GET64(ppcnt_reg, pstats->per_prio_counters[prio], \
[all …]
Den_stats.c481 struct mlx5e_pport_stats *pstats = &priv->stats.pport; in mlx5e_grp_802_3_update_stats() local
488 out = pstats->IEEE_802_3_counters; in mlx5e_grp_802_3_update_stats()
532 struct mlx5e_pport_stats *pstats = &priv->stats.pport; in mlx5e_grp_2863_update_stats() local
539 out = pstats->RFC_2863_counters; in mlx5e_grp_2863_update_stats()
593 struct mlx5e_pport_stats *pstats = &priv->stats.pport; in mlx5e_grp_2819_update_stats() local
600 out = pstats->RFC_2819_counters; in mlx5e_grp_2819_update_stats()
658 struct mlx5e_pport_stats *pstats = &priv->stats.pport; in mlx5e_grp_phy_update_stats() local
665 out = pstats->phy_counters; in mlx5e_grp_phy_update_stats()
672 out = pstats->phy_statistical_counters; in mlx5e_grp_phy_update_stats()
721 struct mlx5e_pport_stats *pstats = &priv->stats.pport; in mlx5e_grp_eth_ext_update_stats() local
[all …]
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c551 struct host_port_stats *pstats = bnx2x_sp(bp, port_stats); in bnx2x_bmac_stats_update() local
628 pstats->pfc_frames_tx_hi = new->tx_stat_gtpp_hi; in bnx2x_bmac_stats_update()
629 pstats->pfc_frames_tx_lo = new->tx_stat_gtpp_lo; in bnx2x_bmac_stats_update()
631 pstats->pfc_frames_rx_hi = new->rx_stat_grpp_hi; in bnx2x_bmac_stats_update()
632 pstats->pfc_frames_rx_lo = new->rx_stat_grpp_lo; in bnx2x_bmac_stats_update()
636 pstats->mac_stx[1].rx_stat_mac_xpf_hi; in bnx2x_bmac_stats_update()
638 pstats->mac_stx[1].rx_stat_mac_xpf_lo; in bnx2x_bmac_stats_update()
641 pstats->mac_stx[1].tx_stat_outxoffsent_hi; in bnx2x_bmac_stats_update()
643 pstats->mac_stx[1].tx_stat_outxoffsent_lo; in bnx2x_bmac_stats_update()
646 pstats->pfc_frames_rx_hi; in bnx2x_bmac_stats_update()
[all …]
Dbnx2x_stats.h387 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \
388 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \
389 pstats->mac_stx[0].t##_hi = new->s##_hi; \
390 pstats->mac_stx[0].t##_lo = new->s##_lo; \
391 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \
392 pstats->mac_stx[1].t##_lo, diff.lo); \
412 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \
413 pstats->mac_stx[1].t##_lo, new->diff##_lo); \
418 ADD_EXTEND_64(pstats->mac_stx[1].s##_hi, \
419 pstats->mac_stx[1].s##_lo, \
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c296 const struct cmac_statistics *pstats; in t1_get_stats() local
299 pstats = p->mac->ops->statistics_update(p->mac, in t1_get_stats()
302 ns->tx_packets = pstats->TxUnicastFramesOK + in t1_get_stats()
303 pstats->TxMulticastFramesOK + pstats->TxBroadcastFramesOK; in t1_get_stats()
305 ns->rx_packets = pstats->RxUnicastFramesOK + in t1_get_stats()
306 pstats->RxMulticastFramesOK + pstats->RxBroadcastFramesOK; in t1_get_stats()
308 ns->tx_bytes = pstats->TxOctetsOK; in t1_get_stats()
309 ns->rx_bytes = pstats->RxOctetsOK; in t1_get_stats()
311 ns->tx_errors = pstats->TxLateCollisions + pstats->TxLengthErrors + in t1_get_stats()
312 pstats->TxUnderrun + pstats->TxFramesAbortedDueToXSCollisions; in t1_get_stats()
[all …]
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.c1479 struct rtllib_rx_stats *pstats, in _rtl92e_query_rxphystatus() argument
1507 pstats->bPacketMatchBSSID = precord_stats->bPacketMatchBSSID = in _rtl92e_query_rxphystatus()
1509 pstats->bPacketToSelf = precord_stats->bPacketToSelf = bpacket_toself; in _rtl92e_query_rxphystatus()
1510 pstats->bIsCCK = precord_stats->bIsCCK = is_cck_rate; in _rtl92e_query_rxphystatus()
1511 pstats->bPacketBeacon = precord_stats->bPacketBeacon = bPacketBeacon; in _rtl92e_query_rxphystatus()
1512 pstats->bToSelfBA = precord_stats->bToSelfBA = bToSelfBA; in _rtl92e_query_rxphystatus()
1528 pstats->RxMIMOSignalQuality[0] = -1; in _rtl92e_query_rxphystatus()
1529 pstats->RxMIMOSignalQuality[1] = -1; in _rtl92e_query_rxphystatus()
1585 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in _rtl92e_query_rxphystatus()
1586 pstats->RecvSignalPower = rx_pwr_all; in _rtl92e_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c468 char *pstats = dev->stats_mem.debugfs_mem; in ocrdma_tx_dbg_stats() local
474 memset(pstats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_tx_dbg_stats()
477 pstats += snprintf(pstats, 80, "DW[%d] = 0x%x\n", i, in ocrdma_tx_dbg_stats()
486 char *pstats = dev->stats_mem.debugfs_mem; in ocrdma_rx_dbg_stats() local
492 memset(pstats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_rx_dbg_stats()
495 pstats += snprintf(pstats, 80, "DW[%d] = 0x%x\n", i, in ocrdma_rx_dbg_stats()
641 struct ocrdma_stats *pstats = filp->private_data; in ocrdma_dbgfs_ops_write() local
642 struct ocrdma_dev *dev = pstats->dev; in ocrdma_dbgfs_ops_write()
654 switch (pstats->type) { in ocrdma_dbgfs_ops_write()
692 struct ocrdma_stats *pstats = filp->private_data; in ocrdma_dbgfs_ops_read() local
[all …]
/Linux-v4.19/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-net.c771 struct xlgmac_stats *pstats = &pdata->stats; in xlgmac_get_stats64() local
775 s->rx_packets = pstats->rxframecount_gb; in xlgmac_get_stats64()
776 s->rx_bytes = pstats->rxoctetcount_gb; in xlgmac_get_stats64()
777 s->rx_errors = pstats->rxframecount_gb - in xlgmac_get_stats64()
778 pstats->rxbroadcastframes_g - in xlgmac_get_stats64()
779 pstats->rxmulticastframes_g - in xlgmac_get_stats64()
780 pstats->rxunicastframes_g; in xlgmac_get_stats64()
781 s->multicast = pstats->rxmulticastframes_g; in xlgmac_get_stats64()
782 s->rx_length_errors = pstats->rxlengtherror; in xlgmac_get_stats64()
783 s->rx_crc_errors = pstats->rxcrcerror; in xlgmac_get_stats64()
[all …]
/Linux-v4.19/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c472 struct ieee80211_rx_stats *pstats) in cmpk_message_handle_rx() argument
482 if (pstats == NULL) in cmpk_message_handle_rx()
486 total_length = pstats->Length; in cmpk_message_handle_rx()
489 pcmd_buff = pstats->virtual_address; in cmpk_message_handle_rx()
Dr8192U_core.c740 static u32 get_rxpacket_shiftbytes_819xusb(struct ieee80211_rx_stats *pstats) in get_rxpacket_shiftbytes_819xusb() argument
742 return (sizeof(struct rx_desc_819x_usb) + pstats->RxDrvInfoSize in get_rxpacket_shiftbytes_819xusb()
743 + pstats->RxBufShift); in get_rxpacket_shiftbytes_819xusb()
938 struct ieee80211_rx_stats *pstats) in rtl819xusb_rx_command_packet() argument
942 status = cmpk_message_handle_rx(dev, pstats); in rtl819xusb_rx_command_packet()
4196 struct ieee80211_rx_stats *pstats, in rtl8192_query_rxphystatus() argument
4224 pstats->bPacketMatchBSSID = in rtl8192_query_rxphystatus()
4226 pstats->bPacketToSelf = precord_stats->bPacketToSelf = bpacket_toself; in rtl8192_query_rxphystatus()
4227 pstats->bIsCCK = precord_stats->bIsCCK = is_cck_rate; in rtl8192_query_rxphystatus()
4228 pstats->bPacketBeacon = precord_stats->bPacketBeacon = bPacketBeacon; in rtl8192_query_rxphystatus()
[all …]
Dr819xU_cmdpkt.h186 struct ieee80211_rx_stats *pstats);
/Linux-v4.19/net/bridge/
Dbr_multicast.c1747 struct bridge_mcast_stats *pstats; in br_multicast_err_count() local
1759 pstats = this_cpu_ptr(stats); in br_multicast_err_count()
1761 u64_stats_update_begin(&pstats->syncp); in br_multicast_err_count()
1764 pstats->mstats.igmp_parse_errors++; in br_multicast_err_count()
1768 pstats->mstats.mld_parse_errors++; in br_multicast_err_count()
1772 u64_stats_update_end(&pstats->syncp); in br_multicast_err_count()
2489 struct bridge_mcast_stats *pstats = this_cpu_ptr(stats); in br_mcast_stats_add() local
2493 u64_stats_update_begin(&pstats->syncp); in br_mcast_stats_add()
2499 pstats->mstats.igmp_v1reports[dir]++; in br_mcast_stats_add()
2502 pstats->mstats.igmp_v2reports[dir]++; in br_mcast_stats_add()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_fcoe.c696 struct fcoe_tx_stat pstats; in _qed_fcoe_get_pstats() local
699 memset(&pstats, 0, sizeof(pstats)); in _qed_fcoe_get_pstats()
702 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); in _qed_fcoe_get_pstats()
704 p_stats->fcoe_tx_byte_cnt = HILO_64_REGPAIR(pstats.fcoe_tx_byte_cnt); in _qed_fcoe_get_pstats()
706 HILO_64_REGPAIR(pstats.fcoe_tx_data_pkt_cnt); in _qed_fcoe_get_pstats()
708 HILO_64_REGPAIR(pstats.fcoe_tx_xfer_pkt_cnt); in _qed_fcoe_get_pstats()
710 HILO_64_REGPAIR(pstats.fcoe_tx_other_pkt_cnt); in _qed_fcoe_get_pstats()
Dqed_l2.c1620 *p_addr = p_resp->pfdev_info.stats_info.pstats.address; in __qed_get_vport_pstats_addrlen()
1621 *p_len = p_resp->pfdev_info.stats_info.pstats.len; in __qed_get_vport_pstats_addrlen()
1630 struct eth_pstorm_per_queue_stat pstats; in __qed_get_vport_pstats() local
1636 memset(&pstats, 0, sizeof(pstats)); in __qed_get_vport_pstats()
1637 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, pstats_len); in __qed_get_vport_pstats()
1640 HILO_64_REGPAIR(pstats.sent_ucast_bytes); in __qed_get_vport_pstats()
1642 HILO_64_REGPAIR(pstats.sent_mcast_bytes); in __qed_get_vport_pstats()
1644 HILO_64_REGPAIR(pstats.sent_bcast_bytes); in __qed_get_vport_pstats()
1646 HILO_64_REGPAIR(pstats.sent_ucast_pkts); in __qed_get_vport_pstats()
1648 HILO_64_REGPAIR(pstats.sent_mcast_pkts); in __qed_get_vport_pstats()
[all …]
Dqed_iscsi.c1036 struct pstorm_iscsi_stats_drv pstats; in _qed_iscsi_get_pstats() local
1039 memset(&pstats, 0, sizeof(pstats)); in _qed_iscsi_get_pstats()
1042 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); in _qed_iscsi_get_pstats()
1045 HILO_64_REGPAIR(pstats.iscsi_tx_bytes_cnt); in _qed_iscsi_get_pstats()
1047 HILO_64_REGPAIR(pstats.iscsi_tx_packet_cnt); in _qed_iscsi_get_pstats()
Dqed_ll2.c2119 struct core_ll2_pstorm_per_queue_stat pstats; in _qed_ll2_get_pstats() local
2123 memset(&pstats, 0, sizeof(pstats)); in _qed_ll2_get_pstats()
2126 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); in _qed_ll2_get_pstats()
2128 p_stats->sent_ucast_bytes = HILO_64_REGPAIR(pstats.sent_ucast_bytes); in _qed_ll2_get_pstats()
2129 p_stats->sent_mcast_bytes = HILO_64_REGPAIR(pstats.sent_mcast_bytes); in _qed_ll2_get_pstats()
2130 p_stats->sent_bcast_bytes = HILO_64_REGPAIR(pstats.sent_bcast_bytes); in _qed_ll2_get_pstats()
2131 p_stats->sent_ucast_pkts = HILO_64_REGPAIR(pstats.sent_ucast_pkts); in _qed_ll2_get_pstats()
2132 p_stats->sent_mcast_pkts = HILO_64_REGPAIR(pstats.sent_mcast_pkts); in _qed_ll2_get_pstats()
2133 p_stats->sent_bcast_pkts = HILO_64_REGPAIR(pstats.sent_bcast_pkts); in _qed_ll2_get_pstats()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c1494 const struct mac_stats *pstats; in cxgb_get_stats() local
1497 pstats = t3_mac_update_stats(&pi->mac); in cxgb_get_stats()
1500 ns->tx_bytes = pstats->tx_octets; in cxgb_get_stats()
1501 ns->tx_packets = pstats->tx_frames; in cxgb_get_stats()
1502 ns->rx_bytes = pstats->rx_octets; in cxgb_get_stats()
1503 ns->rx_packets = pstats->rx_frames; in cxgb_get_stats()
1504 ns->multicast = pstats->rx_mcast_frames; in cxgb_get_stats()
1506 ns->tx_errors = pstats->tx_underrun; in cxgb_get_stats()
1507 ns->rx_errors = pstats->rx_symbol_errs + pstats->rx_fcs_errs + in cxgb_get_stats()
1508 pstats->rx_too_long + pstats->rx_jabber + pstats->rx_short + in cxgb_get_stats()
[all …]
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c2168 struct xgbe_mmc_stats *pstats = &pdata->mmc_stats; in xgbe_get_stats64() local
2174 s->rx_packets = pstats->rxframecount_gb; in xgbe_get_stats64()
2175 s->rx_bytes = pstats->rxoctetcount_gb; in xgbe_get_stats64()
2176 s->rx_errors = pstats->rxframecount_gb - in xgbe_get_stats64()
2177 pstats->rxbroadcastframes_g - in xgbe_get_stats64()
2178 pstats->rxmulticastframes_g - in xgbe_get_stats64()
2179 pstats->rxunicastframes_g; in xgbe_get_stats64()
2180 s->multicast = pstats->rxmulticastframes_g; in xgbe_get_stats64()
2181 s->rx_length_errors = pstats->rxlengtherror; in xgbe_get_stats64()
2182 s->rx_crc_errors = pstats->rxcrcerror; in xgbe_get_stats64()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c896 AVG_PERF_COUNTER(priv->pstats.inflight_avg, in mlx4_en_xmit()
1010 AVG_PERF_COUNTER(priv->pstats.tx_pktsz_avg, skb->len); in mlx4_en_xmit()
1138 AVG_PERF_COUNTER(priv->pstats.inflight_avg, in mlx4_en_xmit_frame()
1165 AVG_PERF_COUNTER(priv->pstats.tx_pktsz_avg, length); in mlx4_en_xmit_frame()

12