Home
last modified time | relevance | path

Searched refs:tx_bytes (Results 1 – 25 of 682) sorted by relevance

12345678910>>...28

/linux-6.1.9/arch/s390/appldata/
Dappldata_net_sum.c45 u64 tx_bytes; /* total bytes transmitted */ member
64 unsigned long rx_packets, tx_packets, rx_bytes, tx_bytes, rx_errors, in appldata_get_net_sum_data() local
74 tx_bytes = 0; in appldata_get_net_sum_data()
90 tx_bytes += stats->tx_bytes; in appldata_get_net_sum_data()
104 net_data->tx_bytes = tx_bytes; in appldata_get_net_sum_data()
/linux-6.1.9/include/net/
Dkcm.h23 unsigned long long tx_bytes; member
33 unsigned long long tx_bytes; member
45 unsigned long long tx_bytes; member
174 SAVE_PSOCK_STATS(tx_bytes); in aggregate_psock_stats()
190 SAVE_MUX_STATS(tx_bytes); in aggregate_mux_stats()
/linux-6.1.9/drivers/spi/
Dspi-zynq-qspi.c141 int tx_bytes; member
281 xqspi->tx_bytes -= size; in zynq_qspi_txfifo_op()
405 len = xqspi->tx_bytes; in zynq_qspi_write_op()
431 xqspi->tx_bytes -= count * 4; in zynq_qspi_write_op()
443 len = xqspi->rx_bytes - xqspi->tx_bytes; in zynq_qspi_read_op()
492 if (xqspi->tx_bytes) { in zynq_qspi_irq()
543 xqspi->tx_bytes = op->cmd.nbytes; in zynq_qspi_exec_mem_op()
561 xqspi->tx_bytes = op->addr.nbytes; in zynq_qspi_exec_mem_op()
580 xqspi->tx_bytes = op->dummy.nbytes; in zynq_qspi_exec_mem_op()
596 xqspi->tx_bytes = op->data.nbytes; in zynq_qspi_exec_mem_op()
[all …]
Dspi-npcm-pspi.c24 unsigned int tx_bytes; member
166 priv->tx_bytes = t->len; in npcm_pspi_setup_transfer()
200 wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes); in npcm_pspi_send()
201 priv->tx_bytes -= wsize; in npcm_pspi_send()
307 if (priv->tx_bytes == 0) { in npcm_pspi_handler()
315 if (priv->tx_bytes) in npcm_pspi_handler()
Dspi-cadence.c121 int tx_bytes; member
308 (xspi->tx_bytes > 0)) { in cdns_spi_fill_tx_fifo()
322 xspi->tx_bytes--; in cdns_spi_fill_tx_fifo()
363 trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq()
377 if (xspi->tx_bytes) { in cdns_spi_irq()
419 xspi->tx_bytes = transfer->len; in cdns_transfer_one()
Dspi-uniphier.c33 unsigned int tx_bytes; member
226 priv->tx_bytes = priv->rx_bytes = t->len; in uniphier_spi_setup_transfer()
256 wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes); in uniphier_spi_send()
257 priv->tx_bytes -= wsize; in uniphier_spi_send()
328 DIV_ROUND_UP(priv->rx_bytes - priv->tx_bytes, bpw); in uniphier_spi_fill_tx_fifo()
505 while (priv->tx_bytes) { in uniphier_spi_transfer_one_poll()
508 while ((priv->rx_bytes - priv->tx_bytes) > 0) { in uniphier_spi_transfer_one_poll()
618 (priv->rx_bytes - priv->tx_bytes) > 0) in uniphier_spi_handler()
622 (priv->rx_bytes != priv->tx_bytes)) { in uniphier_spi_handler()
Dspi-img-spfi.c229 unsigned int tx_bytes = 0, rx_bytes = 0; in img_spfi_start_pio() local
236 tx_bytes = xfer->len; in img_spfi_start_pio()
244 while ((tx_bytes > 0 || rx_bytes > 0) && in img_spfi_start_pio()
248 if (tx_bytes >= 4) in img_spfi_start_pio()
249 tx_count = spfi_pio_write32(spfi, tx_buf, tx_bytes); in img_spfi_start_pio()
251 tx_count = spfi_pio_write8(spfi, tx_buf, tx_bytes); in img_spfi_start_pio()
260 tx_bytes -= tx_count; in img_spfi_start_pio()
266 if (rx_bytes > 0 || tx_bytes > 0) { in img_spfi_start_pio()
/linux-6.1.9/drivers/net/team/
Dteam_mode_loadbalance.c40 u64 tx_bytes; member
205 static void lb_update_tx_stats(unsigned int tx_bytes, struct lb_priv *lb_priv, in lb_update_tx_stats() argument
217 port_stats->tx_bytes += tx_bytes; in lb_update_tx_stats()
218 hash_stats->tx_bytes += tx_bytes; in lb_update_tx_stats()
228 unsigned int tx_bytes = skb->len; in lb_transmit() local
237 lb_update_tx_stats(tx_bytes, lb_priv, get_lb_port_priv(port), hash); in lb_transmit()
470 tmp.tx_bytes = cpu_stats->tx_bytes; in __lb_one_cpu_stats_add()
472 acc_stats->tx_bytes += tmp.tx_bytes; in __lb_one_cpu_stats_add()
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/
Dfm10k_common.c333 u64 tx_bytes = 0; in fm10k_update_hw_stats_tx_q() local
344 tx_bytes = fm10k_read_hw_stats_48b(hw, in fm10k_update_hw_stats_tx_q()
346 &q->tx_bytes); in fm10k_update_hw_stats_tx_q()
360 q->tx_bytes.count += tx_bytes; in fm10k_update_hw_stats_tx_q()
365 fm10k_update_hw_base_48b(&q->tx_bytes, tx_bytes); in fm10k_update_hw_stats_tx_q()
/linux-6.1.9/drivers/i2c/busses/
Di2c-bcm-iproc.c200 unsigned int tx_bytes; member
544 unsigned int tx_bytes = msg->len - iproc_i2c->tx_bytes; in bcm_iproc_i2c_send() local
549 tx_bytes = min_t(unsigned int, tx_bytes, M_TX_RX_FIFO_SIZE); in bcm_iproc_i2c_send()
550 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_send()
552 unsigned int idx = iproc_i2c->tx_bytes + i; in bcm_iproc_i2c_send()
579 iproc_i2c->tx_bytes += tx_bytes; in bcm_iproc_i2c_send()
825 unsigned int tx_bytes; in bcm_iproc_i2c_xfer_internal() local
846 tx_bytes = min_t(unsigned int, msg->len, M_TX_RX_FIFO_SIZE - 1); in bcm_iproc_i2c_xfer_internal()
848 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_xfer_internal()
857 iproc_i2c->tx_bytes = tx_bytes; in bcm_iproc_i2c_xfer_internal()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c75 u64 tx_bytes; member
517 u64 *tx_bytes) in mlxsw_sp_qdisc_bstats_per_priority_get() argument
522 *tx_bytes = 0; in mlxsw_sp_qdisc_bstats_per_priority_get()
526 *tx_bytes += xstats->tx_bytes[i]; in mlxsw_sp_qdisc_bstats_per_priority_get()
538 u64 tx_bytes, tx_packets; in mlxsw_sp_qdisc_collect_tc_stats() local
548 &tx_packets, &tx_bytes); in mlxsw_sp_qdisc_collect_tc_stats()
551 *p_tx_bytes += tx_bytes; in mlxsw_sp_qdisc_collect_tc_stats()
560 u64 tx_bytes, u64 tx_packets, in mlxsw_sp_qdisc_update_stats() argument
566 tx_bytes -= stats_base->tx_bytes; in mlxsw_sp_qdisc_update_stats()
571 _bstats_update(stats_ptr->bstats, tx_bytes, tx_packets); in mlxsw_sp_qdisc_update_stats()
[all …]
/linux-6.1.9/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c41 pcpu_ptr->stats.tx_bytes += skb->len; in rmnet_vnd_tx_fixup()
145 total_stats.tx_bytes += snapshot.tx_bytes; in rmnet_get_stats64()
152 s->tx_bytes = total_stats.tx_bytes; in rmnet_get_stats64()
/linux-6.1.9/net/kcm/
Dkcmproc.c118 kcm->stats.tx_bytes, in kcm_format_sock()
148 psock->stats.tx_bytes, in kcm_format_psock()
199 mux->stats.tx_bytes, in kcm_format_mux()
300 mux_stats.tx_bytes, in kcm_stats_seq_show()
332 psock_stats.tx_bytes, in kcm_stats_seq_show()
/linux-6.1.9/net/l2tp/
Dl2tp_eth.c40 atomic_long_t tx_bytes; member
82 atomic_long_add(len, &priv->tx_bytes); in l2tp_eth_dev_xmit()
95 stats->tx_bytes = (unsigned long)atomic_long_read(&priv->tx_bytes); in l2tp_eth_get_stats64()
/linux-6.1.9/drivers/net/ethernet/engleder/
Dtsnep_ethtool.c28 u64 tx_bytes; member
67 u64 tx_bytes; member
191 tsnep_stats.tx_bytes += adapter->tx[i].bytes; in tsnep_ethtool_get_ethtool_stats()
225 tsnep_tx_queue_stats.tx_bytes += adapter->tx[i].bytes; in tsnep_ethtool_get_ethtool_stats()
/linux-6.1.9/net/mac802154/
Dtx.c38 dev->stats.tx_bytes += skb->len; in ieee802154_xmit_worker()
90 dev->stats.tx_bytes += len; in ieee802154_tx()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c42 stats->tx_bytes += len; in nfp_repr_inc_tx_stats()
65 stats->tx_bytes = readq(mem + NFP_MAC_STATS_TX_OUT_OCTETS); in nfp_repr_phy_port_get_stats64()
81 stats->tx_bytes = readq(port->vnic + NFP_NET_CFG_STATS_RX_OCTETS); in nfp_repr_vnic_get_stats64()
138 tbytes = repr_stats->tx_bytes; in nfp_repr_get_host_stats64()
145 stats->tx_bytes += tbytes; in nfp_repr_get_host_stats64()
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_mirror.c127 new_stats.tx_bytes - old_stats->bytes, in lan966x_mirror_port_stats()
133 old_stats->bytes = new_stats.tx_bytes; in lan966x_mirror_port_stats()
/linux-6.1.9/drivers/net/
Dmhi_net.c24 u64_stats_t tx_bytes; member
116 stats->tx_bytes = u64_stats_read(&mhi_netdev->stats.tx_bytes); in mhi_ndo_get_stats64()
260 u64_stats_add(&mhi_netdev->stats.tx_bytes, mhi_res->bytes_xferd); in mhi_net_ul_callback()
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ethtool.c138 u64 tx_packets, tx_bytes; in octep_get_ethtool_stats() local
145 tx_bytes = 0; in octep_get_ethtool_stats()
149 tx_bytes = 0; in octep_get_ethtool_stats()
162 tx_bytes += iq->stats.bytes_sent; in octep_get_ethtool_stats()
173 data[i++] = tx_bytes; in octep_get_ethtool_stats()
/linux-6.1.9/tools/testing/selftests/wireguard/
Dnetns.sh167 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip2 -stats link show dev …
168 (( rx_bytes == 1372 && (tx_bytes == 1428 || tx_bytes == 1460) ))
169 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip1 -stats link show dev …
170 (( tx_bytes == 1372 && (rx_bytes == 1428 || rx_bytes == 1460) ))
171 read _ rx_bytes tx_bytes < <(n2 wg show wg0 transfer)
172 (( rx_bytes == 1372 && (tx_bytes == 1428 || tx_bytes == 1460) ))
173 read _ rx_bytes tx_bytes < <(n1 wg show wg0 transfer)
174 (( tx_bytes == 1372 && (rx_bytes == 1428 || rx_bytes == 1460) ))
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhv_vhca_stats.c13 u64 tx_bytes; member
29 data->tx_bytes += stats->sq[tc].bytes; in mlx5e_hv_vhca_fill_ring_stats()
/linux-6.1.9/drivers/usb/serial/
Dir-usb.c277 port->tx_bytes += count; in ir_write()
304 port->tx_bytes -= count; in ir_write()
321 port->tx_bytes -= urb->transfer_buffer_length - 1; in ir_write_bulk_callback()
/linux-6.1.9/net/sched/
Dsch_teql.c57 unsigned long tx_bytes; member
320 master->tx_bytes += length; in teql_master_xmit()
409 stats->tx_bytes = m->tx_bytes; in teql_master_stats64()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dvnic_main.c55 stats->netstats.tx_bytes += qnstats->tx_bytes; in hfi1_vnic_update_stats()
86 netdev->stats.tx_bytes = stats->netstats.tx_bytes; in hfi1_vnic_update_stats()
132 stats->netstats.tx_bytes += skb->len + ETH_FCS_LEN; in hfi1_vnic_update_tx_counters()

12345678910>>...28