Home
last modified time | relevance | path

Searched refs:tx_bytes (Results 1 - 25 of 1346) sorted by relevance

12345678910>>...54

/kernel/linux/linux-5.10/arch/s390/appldata/
H A 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()
/kernel/linux/linux-6.6/arch/s390/appldata/
H A 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()
/kernel/linux/linux-5.10/include/net/
H A 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()
/kernel/linux/linux-6.6/include/net/
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/fm10k/
H A 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()
/kernel/linux/linux-5.10/drivers/net/team/
H A 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()
[all...]
/kernel/linux/linux-6.6/drivers/net/team/
H A Dteam_mode_loadbalance.c38 u64 tx_bytes; member
200 static void lb_update_tx_stats(unsigned int tx_bytes, struct lb_priv *lb_priv, in lb_update_tx_stats() argument
212 port_stats->tx_bytes += tx_bytes; in lb_update_tx_stats()
213 hash_stats->tx_bytes += tx_bytes; in lb_update_tx_stats()
223 unsigned int tx_bytes = skb->len; in lb_transmit() local
232 lb_update_tx_stats(tx_bytes, lb_priv, get_lb_port_priv(port), hash); in lb_transmit()
457 tmp.tx_bytes = cpu_stats->tx_bytes; in __lb_one_cpu_stats_add()
[all...]
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-bcm-iproc.c209 unsigned int tx_bytes; member
542 unsigned int tx_bytes = msg->len - iproc_i2c->tx_bytes; in bcm_iproc_i2c_send() local
547 tx_bytes = min_t(unsigned int, tx_bytes, M_TX_RX_FIFO_SIZE); in bcm_iproc_i2c_send()
548 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_send()
550 unsigned int idx = iproc_i2c->tx_bytes + i; in bcm_iproc_i2c_send()
577 iproc_i2c->tx_bytes += tx_bytes; in bcm_iproc_i2c_send()
823 unsigned int tx_bytes; in bcm_iproc_i2c_xfer_internal() local
[all...]
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-bcm-iproc.c200 unsigned int tx_bytes; member
564 unsigned int tx_bytes = msg->len - iproc_i2c->tx_bytes; in bcm_iproc_i2c_send() local
569 tx_bytes = min_t(unsigned int, tx_bytes, M_TX_RX_FIFO_SIZE); in bcm_iproc_i2c_send()
570 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_send()
572 unsigned int idx = iproc_i2c->tx_bytes + i; in bcm_iproc_i2c_send()
599 iproc_i2c->tx_bytes += tx_bytes; in bcm_iproc_i2c_send()
845 unsigned int tx_bytes; in bcm_iproc_i2c_xfer_internal() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/
H A Dnetns.sh167 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip2 -stats link show dev wg0)
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 wg0)
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
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/wireguard/
H A Dnetns.sh167 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip2 -stats link show dev wg0)
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 wg0)
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
[all...]
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-zynq-qspi.c129 * @tx_bytes: Number of bytes left to transfer
141 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 in zynq_qspi_exec_mem_op()
[all...]
H A Dspi-cadence.c109 * @tx_bytes: Number of bytes left to transfer
122 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()
362 trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq()
376 if (xspi->tx_bytes) { in cdns_spi_irq()
418 xspi->tx_bytes = transfer->len; in cdns_transfer_one()
H A 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()
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-zynq-qspi.c129 * @tx_bytes: Number of bytes left to transfer
141 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 in zynq_qspi_exec_mem_op()
[all...]
H A Dspi-cadence.c109 * @tx_bytes: Number of bytes left to transfer
123 int tx_bytes; member
313 ntx = clamp(ntx, 0, xspi->tx_bytes); in cdns_spi_process_fifo()
316 xspi->tx_bytes -= ntx; in cdns_spi_process_fifo()
376 int trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq()
384 if (xspi->tx_bytes < xspi->tx_fifo_depth >> 1) in cdns_spi_irq()
387 if (xspi->tx_bytes) { in cdns_spi_irq()
435 xspi->tx_bytes = transfer->len; in cdns_transfer_one()
444 if (xspi->tx_bytes > xspi->tx_fifo_depth) in cdns_transfer_one()
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c61 u64 tx_bytes; member
278 u64 *tx_bytes) in mlxsw_sp_qdisc_bstats_per_priority_get()
283 *tx_bytes = 0; in mlxsw_sp_qdisc_bstats_per_priority_get()
287 *tx_bytes += xstats->tx_bytes[i]; in mlxsw_sp_qdisc_bstats_per_priority_get()
300 u64 tx_bytes, tx_packets; in mlxsw_sp_qdisc_collect_tc_stats() local
305 &tx_packets, &tx_bytes); in mlxsw_sp_qdisc_collect_tc_stats()
308 *p_tx_bytes += tx_bytes; in mlxsw_sp_qdisc_collect_tc_stats()
317 u64 tx_bytes, u64 tx_packets, in mlxsw_sp_qdisc_update_stats()
323 tx_bytes in mlxsw_sp_qdisc_update_stats()
276 mlxsw_sp_qdisc_bstats_per_priority_get(struct mlxsw_sp_port_xstats *xstats, u8 prio_bitmap, u64 *tx_packets, u64 *tx_bytes) mlxsw_sp_qdisc_bstats_per_priority_get() argument
315 mlxsw_sp_qdisc_update_stats(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, u64 tx_bytes, u64 tx_packets, u64 drops, u64 backlog, struct tc_qopt_offload_stats *stats_ptr) mlxsw_sp_qdisc_update_stats() argument
344 u64 tx_bytes = 0; mlxsw_sp_qdisc_get_tc_stats() local
608 u64 tx_bytes = 0; mlxsw_sp_setup_tc_qdisc_leaf_clean_stats() local
1072 u64 tx_bytes = 0; mlxsw_sp_qdisc_get_prio_stats() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c75 u64 tx_bytes; member
517 u64 *tx_bytes) in mlxsw_sp_qdisc_bstats_per_priority_get()
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()
566 tx_bytes in mlxsw_sp_qdisc_update_stats()
515 mlxsw_sp_qdisc_bstats_per_priority_get(struct mlxsw_sp_port_xstats *xstats, u8 prio_bitmap, u64 *tx_packets, u64 *tx_bytes) mlxsw_sp_qdisc_bstats_per_priority_get() argument
558 mlxsw_sp_qdisc_update_stats(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, u64 tx_bytes, u64 tx_packets, u64 drops, u64 backlog, struct tc_qopt_offload_stats *stats_ptr) mlxsw_sp_qdisc_update_stats() argument
587 u64 tx_bytes = 0; mlxsw_sp_qdisc_get_tc_stats() local
904 u64 tx_bytes = 0; mlxsw_sp_setup_tc_qdisc_leaf_clean_stats() local
1447 u64 tx_bytes = 0; mlxsw_sp_qdisc_get_prio_stats() local
[all...]
/kernel/linux/linux-5.10/drivers/atm/
H A Dhorizon.c1084 unsigned int tx_bytes; in tx_schedule() local
1094 tx_bytes = dev->tx_bytes; in tx_schedule()
1110 if (tx_bytes) { in tx_schedule()
1112 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) { in tx_schedule()
1116 if (tx_bytes <= MAX_TRANSFER_COUNT) { in tx_schedule()
1122 dev->tx_bytes = 0; in tx_schedule()
1125 dev->tx_bytes = tx_bytes - MAX_TRANSFER_COUNT; in tx_schedule()
1126 tx_bytes in tx_schedule()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_vnd.c40 pcpu_ptr->stats.tx_bytes += skb->len; in rmnet_vnd_tx_fixup()
144 total_stats.tx_bytes += snapshot.tx_bytes; in rmnet_get_stats64()
151 s->tx_bytes = total_stats.tx_bytes; in rmnet_get_stats64()
/kernel/linux/linux-5.10/net/kcm/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_vnd.c41 pcpu_ptr->stats.tx_bytes += len; in rmnet_vnd_tx_fixup_len()
150 total_stats.tx_bytes += snapshot.tx_bytes; in rmnet_get_stats64()
157 s->tx_bytes = total_stats.tx_bytes; in rmnet_get_stats64()
/kernel/linux/linux-6.6/net/kcm/
H A 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()

Completed in 25 milliseconds

12345678910>>...54