Home
last modified time | relevance | path

Searched refs:rx_bytes (Results 1 – 25 of 525) sorted by relevance

12345678910>>...21

/linux/arch/s390/appldata/
H A Dappldata_net_sum.c44 u64 rx_bytes; /* total bytes received */ member
64 unsigned long rx_packets, tx_packets, rx_bytes, tx_bytes, rx_errors, in appldata_get_net_sum_data() local
73 rx_bytes = 0; in appldata_get_net_sum_data()
89 rx_bytes += stats->rx_bytes; in appldata_get_net_sum_data()
103 net_data->rx_bytes = rx_bytes; in appldata_get_net_sum_data()
/linux/include/net/
H A Dkcm.h31 unsigned long long rx_bytes; member
43 unsigned long long rx_bytes; member
188 SAVE_MUX_STATS(rx_bytes); in aggregate_mux_stats()
/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_vnd.c28 pcpu_ptr->stats.rx_bytes += skb->len; in rmnet_vnd_rx_fixup()
148 total_stats.rx_bytes += snapshot.rx_bytes; in rmnet_get_stats64()
155 s->rx_bytes = total_stats.rx_bytes; in rmnet_get_stats64()
/linux/drivers/spi/
H A Dspi-cadence.c127 int rx_bytes; member
398 nrx = clamp(nrx, 0, xspi->rx_bytes); in cdns_spi_process_fifo()
401 xspi->rx_bytes -= nrx; in cdns_spi_process_fifo()
451 int trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq()
511 xspi->rx_bytes = transfer->len; in cdns_transfer_one()
531 xspi->rx_bytes = DIV_ROUND_UP(xspi->rx_bytes, xspi->n_bytes); in cdns_transfer_one()
H A Dspi-geni-qcom.c743 unsigned int rx_bytes; in geni_spi_handle_rx() local
750 rx_bytes = (rx_fifo_status & RX_FIFO_WC_MSK) * bytes_per_fifo_word; in geni_spi_handle_rx()
755 rx_bytes -= bytes_per_fifo_word - rx_last_byte_valid; in geni_spi_handle_rx()
760 for (i = 0; i < DIV_ROUND_UP(rx_bytes, bytes_per_fifo_word); i++) in geni_spi_handle_rx()
765 if (mas->rx_rem_bytes < rx_bytes) in geni_spi_handle_rx()
766 rx_bytes = mas->rx_rem_bytes; in geni_spi_handle_rx()
769 while (i < rx_bytes) { in geni_spi_handle_rx()
775 bytes_to_read = min(bytes_per_fifo_word, rx_bytes - i); in geni_spi_handle_rx()
780 mas->rx_rem_bytes -= rx_bytes; in geni_spi_handle_rx()
/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_net.c202 u64 tx_pkts = 0, rx_pkts = 0, tx_bytes = 0, rx_bytes = 0; in vdpasim_net_work() local
256 rx_bytes += write; in vdpasim_net_work()
278 net->rx_stats.bytes += rx_bytes; in vdpasim_net_work()
290 u64 rx_pkts, rx_bytes, rx_errors, rx_overruns, rx_drops; in vdpasim_net_get_stats() local
301 rx_bytes = net->rx_stats.bytes; in vdpasim_net_get_stats()
317 rx_bytes, VDPA_ATTR_PAD)) in vdpasim_net_get_stats()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_repr.c50 stats->rx_bytes += len; in ice_repr_inc_rx_stats()
79 stats->rx_bytes = eth_stats->rx_bytes; in ice_repr_get_stats64()
188 rbytes = repr_stats->rx_bytes; in ice_repr_sp_stats64()
195 stats->rx_bytes += rbytes; in ice_repr_sp_stats64()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c348 unsigned int *rx_bytes, in i40e_handle_xdp_result_zc() argument
355 *rx_bytes = xdp_get_buff_len(xdp_buff); in i40e_handle_xdp_result_zc()
379 *rx_bytes = 0; in i40e_handle_xdp_result_zc()
385 *rx_bytes = 0; in i40e_handle_xdp_result_zc()
429 unsigned int rx_bytes; in i40e_clean_rx_irq_zc() local
477 &rx_bytes, xdp_res, &failure); in i40e_clean_rx_irq_zc()
482 total_rx_bytes += rx_bytes; in i40e_clean_rx_irq_zc()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_police.c173 old_stats->bytes = new_stats.rx_bytes; in lan966x_police_port_add()
216 new_stats.rx_bytes - old_stats->bytes, in lan966x_police_port_stats()
222 old_stats->bytes = new_stats.rx_bytes; in lan966x_police_port_stats()
H A Dlan966x_mirror.c115 new_stats.rx_bytes - old_stats->bytes, in lan966x_mirror_port_stats()
121 old_stats->bytes = new_stats.rx_bytes; in lan966x_mirror_port_stats()
/linux/drivers/i2c/busses/
H A Di2c-bcm-iproc.c202 unsigned int rx_bytes; member
370 u32 rx_bytes = 0; in bcm_iproc_i2c_slave_read() local
373 while (rx_bytes < MAX_SLAVE_RX_PER_INT) { in bcm_iproc_i2c_slave_read()
405 rx_bytes++; in bcm_iproc_i2c_slave_read()
555 while (iproc_i2c->rx_bytes < msg->len) { in bcm_iproc_i2c_read_valid_bytes()
562 msg->buf[iproc_i2c->rx_bytes] = in bcm_iproc_i2c_read_valid_bytes()
564 iproc_i2c->rx_bytes++; in bcm_iproc_i2c_read_valid_bytes()
615 bytes_left = msg->len - iproc_i2c->rx_bytes; in bcm_iproc_i2c_read()
919 iproc_i2c->rx_bytes = 0; in bcm_iproc_i2c_xfer_internal()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.c54 stats->rx_bytes += len; in nfp_repr_inc_rx_stats()
69 stats->rx_bytes = readq(mem + NFP_MAC_STATS_RX_IN_OCTETS); in nfp_repr_phy_port_get_stats64()
85 stats->rx_bytes = readq(port->vnic + NFP_NET_CFG_STATS_TX_OCTETS); in nfp_repr_vnic_get_stats64()
141 rbytes = repr_stats->rx_bytes; in nfp_repr_get_host_stats64()
148 stats->rx_bytes += rbytes; in nfp_repr_get_host_stats64()
/linux/tools/testing/selftests/bpf/
H A Dtest_tc_edt.sh
/linux/drivers/net/
H A Dmhi_net.c21 u64_stats_t rx_bytes; member
109 stats->rx_bytes = u64_stats_read(&mhi_netdev->stats.rx_bytes); in mhi_ndo_get_stats64()
226 u64_stats_add(&mhi_netdev->stats.rx_bytes, skb->len); in mhi_net_dl_callback()
/linux/drivers/net/can/
H A Dvcan.c77 stats->rx_bytes += can_skb_get_data_len(skb); in vcan_rx()
111 stats->rx_bytes += len; in vcan_tx()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_netdev.c390 u64 rx_bytes, rx_packets, rx_dropped = 0, rx_errors = 0; in fbnic_get_stats64() local
440 rx_bytes = stats->bytes; in fbnic_get_stats64()
466 stats64->rx_bytes = rx_bytes; in fbnic_get_stats64()
483 rx_bytes = stats->bytes; in fbnic_get_stats64()
489 stats64->rx_bytes += rx_bytes; in fbnic_get_stats64()
/linux/drivers/infiniband/hw/hfi1/
H A Dvnic_main.c71 stats->netstats.rx_bytes += qnstats->rx_bytes; in hfi1_vnic_update_stats()
93 netdev->stats.rx_bytes = stats->netstats.rx_bytes; in hfi1_vnic_update_stats()
161 stats->netstats.rx_bytes += skb->len + ETH_FCS_LEN; in hfi1_vnic_update_rx_counters()
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_rx.c418 u32 pkt, rx_bytes, desc_used; in __octep_oq_process_rx() local
425 rx_bytes = 0; in __octep_oq_process_rx()
465 rx_bytes += buff_info->len; in __octep_oq_process_rx()
512 oq->stats->bytes += rx_bytes; in __octep_oq_process_rx()
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_rx.c375 u32 pkt, rx_bytes, desc_used; in __octep_vf_oq_process_rx() local
381 rx_bytes = 0; in __octep_vf_oq_process_rx()
412 rx_bytes += buff_info->len; in __octep_vf_oq_process_rx()
477 oq->stats->bytes += rx_bytes; in __octep_vf_oq_process_rx()
/linux/net/kcm/
H A Dkcmproc.c116 kcm->stats.rx_bytes, in kcm_format_sock()
197 mux->stats.rx_bytes, in kcm_format_mux()
298 mux_stats.rx_bytes, in kcm_stats_seq_show()
/linux/drivers/net/wireless/marvell/libertas/
H A Drx.c146 dev->stats.rx_bytes += skb->len; in lbs_process_rxed_packet()
261 dev->stats.rx_bytes += skb->len; in process_rxed_802_11_packet()
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c1235 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in netvsc_get_vf_stats() local
1242 rx_bytes = stats->rx_bytes; in netvsc_get_vf_stats()
1248 tot->rx_bytes += rx_bytes; in netvsc_get_vf_stats()
1272 this_tot->vf_rx_bytes = stats->rx_bytes; in netvsc_get_pcpu_stats()
1277 this_tot->rx_bytes = this_tot->vf_rx_bytes; in netvsc_get_pcpu_stats()
1308 this_tot->rx_bytes += bytes; in netvsc_get_pcpu_stats()
1332 t->rx_bytes += vf_tot.rx_bytes; in netvsc_get_stats64()
1361 t->rx_bytes += bytes; in netvsc_get_stats64()
1421 offsetof(struct netvsc_ethtool_pcpu_stats, rx_bytes) },
1436 { "vf_rx_bytes", offsetof(struct netvsc_vf_pcpu_stats, rx_bytes) },
[all …]
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_rx.c358 u64 pkt_len = 0, rx_bytes = 0; in rxq_recv() local
427 rx_bytes += pkt_len; in rxq_recv()
431 rx_bytes += ((num_lro - 1) * in rxq_recv()
451 rxq->rxq_stats.bytes += rx_bytes; in rxq_recv()
/linux/drivers/net/wwan/
H A Dmhi_wwan_mbim.c54 u64_stats_t rx_bytes; member
345 u64_stats_add(&link->rx_bytes, skbn->len); in mhi_mbim_rx()
473 stats->rx_bytes = u64_stats_read(&link->rx_bytes); in mhi_mbim_ndo_get_stats64()
/linux/drivers/net/xen-netback/
H A Dinterface.c276 u64 rx_bytes = 0; in xenvif_get_stats() local
288 rx_bytes += queue->stats.rx_bytes; in xenvif_get_stats()
296 vif->dev->stats.rx_bytes = rx_bytes; in xenvif_get_stats()

12345678910>>...21