| /linux/arch/s390/appldata/ |
| H A D | appldata_net_sum.c | 45 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/tools/net/ynl/ynltool/ |
| H A D | qstats.c | 24 __u64 *tx_bytes; member 84 if (qs->_present.tx_packets || qs->_present.tx_bytes || in print_json_qstats() 91 if (qs->_present.tx_bytes) in print_json_qstats() 92 jsonw_uint_field(json_wtr, "bytes", qs->tx_bytes); in print_json_qstats() 175 print_one(qs->_present.tx_bytes, "tx-bytes", qs->tx_bytes, &n); in print_plain_qstats() 466 __u64 *rx_packets, *rx_bytes, *tx_packets, *tx_bytes; in do_balance() local 482 !sorted[i]->_present.tx_bytes) in do_balance() 489 tx_bytes = calloc(queue_count, sizeof(*tx_bytes)); in do_balance() 491 if (!rx_packets || !rx_bytes || !tx_packets || !tx_bytes) { in do_balance() 496 free(tx_bytes); in do_balance() [all …]
|
| /linux/include/net/ |
| H A D | kcm.h | 23 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/drivers/spi/ |
| H A D | spi-zynq-qspi.c | 141 int tx_bytes; member 281 xqspi->tx_bytes -= size; in zynq_qspi_txfifo_op() 416 len = xqspi->tx_bytes; in zynq_qspi_write_op() 442 xqspi->tx_bytes -= count * 4; in zynq_qspi_write_op() 454 len = xqspi->rx_bytes - xqspi->tx_bytes; in zynq_qspi_read_op() 503 if (xqspi->tx_bytes) { in zynq_qspi_irq() 550 xqspi->tx_bytes = op->cmd.nbytes; in zynq_qspi_exec_mem_op() 568 xqspi->tx_bytes = op->addr.nbytes; in zynq_qspi_exec_mem_op() 587 xqspi->tx_bytes = op->dummy.nbytes; in zynq_qspi_exec_mem_op() 603 xqspi->tx_bytes = op->data.nbytes; in zynq_qspi_exec_mem_op() [all …]
|
| H A D | spi-cadence.c | 126 int tx_bytes; member 397 ntx = clamp(ntx, 0, xspi->tx_bytes); in cdns_spi_process_fifo() 400 xspi->tx_bytes -= ntx; in cdns_spi_process_fifo() 451 int trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq() 459 if (xspi->tx_bytes < xspi->tx_fifo_depth >> 1) in cdns_spi_irq() 462 if (xspi->tx_bytes) { in cdns_spi_irq() 510 xspi->tx_bytes = transfer->len; in cdns_transfer_one() 519 if (xspi->tx_bytes > xspi->tx_fifo_depth) in cdns_transfer_one() 530 xspi->tx_bytes = DIV_ROUND_UP(xspi->tx_bytes, xspi->n_bytes); in cdns_transfer_one()
|
| /linux/drivers/net/team/ |
| H A D | team_mode_loadbalance.c | 38 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() 454 tmp.tx_bytes = cpu_stats->tx_bytes; in __lb_one_cpu_stats_add() 456 acc_stats->tx_bytes += tmp.tx_bytes; in __lb_one_cpu_stats_add()
|
| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_common.c | 333 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/tools/testing/selftests/wireguard/ |
| H A D | netns.sh | 167 { 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) )) 525 read _ _ tx_bytes < <(n1 wg show wg0 transfer) 526 [[ $tx_bytes -eq 0 ]] [all …]
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-bcm-iproc.c | 200 unsigned int tx_bytes; member 571 unsigned int tx_bytes = msg->len - iproc_i2c->tx_bytes; in bcm_iproc_i2c_send() local 576 tx_bytes = min_t(unsigned int, tx_bytes, M_TX_RX_FIFO_SIZE); in bcm_iproc_i2c_send() 577 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_send() 579 unsigned int idx = iproc_i2c->tx_bytes + i; in bcm_iproc_i2c_send() 606 iproc_i2c->tx_bytes += tx_bytes; in bcm_iproc_i2c_send() 835 unsigned int tx_bytes; in bcm_iproc_i2c_xfer_internal() local 856 tx_bytes = min_t(unsigned int, msg->len, M_TX_RX_FIFO_SIZE - 1); in bcm_iproc_i2c_xfer_internal() 858 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_xfer_internal() 867 iproc_i2c->tx_bytes = tx_bytes; in bcm_iproc_i2c_xfer_internal() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_qdisc.c | 75 u64 tx_bytes; member 516 u64 *tx_bytes) in mlxsw_sp_qdisc_bstats_per_priority_get() argument 521 *tx_bytes = 0; in mlxsw_sp_qdisc_bstats_per_priority_get() 525 *tx_bytes += xstats->tx_bytes[i]; in mlxsw_sp_qdisc_bstats_per_priority_get() 537 u64 tx_bytes, tx_packets; in mlxsw_sp_qdisc_collect_tc_stats() local 547 &tx_packets, &tx_bytes); in mlxsw_sp_qdisc_collect_tc_stats() 550 *p_tx_bytes += tx_bytes; in mlxsw_sp_qdisc_collect_tc_stats() 559 u64 tx_bytes, u64 tx_packets, in mlxsw_sp_qdisc_update_stats() argument 565 tx_bytes -= stats_base->tx_bytes; in mlxsw_sp_qdisc_update_stats() 570 _bstats_update(stats_ptr->bstats, tx_bytes, tx_packets); in mlxsw_sp_qdisc_update_stats() [all …]
|
| /linux/net/kcm/ |
| H A D | kcmproc.c | 118 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/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.c | 392 u64 tx_bytes, tx_packets, tx_dropped = 0; in fbnic_get_stats64() local 403 tx_bytes = stats->bytes; in fbnic_get_stats64() 415 stats64->tx_bytes = tx_bytes; in fbnic_get_stats64() 428 tx_bytes = stats->bytes; in fbnic_get_stats64() 433 stats64->tx_bytes += tx_bytes; in fbnic_get_stats64() 501 tx_bytes = stats->bytes; in fbnic_get_stats64() 506 stats64->tx_bytes += tx_bytes; in fbnic_get_stats64()
|
| /linux/drivers/net/ethernet/qualcomm/rmnet/ |
| H A D | rmnet_vnd.c | 41 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()
|
| /linux/drivers/vdpa/vdpa_sim/ |
| H A D | vdpa_sim_net.c | 202 u64 tx_pkts = 0, rx_pkts = 0, tx_bytes = 0, rx_bytes = 0; in vdpasim_net_work() local 232 tx_bytes += read; in vdpasim_net_work() 272 net->tx_stats.bytes += tx_bytes; in vdpasim_net_work() 291 u64 tx_pkts, tx_bytes, tx_errors, tx_drops; in vdpasim_net_get_stats() local 343 tx_bytes = net->tx_stats.bytes; in vdpasim_net_get_stats() 358 tx_bytes, VDPA_ATTR_PAD)) in vdpasim_net_get_stats()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_repr.c | 33 stats->tx_bytes += len; in ice_repr_inc_tx_stats() 78 stats->tx_bytes = eth_stats->tx_bytes; in ice_repr_get_stats64() 185 tbytes = repr_stats->tx_bytes; in ice_repr_sp_stats64() 192 stats->tx_bytes += tbytes; in ice_repr_sp_stats64()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_txrx.c | 129 int budget, int *tx_pkts, int *tx_bytes) in otx2_snd_pkt_handler() argument 161 *tx_bytes += skb->len; in otx2_snd_pkt_handler() 467 int tx_pkts = 0, tx_bytes = 0, qidx; in otx2_tx_napi_handler() local 501 cqe, budget, &tx_pkts, &tx_bytes); in otx2_tx_napi_handler() 532 netdev_tx_completed_queue(txq, tx_pkts, tx_bytes); in otx2_tx_napi_handler() 550 u64 tx_frames, tx_bytes; in otx2_adjust_adaptive_coalese() local 555 tx_bytes = OTX2_GET_TX_STATS(TX_OCTS); in otx2_adjust_adaptive_coalese() 560 rx_bytes + tx_bytes, in otx2_adjust_adaptive_coalese() 1320 int tx_pkts = 0, tx_bytes = 0; in otx2_cleanup_tx_cqes() local 1345 tx_bytes += skb->len; in otx2_cleanup_tx_cqes() [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_repr.c | 42 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/drivers/net/ |
| H A D | mhi_net.c | 24 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/drivers/net/ethernet/marvell/octeon_ep/ |
| H A D | octep_ethtool.c | 131 u64 tx_packets, tx_bytes; in octep_get_ethtool_stats() local 138 tx_bytes = 0; in octep_get_ethtool_stats() 142 tx_bytes = 0; in octep_get_ethtool_stats() 155 tx_bytes += oct->stats_iq[q].bytes_sent; in octep_get_ethtool_stats() 166 data[i++] = tx_bytes; in octep_get_ethtool_stats()
|
| /linux/drivers/net/netdevsim/ |
| H A D | psp.c | 77 u64_stats_add(&ns->psp.tx_bytes, in nsim_do_psp() 190 stats->tx_bytes = u64_stats_read(&ns->psp.tx_bytes); in nsim_get_stats()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_mirror.c | 127 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/drivers/infiniband/hw/hfi1/ |
| H A D | vnic_main.c | 55 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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | hv_vhca_stats.c | 13 u64 tx_bytes; member 29 data->tx_bytes += stats->sq[tc].bytes; in mlx5e_hv_vhca_fill_ring_stats()
|
| /linux/drivers/net/ethernet/engleder/ |
| H A D | tsnep_ethtool.c | 30 u64 tx_bytes; member 71 u64 tx_bytes; member 196 tsnep_stats.tx_bytes += adapter->tx[i].bytes; in tsnep_ethtool_get_ethtool_stats() 232 tsnep_tx_queue_stats.tx_bytes += adapter->tx[i].bytes; in tsnep_ethtool_get_ethtool_stats()
|
| /linux/net/sched/ |
| H A D | sch_teql.c | 57 unsigned long tx_bytes; member 323 master->tx_bytes += length; in teql_master_xmit() 412 stats->tx_bytes = m->tx_bytes; in teql_master_stats64()
|