/linux-6.6.21/drivers/net/wireless/ath/ath9k/ |
D | common.c | 34 struct ath_rx_status *rx_stats, in ath9k_cmn_rx_accept() argument 45 is_valid_tkip = rx_stats->rs_keyix != ATH9K_RXKEYIX_INVALID && in ath9k_cmn_rx_accept() 46 test_bit(rx_stats->rs_keyix, common->tkip_keymap); in ath9k_cmn_rx_accept() 49 !(rx_stats->rs_status & in ath9k_cmn_rx_accept() 58 if (rx_stats->rs_keyix == ATH9K_RXKEYIX_INVALID || in ath9k_cmn_rx_accept() 59 !test_bit(rx_stats->rs_keyix, common->ccmp_keymap)) in ath9k_cmn_rx_accept() 60 rx_stats->rs_status &= ~ATH9K_RXERR_KEYMISS; in ath9k_cmn_rx_accept() 65 (rx_stats->rs_status & ATH9K_RXERR_MIC); in ath9k_cmn_rx_accept() 73 if (rx_stats->rs_status != 0) { in ath9k_cmn_rx_accept() 76 if (rx_stats->rs_status & ATH9K_RXERR_CRC) { in ath9k_cmn_rx_accept() [all …]
|
D | htc_drv_txrx.c | 941 static inline void convert_htc_flag(struct ath_rx_status *rx_stats, in convert_htc_flag() argument 944 rx_stats->enc_flags = 0; in convert_htc_flag() 945 rx_stats->bw = RATE_INFO_BW_20; in convert_htc_flag() 947 rx_stats->bw = RATE_INFO_BW_40; in convert_htc_flag() 949 rx_stats->enc_flags |= RX_ENC_FLAG_SHORT_GI; in convert_htc_flag() 952 static void rx_status_htc_to_ath(struct ath_rx_status *rx_stats, in rx_status_htc_to_ath() argument 955 rx_stats->rs_datalen = be16_to_cpu(rxstatus->rs_datalen); in rx_status_htc_to_ath() 956 rx_stats->rs_status = rxstatus->rs_status; in rx_status_htc_to_ath() 957 rx_stats->rs_phyerr = rxstatus->rs_phyerr; in rx_status_htc_to_ath() 958 rx_stats->rs_rssi = rxstatus->rs_rssi; in rx_status_htc_to_ath() [all …]
|
D | common.h | 67 struct ath_rx_status *rx_stats, 72 struct ath_rx_status *rx_stats, 77 struct ath_rx_status *rx_stats, 81 struct ath_rx_status *rx_stats,
|
D | recv.c | 810 struct ath_rx_status *rx_stats, in ath9k_rx_skb_preprocess() argument 834 is_phyerr = rx_stats->rs_status & ATH9K_RXERR_PHY; in ath9k_rx_skb_preprocess() 835 if (!rx_stats->rs_datalen || in ath9k_rx_skb_preprocess() 836 (rx_stats->rs_datalen < 10 && !is_phyerr)) { in ath9k_rx_skb_preprocess() 846 if (rx_stats->rs_datalen > (common->rx_bufsize - ah->caps.rx_status_len)) { in ath9k_rx_skb_preprocess() 852 if (rx_stats->rs_more) in ath9k_rx_skb_preprocess() 862 if (rx_stats->rs_status & ATH9K_RXERR_CORRUPT_DESC) in ath9k_rx_skb_preprocess() 867 ath9k_process_tsf(rx_stats, rx_status, tsf); in ath9k_rx_skb_preprocess() 868 ath_debug_stat_rx(sc, rx_stats); in ath9k_rx_skb_preprocess() 874 if (rx_stats->rs_status & ATH9K_RXERR_PHY) { in ath9k_rx_skb_preprocess() [all …]
|
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | debugfs_sta.c | 248 struct ath11k_rx_peer_stats *rx_stats = arsta->rx_stats; in ath11k_dbg_sta_dump_rx_stats() local 253 if (!rx_stats) in ath11k_dbg_sta_dump_rx_stats() 265 rx_stats->num_msdu); in ath11k_dbg_sta_dump_rx_stats() 267 rx_stats->tcp_msdu_count); in ath11k_dbg_sta_dump_rx_stats() 269 rx_stats->udp_msdu_count); in ath11k_dbg_sta_dump_rx_stats() 271 rx_stats->ampdu_msdu_count); in ath11k_dbg_sta_dump_rx_stats() 273 rx_stats->non_ampdu_msdu_count); in ath11k_dbg_sta_dump_rx_stats() 275 rx_stats->stbc_count); in ath11k_dbg_sta_dump_rx_stats() 277 rx_stats->beamformed_count); in ath11k_dbg_sta_dump_rx_stats() 279 rx_stats->num_mpdu_fcs_ok); in ath11k_dbg_sta_dump_rx_stats() [all …]
|
/linux-6.6.21/drivers/net/hyperv/ |
D | netvsc_bpf.c | 27 struct netvsc_stats_rx *rx_stats = &nvchan->rx_stats; in netvsc_run_xdp() local 77 u64_stats_update_begin(&rx_stats->syncp); in netvsc_run_xdp() 79 rx_stats->xdp_redirect++; in netvsc_run_xdp() 80 rx_stats->packets++; in netvsc_run_xdp() 81 rx_stats->bytes += nvchan->rsc.pktlen; in netvsc_run_xdp() 83 u64_stats_update_end(&rx_stats->syncp); in netvsc_run_xdp() 87 u64_stats_update_begin(&rx_stats->syncp); in netvsc_run_xdp() 88 rx_stats->xdp_drop++; in netvsc_run_xdp() 89 u64_stats_update_end(&rx_stats->syncp); in netvsc_run_xdp()
|
D | netvsc_drv.c | 882 struct netvsc_stats_rx *rx_stats = &nvchan->rx_stats; in netvsc_recv_callback() local 895 u64_stats_update_begin(&rx_stats->syncp); in netvsc_recv_callback() 896 rx_stats->xdp_drop++; in netvsc_recv_callback() 897 u64_stats_update_end(&rx_stats->syncp); in netvsc_recv_callback() 917 u64_stats_update_begin(&rx_stats->syncp); in netvsc_recv_callback() 919 rx_stats->xdp_tx++; in netvsc_recv_callback() 921 rx_stats->packets++; in netvsc_recv_callback() 922 rx_stats->bytes += nvchan->rsc.pktlen; in netvsc_recv_callback() 925 ++rx_stats->broadcast; in netvsc_recv_callback() 927 ++rx_stats->multicast; in netvsc_recv_callback() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_stats.c | 224 struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; in ocrdma_rx_stats() local 231 convert_to_64bit(rx_stats->roce_frame_bytes_lo, in ocrdma_rx_stats() 232 rx_stats->roce_frame_bytes_hi)); in ocrdma_rx_stats() 234 (u64)rx_stats->roce_frame_icrc_drops); in ocrdma_rx_stats() 236 (u64)rx_stats->roce_frame_payload_len_drops); in ocrdma_rx_stats() 238 (u64)rx_stats->ud_drops); in ocrdma_rx_stats() 240 (u64)rx_stats->qp1_drops); in ocrdma_rx_stats() 242 (u64)rx_stats->psn_error_request_packets); in ocrdma_rx_stats() 244 (u64)rx_stats->psn_error_resp_packets); in ocrdma_rx_stats() 246 (u64)rx_stats->rnr_nak_timeouts); in ocrdma_rx_stats() [all …]
|
/linux-6.6.21/net/sunrpc/xprtrdma/ |
D | transport.c | 544 r_xprt->rx_stats.hardway_register_count += size; in rpcrdma_check_regbuf() 690 r_xprt->rx_stats.read_chunk_count, in xprt_rdma_print_stats() 691 r_xprt->rx_stats.write_chunk_count, in xprt_rdma_print_stats() 692 r_xprt->rx_stats.reply_chunk_count, in xprt_rdma_print_stats() 693 r_xprt->rx_stats.total_rdma_request, in xprt_rdma_print_stats() 694 r_xprt->rx_stats.total_rdma_reply, in xprt_rdma_print_stats() 695 r_xprt->rx_stats.pullup_copy_count, in xprt_rdma_print_stats() 696 r_xprt->rx_stats.fixup_copy_count, in xprt_rdma_print_stats() 697 r_xprt->rx_stats.hardway_register_count, in xprt_rdma_print_stats() 698 r_xprt->rx_stats.failed_marshal_count, in xprt_rdma_print_stats() [all …]
|
D | rpc_rdma.c | 365 r_xprt->rx_stats.read_chunk_count++; in rpcrdma_encode_read_list() 429 r_xprt->rx_stats.write_chunk_count++; in rpcrdma_encode_write_list() 430 r_xprt->rx_stats.total_rdma_request += mr->mr_length; in rpcrdma_encode_write_list() 441 r_xprt->rx_stats.write_chunk_count++; in rpcrdma_encode_write_list() 442 r_xprt->rx_stats.total_rdma_request += mr->mr_length; in rpcrdma_encode_write_list() 507 r_xprt->rx_stats.reply_chunk_count++; in rpcrdma_encode_reply_chunk() 508 r_xprt->rx_stats.total_rdma_request += mr->mr_length; in rpcrdma_encode_reply_chunk() 526 rep->rr_rxprt->rx_stats.reply_waits_for_send++; in rpcrdma_sendctx_done() 671 r_xprt->rx_stats.pullup_copy_count += xdr->tail[0].iov_len; in rpcrdma_pullup_tail_iov() 694 r_xprt->rx_stats.pullup_copy_count += len; in rpcrdma_pullup_pagelist() [all …]
|
/linux-6.6.21/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim_net.c | 59 struct vdpasim_dataq_stats rx_stats; member 276 u64_stats_update_begin(&net->rx_stats.syncp); in vdpasim_net_work() 277 net->rx_stats.pkts += rx_pkts; in vdpasim_net_work() 278 net->rx_stats.bytes += rx_bytes; in vdpasim_net_work() 279 net->rx_stats.drops += rx_drops; in vdpasim_net_work() 280 net->rx_stats.errors += rx_errors; in vdpasim_net_work() 281 net->rx_stats.overruns += rx_overruns; in vdpasim_net_work() 282 u64_stats_update_end(&net->rx_stats.syncp); in vdpasim_net_work() 299 start = u64_stats_fetch_begin(&net->rx_stats.syncp); in vdpasim_net_get_stats() 300 rx_pkts = net->rx_stats.pkts; in vdpasim_net_get_stats() [all …]
|
/linux-6.6.21/drivers/net/wireless/ath/ath12k/ |
D | dp_mon.c | 2170 ath12k_dp_mon_rx_update_peer_rate_table_stats(struct ath12k_rx_peer_stats *rx_stats, in ath12k_dp_mon_rx_update_peer_rate_table_stats() argument 2198 rx_stats->pkt_stats.rx_rate[rate_idx] += num_msdu; in ath12k_dp_mon_rx_update_peer_rate_table_stats() 2200 rx_stats->byte_stats.rx_rate[rate_idx] += user_stats->mpdu_ok_byte_count; in ath12k_dp_mon_rx_update_peer_rate_table_stats() 2202 rx_stats->byte_stats.rx_rate[rate_idx] += ppdu_info->mpdu_len; in ath12k_dp_mon_rx_update_peer_rate_table_stats() 2209 struct ath12k_rx_peer_stats *rx_stats = arsta->rx_stats; in ath12k_dp_mon_rx_update_peer_su_stats() local 2212 if (!rx_stats) in ath12k_dp_mon_rx_update_peer_su_stats() 2220 rx_stats->num_msdu += num_msdu; in ath12k_dp_mon_rx_update_peer_su_stats() 2221 rx_stats->tcp_msdu_count += ppdu_info->tcp_msdu_count + in ath12k_dp_mon_rx_update_peer_su_stats() 2223 rx_stats->udp_msdu_count += ppdu_info->udp_msdu_count; in ath12k_dp_mon_rx_update_peer_su_stats() 2224 rx_stats->other_msdu_count += ppdu_info->other_msdu_count; in ath12k_dp_mon_rx_update_peer_su_stats() [all …]
|
/linux-6.6.21/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_rx.c | 22 struct hostap_80211_rx_status *rx_stats) in hostap_dump_rx_80211() argument 31 name, rx_stats->signal, rx_stats->noise, rx_stats->rate, in hostap_dump_rx_80211() 64 struct hostap_80211_rx_status *rx_stats, int type) in prism2_rx_80211() argument 144 LWNG_SETVAL(mactime, 2, 0, 4, rx_stats->mac_time); in prism2_rx_80211() 148 LWNG_SETVAL(signal, 6, 0, 4, rx_stats->signal); in prism2_rx_80211() 149 LWNG_SETVAL(noise, 7, 0, 4, rx_stats->noise); in prism2_rx_80211() 150 LWNG_SETVAL(rate, 8, 0, 4, rx_stats->rate / 5); in prism2_rx_80211() 160 hdr->mactime = __cpu_to_be64(rx_stats->mac_time); in prism2_rx_80211() 164 hdr->datarate = htonl(rx_stats->rate); in prism2_rx_80211() 168 hdr->ssi_signal = htonl(rx_stats->signal); in prism2_rx_80211() [all …]
|
D | hostap_80211.h | 83 struct hostap_80211_rx_status *rx_stats, int type); 85 struct hostap_80211_rx_status *rx_stats); 87 struct hostap_80211_rx_status *rx_stats);
|
D | hostap_ap.c | 1284 struct hostap_80211_rx_status *rx_stats) in handle_authen() argument 1497 struct hostap_80211_rx_status *rx_stats, int reassoc) in handle_assoc() argument 1706 struct hostap_80211_rx_status *rx_stats) in handle_deauth() argument 1748 struct hostap_80211_rx_status *rx_stats) in handle_disassoc() argument 1866 struct hostap_80211_rx_status *rx_stats) in handle_pspoll() argument 1983 struct hostap_80211_rx_status *rx_stats) in handle_beacon() argument 2138 struct hostap_80211_rx_status *rx_stats) in handle_ap_item() argument 2186 handle_beacon(local, skb, rx_stats); in handle_ap_item() 2192 handle_pspoll(local, hdr, rx_stats); in handle_ap_item() 2222 handle_assoc(local, skb, rx_stats, 0); in handle_ap_item() [all …]
|
D | hostap_ap.h | 220 struct hostap_80211_rx_status *rx_stats); 245 struct hostap_80211_rx_status *rx_stats, 254 struct hostap_80211_rx_status *rx_stats);
|
/linux-6.6.21/drivers/net/ethernet/microsoft/mana/ |
D | mana_bpf.c | 83 struct mana_stats_rx *rx_stats; in mana_run_xdp() local 98 rx_stats = &rxq->stats; in mana_run_xdp() 111 u64_stats_update_begin(&rx_stats->syncp); in mana_run_xdp() 112 rx_stats->packets++; in mana_run_xdp() 113 rx_stats->bytes += pkt_len; in mana_run_xdp() 114 rx_stats->xdp_redirect++; in mana_run_xdp() 115 u64_stats_update_end(&rx_stats->syncp); in mana_run_xdp()
|
D | mana_ethtool.c | 110 struct mana_stats_rx *rx_stats; in mana_get_ethtool_stats() local 137 rx_stats = &apc->rxqs[q]->stats; in mana_get_ethtool_stats() 140 start = u64_stats_fetch_begin(&rx_stats->syncp); in mana_get_ethtool_stats() 141 packets = rx_stats->packets; in mana_get_ethtool_stats() 142 bytes = rx_stats->bytes; in mana_get_ethtool_stats() 143 xdp_drop = rx_stats->xdp_drop; in mana_get_ethtool_stats() 144 xdp_tx = rx_stats->xdp_tx; in mana_get_ethtool_stats() 145 xdp_redirect = rx_stats->xdp_redirect; in mana_get_ethtool_stats() 146 } while (u64_stats_fetch_retry(&rx_stats->syncp, start)); in mana_get_ethtool_stats()
|
/linux-6.6.21/drivers/net/ |
D | ifb.c | 54 struct ifb_q_stats rx_stats; member 165 start = u64_stats_fetch_begin(&txp->rx_stats.sync); in ifb_stats64() 166 packets = txp->rx_stats.packets; in ifb_stats64() 167 bytes = txp->rx_stats.bytes; in ifb_stats64() 168 } while (u64_stats_fetch_retry(&txp->rx_stats.sync, start)); in ifb_stats64() 199 u64_stats_init(&txp->rx_stats.sync); in ifb_dev_init() 267 ifb_fill_stats_data(&data, &txp->rx_stats); in ifb_get_ethtool_stats() 343 ifb_update_q_stats(&txp->rx_stats, skb->len); in ifb_xmit()
|
/linux-6.6.21/net/8021q/ |
D | vlan_core.c | 16 struct vlan_pcpu_stats *rx_stats; in vlan_do_receive() local 63 rx_stats = this_cpu_ptr(vlan_dev_priv(vlan_dev)->vlan_pcpu_stats); in vlan_do_receive() 65 u64_stats_update_begin(&rx_stats->syncp); in vlan_do_receive() 66 u64_stats_inc(&rx_stats->rx_packets); in vlan_do_receive() 67 u64_stats_add(&rx_stats->rx_bytes, skb->len); in vlan_do_receive() 69 u64_stats_inc(&rx_stats->rx_multicast); in vlan_do_receive() 70 u64_stats_update_end(&rx_stats->syncp); in vlan_do_receive()
|
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_rx.c | 37 struct libipw_rx_stats *rx_stats) in libipw_monitor_rx() argument 167 struct libipw_rx_stats *rx_stats, u16 type, in libipw_rx_frame_mgmt() argument 187 hostap_rx(skb2->dev, skb2, rx_stats); in libipw_rx_frame_mgmt() 194 prism2_rx_80211(ieee->apdev, skb, rx_stats, PRISM2_RX_MGMT); in libipw_rx_frame_mgmt() 206 hostap_rx(skb->dev, skb, rx_stats); in libipw_rx_frame_mgmt() 329 struct libipw_rx_stats *rx_stats) in libipw_rx() argument 380 if (rx_stats->mask & LIBIPW_STATMASK_RSSI) { in libipw_rx() 381 wstats.level = rx_stats->signal; in libipw_rx() 386 if (rx_stats->mask & LIBIPW_STATMASK_NOISE) { in libipw_rx() 387 wstats.noise = rx_stats->noise; in libipw_rx() [all …]
|
/linux-6.6.21/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 206 struct rtllib_rx_stats *rx_stats, u16 type, in rtllib_rx_frame_mgmt() argument 215 rx_stats->len = skb->len; in rtllib_rx_frame_mgmt() 216 rtllib_rx_mgt(ieee, skb, rx_stats); in rtllib_rx_frame_mgmt() 221 rtllib_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in rtllib_rx_frame_mgmt() 753 struct rtllib_rx_stats *rx_stats, in parse_subframe() argument 774 if (rx_stats->bContainHTC) in parse_subframe() 881 struct rtllib_rx_stats *rx_stats) in rtllib_rx_get_hdrlen() argument 893 rx_stats->bContainHTC = true; in rtllib_rx_get_hdrlen() 897 rx_stats->bIsQosData = true; in rtllib_rx_get_hdrlen() 1063 struct rtllib_rx_stats *rx_stats, in rtllib_rx_decrypt() argument [all …]
|
/linux-6.6.21/drivers/net/wireless/silabs/wfx/ |
D | hif_rx.c | 236 body->data.rx_stats.current_temp); in wfx_hif_generic_indication() 237 memcpy(&wdev->rx_stats, &body->data.rx_stats, sizeof(wdev->rx_stats)); in wfx_hif_generic_indication()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_ctrl_net.h | 154 struct octep_iface_rx_stats rx_stats; member 299 struct octep_iface_rx_stats *rx_stats,
|
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 44 struct ieee80211_rx_stats *rx_stats) in ieee80211_monitor_rx() argument 209 struct ieee80211_rx_stats *rx_stats, u16 type, in ieee80211_rx_frame_mgmt() argument 218 rx_stats->len = skb->len; in ieee80211_rx_frame_mgmt() 219 ieee80211_rx_mgt(ieee, (struct rtl_80211_hdr_4addr *)skb->data, rx_stats); in ieee80211_rx_frame_mgmt() 227 ieee80211_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in ieee80211_rx_frame_mgmt() 250 hostap_rx(skb2->dev, skb2, rx_stats); in ieee80211_rx_frame_mgmt() 257 prism2_rx_80211(ieee->apdev, skb, rx_stats, PRISM2_RX_MGMT); in ieee80211_rx_frame_mgmt() 269 hostap_rx(skb->dev, skb, rx_stats); in ieee80211_rx_frame_mgmt() 766 struct ieee80211_rx_stats *rx_stats, in parse_subframe() argument 791 if (rx_stats->bContainHTC) in parse_subframe() [all …]
|