/linux/drivers/net/wireless/ath/ath9k/ |
A D | common.c | 34 struct ath_rx_status *rx_stats, in ath9k_cmn_rx_accept() argument 49 !(rx_stats->rs_status & in ath9k_cmn_rx_accept() 73 if (rx_stats->rs_status != 0) { in ath9k_cmn_rx_accept() 120 struct ath_rx_status *rx_stats, in ath9k_cmn_rx_skb_postprocess() argument 150 keyix = rx_stats->rs_keyix; in ath9k_cmn_rx_skb_postprocess() 188 if (rx_stats->rs_rate & 0x80) { in ath9k_cmn_process_rate() 192 rxs->bw = rx_stats->bw; in ath9k_cmn_process_rate() 220 int rssi = rx_stats->rs_rssi; in ath9k_cmn_process_rssi() 226 if (rx_stats->rs_moreaggr) { in ath9k_cmn_process_rssi() 246 rssi = rx_stats->rs_rssi_ctl[i]; in ath9k_cmn_process_rssi() [all …]
|
A D | htc_drv_txrx.c | 938 rx_stats->enc_flags = 0; in convert_htc_flag() 939 rx_stats->bw = RATE_INFO_BW_20; in convert_htc_flag() 941 rx_stats->bw = RATE_INFO_BW_40; in convert_htc_flag() 952 rx_stats->rs_rssi = rxstatus->rs_rssi; in rx_status_htc_to_ath() 954 rx_stats->rs_rate = rxstatus->rs_rate; in rx_status_htc_to_ath() 956 rx_stats->rs_more = rxstatus->rs_more; in rx_status_htc_to_ath() 959 sizeof(rx_stats->rs_rssi_ctl)); in rx_status_htc_to_ath() 961 sizeof(rx_stats->rs_rssi_ext)); in rx_status_htc_to_ath() 966 convert_htc_flag(rx_stats, rxstatus); in rx_status_htc_to_ath() 980 struct ath_rx_status rx_stats; in ath9k_rx_prepare() local [all …]
|
A 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,
|
A D | recv.c | 810 struct ath_rx_status *rx_stats, in ath9k_rx_skb_preprocess() argument 835 if (!rx_stats->rs_datalen || in ath9k_rx_skb_preprocess() 852 if (rx_stats->rs_more) 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() 907 rx_stats->is_mybeacon = true; in ath9k_rx_skb_preprocess() 922 rx_stats->rs_rate); in ath9k_rx_skb_preprocess() 928 if (rx_stats->is_mybeacon) in ath9k_rx_skb_preprocess() 937 rx_status->antenna = rx_stats->rs_antenna; in ath9k_rx_skb_preprocess() [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | debugfs_sta.c | 324 struct ath11k_rx_peer_stats *rx_stats = arsta->rx_stats; in ath11k_dbg_sta_dump_rx_stats() local 360 rx_stats->gi_count[0], rx_stats->gi_count[1], in ath11k_dbg_sta_dump_rx_stats() 361 rx_stats->gi_count[2], rx_stats->gi_count[3]); in ath11k_dbg_sta_dump_rx_stats() 364 rx_stats->bw_count[0], rx_stats->bw_count[1], in ath11k_dbg_sta_dump_rx_stats() 365 rx_stats->bw_count[2], rx_stats->bw_count[3]); in ath11k_dbg_sta_dump_rx_stats() 367 rx_stats->coding_count[0], rx_stats->coding_count[1]); in ath11k_dbg_sta_dump_rx_stats() 370 rx_stats->pream_cnt[0], rx_stats->pream_cnt[1], in ath11k_dbg_sta_dump_rx_stats() 371 rx_stats->pream_cnt[2], rx_stats->pream_cnt[3], in ath11k_dbg_sta_dump_rx_stats() 390 rx_stats->dcm_count, rx_stats->ru_alloc_cnt[0], in ath11k_dbg_sta_dump_rx_stats() 391 rx_stats->ru_alloc_cnt[1], rx_stats->ru_alloc_cnt[2], in ath11k_dbg_sta_dump_rx_stats() [all …]
|
/linux/drivers/infiniband/hw/ocrdma/ |
A D | ocrdma_stats.c | 224 struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; in ocrdma_rx_stats() local 232 rx_stats->roce_frame_bytes_hi)); in ocrdma_rx_stats() 238 (u64)rx_stats->ud_drops); in ocrdma_rx_stats() 240 (u64)rx_stats->qp1_drops); in ocrdma_rx_stats() 256 (u64)rx_stats->rq_rnr_naks); in ocrdma_rx_stats() 258 (u64)rx_stats->srq_rnr_naks); in ocrdma_rx_stats() 261 rx_stats->roce_frames_hi)); in ocrdma_rx_stats() 270 struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; in ocrdma_sysfs_rcv_pkts() local 273 rx_stats->roce_frames_hi) + (u64)rx_stats->roce_frame_icrc_drops in ocrdma_sysfs_rcv_pkts() 281 struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; in ocrdma_sysfs_rcv_data() local [all …]
|
/linux/drivers/net/ethernet/neterion/vxge/ |
A D | vxge-ethtool.c | 332 *ptr++ = vpath_info->rx_stats.rx_vld_frms; in vxge_get_ethtool_stats() 342 *ptr++ = vpath_info->rx_stats.rx_long_frms; in vxge_get_ethtool_stats() 345 *ptr++ = vpath_info->rx_stats.rx_frag_frms; in vxge_get_ethtool_stats() 357 *ptr++ = vpath_info->rx_stats.rx_ip; in vxge_get_ethtool_stats() 359 *ptr++ = vpath_info->rx_stats.rx_ip_octets; in vxge_get_ethtool_stats() 360 *ptr++ = vpath_info->rx_stats.rx_err_ip; in vxge_get_ethtool_stats() 361 *ptr++ = vpath_info->rx_stats.rx_icmp; in vxge_get_ethtool_stats() 362 *ptr++ = vpath_info->rx_stats.rx_tcp; in vxge_get_ethtool_stats() 363 *ptr++ = vpath_info->rx_stats.rx_udp; in vxge_get_ethtool_stats() 364 *ptr++ = vpath_info->rx_stats.rx_err_tcp; in vxge_get_ethtool_stats() [all …]
|
/linux/net/sunrpc/xprtrdma/ |
A D | transport.c | 704 r_xprt->rx_stats.read_chunk_count, in xprt_rdma_print_stats() 705 r_xprt->rx_stats.write_chunk_count, in xprt_rdma_print_stats() 706 r_xprt->rx_stats.reply_chunk_count, in xprt_rdma_print_stats() 708 r_xprt->rx_stats.total_rdma_reply, in xprt_rdma_print_stats() 710 r_xprt->rx_stats.fixup_copy_count, in xprt_rdma_print_stats() 713 r_xprt->rx_stats.bad_reply_count, in xprt_rdma_print_stats() 716 r_xprt->rx_stats.mrs_recycled, in xprt_rdma_print_stats() 717 r_xprt->rx_stats.mrs_orphaned, in xprt_rdma_print_stats() 718 r_xprt->rx_stats.mrs_allocated, in xprt_rdma_print_stats() 719 r_xprt->rx_stats.local_inv_needed, in xprt_rdma_print_stats() [all …]
|
A D | rpc_rdma.c | 369 r_xprt->rx_stats.read_chunk_count++; in rpcrdma_encode_read_list() 433 r_xprt->rx_stats.write_chunk_count++; in rpcrdma_encode_write_list() 445 r_xprt->rx_stats.write_chunk_count++; in rpcrdma_encode_write_list() 511 r_xprt->rx_stats.reply_chunk_count++; in rpcrdma_encode_reply_chunk() 530 rep->rr_rxprt->rx_stats.reply_waits_for_send++; in rpcrdma_sendctx_done() 698 r_xprt->rx_stats.pullup_copy_count += len; in rpcrdma_pullup_pagelist() 939 r_xprt->rx_stats.nomsg_call_count++; in rpcrdma_marshal_req() 986 r_xprt->rx_stats.failed_marshal_count++; in rpcrdma_marshal_req() 1283 r_xprt->rx_stats.fixup_copy_count += in rpcrdma_decode_msg() 1286 r_xprt->rx_stats.total_rdma_reply += writelist; in rpcrdma_decode_msg() [all …]
|
/linux/drivers/net/wireless/intersil/hostap/ |
A 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() 164 hdr->datarate = htonl(rx_stats->rate); in prism2_rx_80211() 187 hdr->rate = rx_stats->rate / 5; in prism2_rx_80211() 188 hdr->dbm_antsignal = rx_stats->signal; in prism2_rx_80211() 189 hdr->dbm_antnoise = rx_stats->noise; in prism2_rx_80211() 486 hostap_rx(skb2->dev, skb2, rx_stats); in hostap_rx_frame_mgmt() 508 hostap_rx(skb->dev, skb, rx_stats); in hostap_rx_frame_mgmt() 765 wstats.level = rx_stats->signal; in hostap_80211_rx() 766 wstats.noise = rx_stats->noise; in hostap_80211_rx() [all …]
|
A 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);
|
A D | hostap_ap.c | 2186 handle_beacon(local, skb, rx_stats); in handle_ap_item() 2192 handle_pspoll(local, hdr, rx_stats); in handle_ap_item() 2320 memset(&rx_stats, 0, sizeof(rx_stats)); in schedule_packet_send() 2966 hostap_rx(dev, skb, rx_stats); in hostap_handle_sta_rx() 3000 hostap_rx(dev, skb, rx_stats); in hostap_handle_sta_rx() 3046 hostap_rx(dev, skb, rx_stats); in hostap_handle_sta_rx() 3178 sta->last_rx_rate = rx_stats->rate; in hostap_update_rx_stats() 3180 if (rx_stats->rate == 10) in hostap_update_rx_stats() 3182 else if (rx_stats->rate == 20) in hostap_update_rx_stats() 3184 else if (rx_stats->rate == 55) in hostap_update_rx_stats() [all …]
|
A 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/net/mac80211/ |
A D | ethtool.c | 82 data[i++] += sta->rx_stats.packets; \ in ieee80211_get_stats() 83 data[i++] += sta->rx_stats.bytes; \ in ieee80211_get_stats() 84 data[i++] += sta->rx_stats.num_duplicates; \ in ieee80211_get_stats() 85 data[i++] += sta->rx_stats.fragments; \ in ieee80211_get_stats() 86 data[i++] += sta->rx_stats.dropped; \ in ieee80211_get_stats()
|
/linux/net/8021q/ |
A 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 rx_stats->rx_packets++; in vlan_do_receive() 67 rx_stats->rx_bytes += skb->len; in vlan_do_receive() 69 rx_stats->rx_multicast++; in vlan_do_receive() 70 u64_stats_update_end(&rx_stats->syncp); in vlan_do_receive()
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
A 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() 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() 393 wstats.qual = rx_stats->signal; in libipw_rx() [all …]
|
/linux/drivers/staging/rtl8192e/ |
A D | rtllib_rx.c | 216 rx_stats->len = skb->len; in rtllib_rx_frame_mgmt() 217 rtllib_rx_mgt(ieee, skb, rx_stats); in rtllib_rx_frame_mgmt() 785 if (rx_stats->bContainHTC) in parse_subframe() 905 rx_stats->bContainHTC = true; in rtllib_rx_get_hdrlen() 909 rx_stats->bIsQosData = true; in rtllib_rx_get_hdrlen() 1092 if ((!rx_stats->Decrypted)) in rtllib_rx_decrypt() 1226 struct rtllib_rx_stats *rx_stats, in rtllib_rx_indicate_pkt_legacy() argument 1294 struct rtllib_rx_stats *rx_stats) in rtllib_rx_InfraAdhoc() argument 1466 struct rtllib_rx_stats *rx_stats) in rtllib_rx_Master() argument 1472 struct rtllib_rx_stats *rx_stats) in rtllib_rx_Monitor() argument [all …]
|
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_main.c | 88 struct hinic_rxq_stats rx_stats; in update_rx_stats() local 90 u64_stats_init(&rx_stats.syncp); in update_rx_stats() 92 hinic_rxq_get_stats(rxq, &rx_stats); in update_rx_stats() 95 nic_rx_stats->bytes += rx_stats.bytes; in update_rx_stats() 96 nic_rx_stats->pkts += rx_stats.pkts; in update_rx_stats() 97 nic_rx_stats->errors += rx_stats.errors; in update_rx_stats() 98 nic_rx_stats->csum_errors += rx_stats.csum_errors; in update_rx_stats() 863 nic_rx_stats = &nic_dev->rx_stats; in hinic_get_stats64() 1179 struct hinic_rxq_stats *rx_stats; in nic_dev_init() local 1242 rx_stats = &nic_dev->rx_stats; in nic_dev_init() [all …]
|
/linux/drivers/staging/wfx/ |
A D | hif_rx.c | 250 body->data.rx_stats.current_temp); in hif_generic_indication() 251 memcpy(&wdev->rx_stats, &body->data.rx_stats, in hif_generic_indication() 252 sizeof(wdev->rx_stats)); in hif_generic_indication()
|
/linux/drivers/staging/rtl8192u/ieee80211/ |
A D | ieee80211_rx.c | 44 struct ieee80211_rx_stats *rx_stats) in ieee80211_monitor_rx() argument 218 rx_stats->len = skb->len; in ieee80211_rx_frame_mgmt() 250 hostap_rx(skb2->dev, skb2, rx_stats); 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() 880 struct ieee80211_rx_stats *rx_stats) in ieee80211_rx() argument 932 rx_stats->bContainHTC = true; in ieee80211_rx() 943 wstats.level = rx_stats->rssi; in ieee80211_rx() 944 wstats.noise = rx_stats->noise; in ieee80211_rx() [all …]
|
/linux/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_main.c | 80 rx_ring->rx_stats.alloc_failed++; in fm10k_alloc_mapped_page() 93 rx_ring->rx_stats.alloc_failed++; in fm10k_alloc_mapped_page() 314 rx_ring->rx_stats.alloc_failed++; in fm10k_fetch_rx_buffer() 364 ring->rx_stats.csum_err++; in fm10k_rx_checksum() 376 ring->rx_stats.csum_good++; in fm10k_rx_checksum() 522 rx_ring->rx_stats.switch_errors++; in fm10k_cleanup_headers() 524 rx_ring->rx_stats.drops++; in fm10k_cleanup_headers() 526 rx_ring->rx_stats.pp_errors++; in fm10k_cleanup_headers() 528 rx_ring->rx_stats.link_errors++; in fm10k_cleanup_headers() 530 rx_ring->rx_stats.length_errors++; in fm10k_cleanup_headers() [all …]
|
/linux/drivers/net/ethernet/amazon/ena/ |
A D | ena_netdev.c | 415 xdp_stat = &rx_ring->rx_stats.xdp_tx; in ena_xdp_execute() 423 xdp_stat = &rx_ring->rx_stats.xdp_aborted; in ena_xdp_execute() 431 xdp_stat = &rx_ring->rx_stats.xdp_drop; in ena_xdp_execute() 434 xdp_stat = &rx_ring->rx_stats.xdp_pass; in ena_xdp_execute() 909 memset(&rx_ring->rx_stats, 0x0, sizeof(rx_ring->rx_stats)); in ena_setup_rx_resources() 1755 rx_ring->rx_stats.bytes += total_len; in ena_clean_rx_irq() 1756 rx_ring->rx_stats.cnt += work_done; in ena_clean_rx_irq() 1818 rx_ring->rx_stats.cnt, in ena_adjust_adaptive_rx_intr_moderation() 1819 rx_ring->rx_stats.bytes, in ena_adjust_adaptive_rx_intr_moderation() 3298 packets = rx_ring->rx_stats.cnt; in ena_get_stats64() [all …]
|
/linux/drivers/net/ |
A D | xen-netfront.c | 168 struct netfront_stats __percpu *rx_stats; member 1160 struct netfront_stats *rx_stats = this_cpu_ptr(queue->info->rx_stats); in handle_incoming_queue() local 1181 u64_stats_update_begin(&rx_stats->syncp); in handle_incoming_queue() 1182 rx_stats->packets++; in handle_incoming_queue() 1183 rx_stats->bytes += skb->len; in handle_incoming_queue() 1184 u64_stats_update_end(&rx_stats->syncp); in handle_incoming_queue() 1322 struct netfront_stats *rx_stats = per_cpu_ptr(np->rx_stats, cpu); in xennet_get_stats64() local 1335 rx_packets = rx_stats->packets; in xennet_get_stats64() 1336 rx_bytes = rx_stats->bytes; in xennet_get_stats64() 1635 free_percpu(np->rx_stats); in xennet_free_netdev() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A D | testmode.c | 350 memset(&phy->test.rx_stats, 0, sizeof(phy->test.rx_stats)); in __mt76_testmode_set_state() 534 for (i = 0; i < ARRAY_SIZE(td->rx_stats.packets); i++) { in mt76_testmode_dump_stats() 535 rx_packets += td->rx_stats.packets[i]; in mt76_testmode_dump_stats() 536 rx_fcs_error += td->rx_stats.fcs_error[i]; in mt76_testmode_dump_stats()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_vfr.c | 142 stats->rx_packets = vf_rep->rx_stats.packets; in bnxt_vf_rep_get_stats64() 143 stats->rx_bytes = vf_rep->rx_stats.bytes; in bnxt_vf_rep_get_stats64() 202 vf_rep->rx_stats.bytes += skb->len; in bnxt_vf_rep_rx() 203 vf_rep->rx_stats.packets++; in bnxt_vf_rep_rx()
|