Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/ethernet/brocade/bna/
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-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.c933 ethtool_sprintf(&buff, "tx_ring%d_rcb_pkt_num", index); in hns_rcb_get_strings()
934 ethtool_sprintf(&buff, "tx_ring%d_ppe_tx_pkt_num", index); in hns_rcb_get_strings()
935 ethtool_sprintf(&buff, "tx_ring%d_ppe_drop_pkt_num", index); in hns_rcb_get_strings()
936 ethtool_sprintf(&buff, "tx_ring%d_fbd_num", index); in hns_rcb_get_strings()
938 ethtool_sprintf(&buff, "tx_ring%d_pkt_num", index); in hns_rcb_get_strings()
939 ethtool_sprintf(&buff, "tx_ring%d_bytes", index); in hns_rcb_get_strings()
940 ethtool_sprintf(&buff, "tx_ring%d_err_cnt", index); in hns_rcb_get_strings()
941 ethtool_sprintf(&buff, "tx_ring%d_io_err", index); in hns_rcb_get_strings()
942 ethtool_sprintf(&buff, "tx_ring%d_sw_err", index); in hns_rcb_get_strings()
943 ethtool_sprintf(&buff, "tx_ring%d_seg_pkt", index); in hns_rcb_get_strings()
[all …]
Dhns_dsaf_ppe.c465 ethtool_sprintf(&buff, "ppe%d_rx_sw_pkt", index); in hns_ppe_get_strings()
466 ethtool_sprintf(&buff, "ppe%d_rx_pkt_ok", index); in hns_ppe_get_strings()
467 ethtool_sprintf(&buff, "ppe%d_rx_drop_pkt_no_bd", index); in hns_ppe_get_strings()
468 ethtool_sprintf(&buff, "ppe%d_rx_alloc_buf_fail", index); in hns_ppe_get_strings()
469 ethtool_sprintf(&buff, "ppe%d_rx_alloc_buf_wait", index); in hns_ppe_get_strings()
470 ethtool_sprintf(&buff, "ppe%d_rx_pkt_drop_no_buf", index); in hns_ppe_get_strings()
471 ethtool_sprintf(&buff, "ppe%d_rx_pkt_err_fifo_full", index); in hns_ppe_get_strings()
473 ethtool_sprintf(&buff, "ppe%d_tx_bd", index); in hns_ppe_get_strings()
474 ethtool_sprintf(&buff, "ppe%d_tx_pkt", index); in hns_ppe_get_strings()
475 ethtool_sprintf(&buff, "ppe%d_tx_pkt_ok", index); in hns_ppe_get_strings()
[all …]
/linux-6.12.1/drivers/net/ethernet/sun/
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-6.12.1/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c282 ethtool_sprintf(&p, in aq_ethtool_get_strings()
288 ethtool_sprintf(&p, in aq_ethtool_get_strings()
306 ethtool_sprintf(&p, in aq_ethtool_get_strings()
314 ethtool_sprintf(&p, in aq_ethtool_get_strings()
337 ethtool_sprintf(&p, in aq_ethtool_get_strings()
347 ethtool_sprintf(&p, in aq_ethtool_get_strings()
366 ethtool_sprintf(&p, in aq_ethtool_get_strings()
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_ethtool.c95 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in wx_get_strings()
96 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in wx_get_strings()
99 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in wx_get_strings()
100 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in wx_get_strings()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c1674 ethtool_sprintf(data, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
1678 ethtool_sprintf(data, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
1800 ethtool_sprintf(data, in mlx5e_grp_per_prio_traffic_fill_strings()
1891 ethtool_sprintf(data, in mlx5e_grp_per_prio_pfc_fill_strings()
1899 ethtool_sprintf(data, in mlx5e_grp_per_prio_pfc_fill_strings()
2331 ethtool_sprintf(data, qos_sq_stats_desc[i].format, qid); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2384 ethtool_sprintf(data, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2390 ethtool_sprintf(data, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2396 ethtool_sprintf(data, ptp_rq_stats_desc[i].format, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2460 ethtool_sprintf(data, ch_stats_desc[j].format, i); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c505 ethtool_sprintf(&data, "tx%d_packets", i); in mlx4_en_get_strings()
506 ethtool_sprintf(&data, "tx%d_bytes", i); in mlx4_en_get_strings()
509 ethtool_sprintf(&data, "rx%d_packets", i); in mlx4_en_get_strings()
510 ethtool_sprintf(&data, "rx%d_bytes", i); in mlx4_en_get_strings()
511 ethtool_sprintf(&data, "rx%d_dropped", i); in mlx4_en_get_strings()
512 ethtool_sprintf(&data, "rx%d_xdp_drop", i); in mlx4_en_get_strings()
513 ethtool_sprintf(&data, "rx%d_xdp_redirect", i); in mlx4_en_get_strings()
514 ethtool_sprintf(&data, "rx%d_xdp_redirect_fail", i); in mlx4_en_get_strings()
515 ethtool_sprintf(&data, "rx%d_xdp_tx", i); in mlx4_en_get_strings()
516 ethtool_sprintf(&data, "rx%d_xdp_tx_full", i); in mlx4_en_get_strings()
/linux-6.12.1/drivers/net/
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()
Dveth.c154 ethtool_sprintf(&p, "rx_queue_%u_%.18s", in veth_get_strings()
159 ethtool_sprintf(&p, "tx_queue_%u_%.18s", in veth_get_strings()
/linux-6.12.1/drivers/net/ethernet/pensando/ionic/
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-6.12.1/drivers/net/hyperv/
Dnetvsc_drv.c1596 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in netvsc_get_strings()
1597 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in netvsc_get_strings()
1598 ethtool_sprintf(&p, "tx_queue_%u_xdp_xmit", i); in netvsc_get_strings()
1599 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in netvsc_get_strings()
1600 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in netvsc_get_strings()
1601 ethtool_sprintf(&p, "rx_queue_%u_xdp_drop", i); in netvsc_get_strings()
1602 ethtool_sprintf(&p, "rx_queue_%u_xdp_redirect", i); in netvsc_get_strings()
1603 ethtool_sprintf(&p, "rx_queue_%u_xdp_tx", i); in netvsc_get_strings()
1608 ethtool_sprintf(&p, pcpu_stats[i].name, cpu); in netvsc_get_strings()
/linux-6.12.1/drivers/net/ethernet/intel/igc/
Digc_ethtool.c780 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in igc_ethtool_get_strings()
781 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in igc_ethtool_get_strings()
782 ethtool_sprintf(&p, "tx_queue_%u_restart", i); in igc_ethtool_get_strings()
785 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in igc_ethtool_get_strings()
786 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in igc_ethtool_get_strings()
787 ethtool_sprintf(&p, "rx_queue_%u_drops", i); in igc_ethtool_get_strings()
788 ethtool_sprintf(&p, "rx_queue_%u_csum_err", i); in igc_ethtool_get_strings()
789 ethtool_sprintf(&p, "rx_queue_%u_alloc_failed", i); in igc_ethtool_get_strings()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/abm/
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-6.12.1/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c377 ethtool_sprintf(data, in ena_queue_strings()
390 ethtool_sprintf(data, "queue_%u_rx_%s", i, ena_stats->name); in ena_queue_strings()
403 ethtool_sprintf(data, in ena_com_dev_strings()
/linux-6.12.1/drivers/net/ethernet/intel/igb/
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-6.12.1/drivers/net/ethernet/fungible/funeth/
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-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c1424 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in ixgbe_get_strings()
1425 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in ixgbe_get_strings()
1428 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in ixgbe_get_strings()
1429 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in ixgbe_get_strings()
1432 ethtool_sprintf(&p, "tx_pb_%u_pxon", i); in ixgbe_get_strings()
1433 ethtool_sprintf(&p, "tx_pb_%u_pxoff", i); in ixgbe_get_strings()
1436 ethtool_sprintf(&p, "rx_pb_%u_pxon", i); in ixgbe_get_strings()
1437 ethtool_sprintf(&p, "rx_pb_%u_pxoff", i); in ixgbe_get_strings()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_ethtool.c1496 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in __ice_get_strings()
1497 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in __ice_get_strings()
1501 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in __ice_get_strings()
1502 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in __ice_get_strings()
1512 ethtool_sprintf(&p, "tx_priority_%u_xon.nic", i); in __ice_get_strings()
1513 ethtool_sprintf(&p, "tx_priority_%u_xoff.nic", i); in __ice_get_strings()
1516 ethtool_sprintf(&p, "rx_priority_%u_xon.nic", i); in __ice_get_strings()
1517 ethtool_sprintf(&p, "rx_priority_%u_xoff.nic", i); in __ice_get_strings()
/linux-6.12.1/drivers/net/ethernet/google/gve/
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-6.12.1/net/core/
Dselftests.c403 ethtool_sprintf(&data, "%2d. %s", i + 1, in net_selftest_get_strings()
/linux-6.12.1/drivers/s390/net/
Dqeth_ethtool.c84 ethtool_sprintf(data, "%s%s", prefix, stats[i].name); in qeth_add_stat_strings()
/linux-6.12.1/include/linux/
Dethtool.h1265 extern __printf(2, 3) void ethtool_sprintf(u8 **data, const char *fmt, ...);
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c1489 ethtool_sprintf(&data, hinic_tx_queue_stats[j].name, i); in hinic_get_strings()
1493 ethtool_sprintf(&data, hinic_rx_queue_stats[j].name, i); in hinic_get_strings()

12