Home
last modified time | relevance | path

Searched refs:ethtool_sprintf (Results 1 – 25 of 39) sorted by relevance

12

/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c537 ethtool_sprintf(string, "txf%d_ucast_octets", f_num); in bnad_get_txf_strings()
538 ethtool_sprintf(string, "txf%d_ucast", f_num); in bnad_get_txf_strings()
539 ethtool_sprintf(string, "txf%d_ucast_vlan", f_num); in bnad_get_txf_strings()
540 ethtool_sprintf(string, "txf%d_mcast_octets", f_num); in bnad_get_txf_strings()
541 ethtool_sprintf(string, "txf%d_mcast", f_num); in bnad_get_txf_strings()
542 ethtool_sprintf(string, "txf%d_mcast_vlan", f_num); in bnad_get_txf_strings()
543 ethtool_sprintf(string, "txf%d_bcast_octets", f_num); in bnad_get_txf_strings()
544 ethtool_sprintf(string, "txf%d_bcast", f_num); in bnad_get_txf_strings()
545 ethtool_sprintf(string, "txf%d_bcast_vlan", f_num); in bnad_get_txf_strings()
546 ethtool_sprintf(string, "txf%d_errors", f_num); in bnad_get_txf_strings()
[all …]
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_ethtool.c161 ethtool_sprintf(&data, "rx_%d_packets", i); in mana_get_strings()
162 ethtool_sprintf(&data, "rx_%d_bytes", i); in mana_get_strings()
163 ethtool_sprintf(&data, "rx_%d_xdp_drop", i); in mana_get_strings()
164 ethtool_sprintf(&data, "rx_%d_xdp_tx", i); in mana_get_strings()
165 ethtool_sprintf(&data, "rx_%d_xdp_redirect", i); in mana_get_strings()
169 ethtool_sprintf(&data, "tx_%d_packets", i); in mana_get_strings()
170 ethtool_sprintf(&data, "tx_%d_bytes", i); in mana_get_strings()
171 ethtool_sprintf(&data, "tx_%d_xdp_xmit", i); in mana_get_strings()
172 ethtool_sprintf(&data, "tx_%d_tso_packets", i); in mana_get_strings()
173 ethtool_sprintf(&data, "tx_%d_tso_bytes", i); in mana_get_strings()
[all …]
/linux/drivers/net/ethernet/sun/
H A Dsunvnet.c125 ethtool_sprintf(&buf, "p%u.%s-%pM", port->q_index, in vnet_get_strings()
128 ethtool_sprintf(&buf, "p%u.rx_packets", port->q_index); in vnet_get_strings()
129 ethtool_sprintf(&buf, "p%u.tx_packets", port->q_index); in vnet_get_strings()
130 ethtool_sprintf(&buf, "p%u.rx_bytes", port->q_index); in vnet_get_strings()
131 ethtool_sprintf(&buf, "p%u.tx_bytes", port->q_index); in vnet_get_strings()
132 ethtool_sprintf(&buf, "p%u.event_up", port->q_index); in vnet_get_strings()
133 ethtool_sprintf(&buf, "p%u.event_reset", port->q_index); in vnet_get_strings()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c283 ethtool_sprintf(&p, in aq_ethtool_get_strings()
289 ethtool_sprintf(&p, in aq_ethtool_get_strings()
307 ethtool_sprintf(&p, in aq_ethtool_get_strings()
315 ethtool_sprintf(&p, in aq_ethtool_get_strings()
338 ethtool_sprintf(&p, in aq_ethtool_get_strings()
348 ethtool_sprintf(&p, in aq_ethtool_get_strings()
367 ethtool_sprintf(&p, in aq_ethtool_get_strings()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c857 ethtool_sprintf(&data, "rvec_%u_rx_pkts", i); in nfp_vnic_get_sw_stats_strings()
858 ethtool_sprintf(&data, "rvec_%u_tx_pkts", i); in nfp_vnic_get_sw_stats_strings()
859 ethtool_sprintf(&data, "rvec_%u_tx_busy", i); in nfp_vnic_get_sw_stats_strings()
962 ethtool_sprintf(&data, "rxq_%u_pkts", i); in nfp_vnic_get_hw_stats_strings()
963 ethtool_sprintf(&data, "rxq_%u_bytes", i); in nfp_vnic_get_hw_stats_strings()
964 ethtool_sprintf(&data, "txq_%u_pkts", i); in nfp_vnic_get_hw_stats_strings()
965 ethtool_sprintf(&data, "txq_%u_bytes", i); in nfp_vnic_get_hw_stats_strings()
1013 ethtool_sprintf(&data, "dev_unknown_stat%u", id); in nfp_vnic_get_tlv_stats_strings()
1018 ethtool_sprintf(&data, "rxq_%u_pkts", i); in nfp_vnic_get_tlv_stats_strings()
1019 ethtool_sprintf(&data, "rxq_%u_bytes", i); in nfp_vnic_get_tlv_stats_strings()
[all …]
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c252 ethtool_sprintf(&data, "%s [CPU %d]", in dpaa_get_strings()
255 ethtool_sprintf(&data, "%s [TOTAL]", dpaa_stats_percpu[i]); in dpaa_get_strings()
258 ethtool_sprintf(&data, "bpool [CPU %d]", i); in dpaa_get_strings()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_stats.c1707 ethtool_sprintf(data, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
1711 ethtool_sprintf(data, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
1833 ethtool_sprintf(data, in mlx5e_grp_per_prio_traffic_fill_strings()
1924 ethtool_sprintf(data, in mlx5e_grp_per_prio_pfc_fill_strings()
1932 ethtool_sprintf(data, in mlx5e_grp_per_prio_pfc_fill_strings()
2362 ethtool_sprintf(data, qos_sq_stats_desc[i].format, qid); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2415 ethtool_sprintf(data, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2421 ethtool_sprintf(data, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2490 ethtool_sprintf(data, ch_stats_desc[j].format, i); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2494 ethtool_sprintf(data, rq_stats_desc[j].format, i); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
[all …]
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c1563 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in netvsc_get_strings()
1564 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in netvsc_get_strings()
1565 ethtool_sprintf(&p, "tx_queue_%u_xdp_xmit", i); in netvsc_get_strings()
1566 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in netvsc_get_strings()
1567 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in netvsc_get_strings()
1568 ethtool_sprintf(&p, "rx_queue_%u_xdp_drop", i); in netvsc_get_strings()
1569 ethtool_sprintf(&p, "rx_queue_%u_xdp_redirect", i); in netvsc_get_strings()
1570 ethtool_sprintf(&p, "rx_queue_%u_xdp_tx", i); in netvsc_get_strings()
1575 ethtool_sprintf(&p, pcpu_stats[i].name, cpu); in netvsc_get_strings()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_stats.c260 ethtool_sprintf(buf, "tx_%d_%s", q_num, in ionic_sw_stats_get_tx_strings()
270 ethtool_sprintf(buf, "rx_%d_%s", q_num, in ionic_sw_stats_get_rx_strings()
/linux/drivers/net/
H A Difb.c216 ethtool_sprintf(&p, "rx_queue_%u_%.18s", in ifb_get_strings()
221 ethtool_sprintf(&p, "tx_queue_%u_%.18s", in ifb_get_strings()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c783 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in igc_ethtool_get_strings()
784 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in igc_ethtool_get_strings()
785 ethtool_sprintf(&p, "tx_queue_%u_restart", i); in igc_ethtool_get_strings()
788 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in igc_ethtool_get_strings()
789 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in igc_ethtool_get_strings()
790 ethtool_sprintf(&p, "rx_queue_%u_drops", i); in igc_ethtool_get_strings()
791 ethtool_sprintf(&p, "rx_queue_%u_csum_err", i); in igc_ethtool_get_strings()
792 ethtool_sprintf(&p, "rx_queue_%u_alloc_failed", i); in igc_ethtool_get_strings()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c91 ethtool_sprintf(data, "rxq%d: %s", qidx + start_qidx, in otx2_get_qset_strings()
97 ethtool_sprintf(data, "txq_qos%d: %s", in otx2_get_qset_strings()
102 ethtool_sprintf(data, "txq%d: %s", in otx2_get_qset_strings()
125 ethtool_sprintf(&data, "cgx_rxstat%d: ", stats); in otx2_get_strings()
128 ethtool_sprintf(&data, "cgx_txstat%d: ", stats); in otx2_get_strings()
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.c422 ethtool_sprintf(&data, "q%u_no_wait", i); in nfp_abm_port_get_stats_strings()
423 ethtool_sprintf(&data, "q%u_delayed", i); in nfp_abm_port_get_stats_strings()
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_ethtool.c391 ethtool_sprintf(data, in ena_queue_strings()
404 ethtool_sprintf(data, "queue_%u_rx_%s", i, ena_stats->name); in ena_queue_strings()
417 ethtool_sprintf(data, in ena_com_dev_strings()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2363 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in igb_get_strings()
2364 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in igb_get_strings()
2365 ethtool_sprintf(&p, "tx_queue_%u_restart", i); in igb_get_strings()
2368 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in igb_get_strings()
2369 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in igb_get_strings()
2370 ethtool_sprintf(&p, "rx_queue_%u_drops", i); in igb_get_strings()
2371 ethtool_sprintf(&p, "rx_queue_%u_csum_err", i); in igb_get_strings()
2372 ethtool_sprintf(&p, "rx_queue_%u_alloc_failed", i); in igb_get_strings()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ethtool.c654 ethtool_sprintf(&p, "%s[%u]", txq_stat_names[j], in fun_get_strings()
662 ethtool_sprintf(&p, "%s[%u]", in fun_get_strings()
670 ethtool_sprintf(&p, "%s[%u]", rxq_stat_names[j], in fun_get_strings()
/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c409 ethtool_sprintf(strings, "tx-%u.tx_packets", in efx_describe_per_queue_stats()
420 ethtool_sprintf(strings, "rx-%d.rx_packets", in efx_describe_per_queue_stats()
432 ethtool_sprintf(strings, "tx-xdp-cpu-%hu.tx_packets", in efx_describe_per_queue_stats()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_ethtool.c378 ethtool_sprintf(data, stat->string, idx); in fbnic_get_rxb_enqueue_strings()
388 ethtool_sprintf(data, stat->string, idx); in fbnic_get_rxb_fifo_strings()
398 ethtool_sprintf(data, stat->string, idx); in fbnic_get_rxb_dequeue_strings()
424 ethtool_sprintf(&data, stat->string, idx); in fbnic_get_strings()
/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.c409 ethtool_sprintf(strings, "tx-%u.tx_packets", in efx_describe_per_queue_stats()
420 ethtool_sprintf(strings, "rx-%d.rx_packets", in efx_describe_per_queue_stats()
432 ethtool_sprintf(strings, "tx-xdp-cpu-%hu.tx_packets", in efx_describe_per_queue_stats()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c1483 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in __ice_get_strings()
1484 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in __ice_get_strings()
1488 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in __ice_get_strings()
1489 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in __ice_get_strings()
1499 ethtool_sprintf(&p, "tx_priority_%u_xon.nic", i); in __ice_get_strings()
1500 ethtool_sprintf(&p, "tx_priority_%u_xoff.nic", i); in __ice_get_strings()
1503 ethtool_sprintf(&p, "rx_priority_%u_xon.nic", i); in __ice_get_strings()
1504 ethtool_sprintf(&p, "rx_priority_%u_xoff.nic", i); in __ice_get_strings()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c1486 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in ixgbe_get_strings()
1487 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in ixgbe_get_strings()
1490 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in ixgbe_get_strings()
1491 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in ixgbe_get_strings()
1494 ethtool_sprintf(&p, "tx_pb_%u_pxon", i); in ixgbe_get_strings()
1495 ethtool_sprintf(&p, "tx_pb_%u_pxoff", i); in ixgbe_get_strings()
1498 ethtool_sprintf(&p, "rx_pb_%u_pxon", i); in ixgbe_get_strings()
1499 ethtool_sprintf(&p, "rx_pb_%u_pxoff", i); in ixgbe_get_strings()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c107 ethtool_sprintf(&s, gve_gstrings_rx_stats[j], in gve_get_strings()
112 ethtool_sprintf(&s, gve_gstrings_tx_stats[j], in gve_get_strings()
/linux/drivers/s390/net/
H A Dqeth_ethtool.c84 ethtool_sprintf(data, "%s%s", prefix, stats[i].name); in qeth_add_stat_strings()
/linux/net/core/
H A Dselftests.c475 ethtool_sprintf(&data, "%2d. %s", i + 1, in net_selftest_get_strings()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c367 ethtool_sprintf(strings, "tx-%u.tx_packets", in ef4_describe_per_queue_stats()
378 ethtool_sprintf(strings, "rx-%d.rx_packets", in ef4_describe_per_queue_stats()

12