Home
last modified time | relevance | path

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

12345678910>>...19

/drivers/net/ethernet/intel/fm10k/
Dfm10k_common.c396 u64 rx_bytes = 0; in fm10k_update_hw_stats_rx_q() local
410 rx_bytes = fm10k_read_hw_stats_48b(hw, in fm10k_update_hw_stats_rx_q()
412 &q->rx_bytes); in fm10k_update_hw_stats_rx_q()
427 q->rx_bytes.count += rx_bytes; in fm10k_update_hw_stats_rx_q()
433 fm10k_update_hw_base_48b(&q->rx_bytes, rx_bytes); in fm10k_update_hw_stats_rx_q()
/drivers/atm/
Dhorizon.c934 unsigned int rx_bytes; in rx_schedule() local
942 rx_bytes = dev->rx_bytes; in rx_schedule()
962 if (rx_bytes) { in rx_schedule()
964 if (rx_bytes <= MAX_PIO_COUNT) { in rx_schedule()
968 if (rx_bytes <= MAX_TRANSFER_COUNT) { in rx_schedule()
970 dev->rx_bytes = 0; in rx_schedule()
973 dev->rx_bytes = rx_bytes - MAX_TRANSFER_COUNT; in rx_schedule()
974 rx_bytes = MAX_TRANSFER_COUNT; in rx_schedule()
989 rx_bytes = dev->rx_iovec->iov_len; in rx_schedule()
993 if (rx_bytes <= MAX_PIO_COUNT) { in rx_schedule()
[all …]
/drivers/spi/
Dspi-img-spfi.c237 unsigned int tx_bytes = 0, rx_bytes = 0; in img_spfi_start_pio() local
246 rx_bytes = xfer->len; in img_spfi_start_pio()
252 while ((tx_bytes > 0 || rx_bytes > 0) && in img_spfi_start_pio()
261 if (rx_bytes >= 4) in img_spfi_start_pio()
262 rx_count = spfi_pio_read32(spfi, rx_buf, rx_bytes); in img_spfi_start_pio()
264 rx_count = spfi_pio_read8(spfi, rx_buf, rx_bytes); in img_spfi_start_pio()
269 rx_bytes -= rx_count; in img_spfi_start_pio()
274 if (rx_bytes > 0 || tx_bytes > 0) { in img_spfi_start_pio()
Dspi-cadence.c124 int rx_bytes; member
363 trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq()
373 xspi->rx_bytes--; in cdns_spi_irq()
419 xspi->rx_bytes = transfer->len; in cdns_transfer_one()
Dspi-qup.c149 int rx_bytes; member
219 while (controller->rx_bytes < xfer->len) { in spi_qup_fifo_read()
228 controller->rx_bytes += w_size; in spi_qup_fifo_read()
232 for (idx = 0; idx < w_size; idx++, controller->rx_bytes++) { in spi_qup_fifo_read()
241 rx_buf[controller->rx_bytes] = word >> shift; in spi_qup_fifo_read()
440 if (controller->rx_bytes == xfer->len || error) in spi_qup_qup_irq()
632 controller->rx_bytes = 0; in spi_qup_transfer_one()
Dspi-zynqmp-gqspi.c704 u32 rx_bytes, rx_rem, config_reg; in zynq_qspi_setuprxdma() local
720 rx_bytes = (xqspi->bytes_to_receive - rx_rem); in zynq_qspi_setuprxdma()
723 rx_bytes, DMA_FROM_DEVICE); in zynq_qspi_setuprxdma()
727 xqspi->dma_rx_bytes = rx_bytes; in zynq_qspi_setuprxdma()
745 zynqmp_gqspi_write(xqspi, GQSPI_QSPIDMA_DST_SIZE_OFST, rx_bytes); in zynq_qspi_setuprxdma()
/drivers/net/
Difb.c48 u64 rx_bytes; member
145 bytes = txp->rx_bytes; in ifb_stats64()
148 stats->rx_bytes += bytes; in ifb_stats64()
246 txp->rx_bytes += skb->len; in ifb_xmit()
Dvrf.c70 u64 rx_bytes; member
148 dstats->rx_bytes += skb->len; in vrf_handle_frame()
174 rbytes = dstats->rx_bytes; in vrf_get_stats64()
180 stats->rx_bytes += rbytes; in vrf_get_stats64()
/drivers/net/can/
Dvcan.c75 stats->rx_bytes += cfd->len; in vcan_rx()
108 stats->rx_bytes += cfd->len; in vcan_tx()
/drivers/net/ethernet/mellanox/mlx4/
Den_port.c176 stats->rx_bytes = 0; in mlx4_en_DUMP_ETH_STATS()
182 stats->rx_bytes += priv->rx_ring[i]->bytes; in mlx4_en_DUMP_ETH_STATS()
213 stats->rx_bytes = en_stats_adder(&mlx4_en_stats->ROCT_prio_0, in mlx4_en_DUMP_ETH_STATS()
338 priv->pf_stats.rx_bytes = be64_to_cpu(tmp_counter_stats.rx_bytes); in mlx4_en_DUMP_ETH_STATS()
Dmlx4_stats.h28 unsigned long rx_bytes; member
/drivers/net/fjes/
Dfjes_ethtool.c46 FJES_STAT("rx_bytes", stats64.rx_bytes),
47 FJES_STAT("tx_bytes", stats64.rx_bytes),
/drivers/net/xen-netback/
Dinterface.c249 unsigned long rx_bytes = 0; in xenvif_get_stats() local
261 rx_bytes += queue->stats.rx_bytes; in xenvif_get_stats()
268 vif->dev->stats.rx_bytes = rx_bytes; in xenvif_get_stats()
/drivers/net/ethernet/ti/
Dnetcp_ethss.c242 u32 rx_bytes; member
273 u32 rx_bytes; member
408 u32 rx_bytes; member
590 u32 rx_bytes; member
744 GBE_STATSA_INFO(rx_bytes),
779 GBE_STATSB_INFO(rx_bytes),
814 GBE_STATSC_INFO(rx_bytes),
849 GBE_STATSD_INFO(rx_bytes),
954 GBENU_STATS_HOST(rx_bytes),
1011 GBENU_STATS_P1(rx_bytes),
[all …]
/drivers/net/wireless/libertas/
Drx.c150 dev->stats.rx_bytes += skb->len; in lbs_process_rxed_packet()
271 dev->stats.rx_bytes += skb->len; in process_rxed_802_11_packet()
/drivers/net/ipvlan/
Dipvlan_main.c268 u64 rx_pkts, rx_bytes, rx_mcast, tx_pkts, tx_bytes; in ipvlan_get_stats64() local
278 rx_bytes = pcptr->rx_bytes; in ipvlan_get_stats64()
286 s->rx_bytes += rx_bytes; in ipvlan_get_stats64()
/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c490 u64 tx_bytes = 0, rx_bytes = 0, tx_packets = 0, rx_packets = 0; in hns_ae_update_stats() local
507 rx_bytes += queue->rx_ring.stats.rx_bytes; in hns_ae_update_stats()
549 net_stats->rx_bytes = rx_bytes; in hns_ae_update_stats()
Dhns_ethtool.c451 ndev->stats.rx_bytes += skb->len; in __lb_other_process()
471 unsigned long rx_bytes = ndev->stats.rx_bytes; in __lb_clean_rings() local
481 ndev->stats.rx_bytes = rx_bytes; in __lb_clean_rings()
864 p[2] = net_stats->rx_bytes; in hns_get_ethtool_stats()
/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c597 u64 rx_packets, rx_bytes; in mlxsw_core_rx_stats_dbg_read() local
609 rx_bytes = 0; in mlxsw_core_rx_stats_dbg_read()
620 rx_bytes += tmp_rx_bytes; in mlxsw_core_rx_stats_dbg_read()
624 i, rx_packets, rx_bytes, rx_dropped); in mlxsw_core_rx_stats_dbg_read()
636 rx_bytes = 0; in mlxsw_core_rx_stats_dbg_read()
647 rx_bytes += tmp_rx_bytes; in mlxsw_core_rx_stats_dbg_read()
651 i, rx_packets, rx_bytes, rx_dropped); in mlxsw_core_rx_stats_dbg_read()
Dswitchx2.c69 u64 rx_bytes; member
356 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in mlxsw_sx_port_get_stats64() local
366 rx_bytes = p->rx_bytes; in mlxsw_sx_port_get_stats64()
372 stats->rx_bytes += rx_bytes; in mlxsw_sx_port_get_stats64()
1225 pcpu_stats->rx_bytes += skb->len; in mlxsw_sx_rx_listener_func()
Dspectrum.h76 u64 rx_bytes; member
/drivers/net/ethernet/marvell/
Dmvneta.c332 u64 rx_bytes; member
598 u64 rx_bytes; in mvneta_get_stats64() local
606 rx_bytes = cpu_stats->rx_bytes; in mvneta_get_stats64()
612 stats->rx_bytes += rx_bytes; in mvneta_get_stats64()
1537 int rx_bytes, err; in mvneta_rx() local
1541 rx_bytes = rx_desc->data_size - (ETH_FCS_LEN + MVNETA_MH_SIZE); in mvneta_rx()
1554 if (rx_bytes <= rx_copybreak) { in mvneta_rx()
1556 skb = netdev_alloc_skb_ip_align(dev, rx_bytes); in mvneta_rx()
1563 rx_bytes, in mvneta_rx()
1565 memcpy(skb_put(skb, rx_bytes), in mvneta_rx()
[all …]
/drivers/net/ethernet/tile/
Dtilepro.c156 u64 rx_bytes; /* total bytes received */ member
791 stats->rx_bytes += len; in tile_net_poll_aux()
2056 u64 rx_bytes = 0, tx_bytes = 0; in tile_net_get_stats64() local
2074 trx_bytes = cpu_stats->rx_bytes; in tile_net_get_stats64()
2082 rx_bytes += trx_bytes; in tile_net_get_stats64()
2090 stats->rx_bytes = rx_bytes; in tile_net_get_stats64()
/drivers/staging/octeon/
Dethernet-rx.c371 (atomic64_t *)&priv->stats.rx_bytes); in cvm_oct_napi_poll()
376 (atomic_t *)&priv->stats.rx_bytes); in cvm_oct_napi_poll()
/drivers/net/wireless/hostap/
Dhostap_80211_rx.c216 dev->stats.rx_bytes += len; in monitor_rx()
493 local->apdevstats.rx_bytes += skb->len; in hostap_rx_frame_mgmt()
741 iface->stats.rx_bytes += skb->len; in hostap_80211_rx()
1023 local->apdevstats.rx_bytes += skb->len; in hostap_80211_rx()
1067 dev->stats.rx_bytes += skb->len; in hostap_80211_rx()

12345678910>>...19