Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c533 ethtool_sprintf(string, "txf%d_ucast_octets", f_num); in bnad_get_txf_strings()
534 ethtool_sprintf(string, "txf%d_ucast", f_num); in bnad_get_txf_strings()
535 ethtool_sprintf(string, "txf%d_ucast_vlan", f_num); in bnad_get_txf_strings()
536 ethtool_sprintf(string, "txf%d_mcast_octets", f_num); in bnad_get_txf_strings()
537 ethtool_sprintf(string, "txf%d_mcast", f_num); in bnad_get_txf_strings()
538 ethtool_sprintf(string, "txf%d_mcast_vlan", f_num); in bnad_get_txf_strings()
539 ethtool_sprintf(string, "txf%d_bcast_octets", f_num); in bnad_get_txf_strings()
540 ethtool_sprintf(string, "txf%d_bcast", f_num); in bnad_get_txf_strings()
541 ethtool_sprintf(string, "txf%d_bcast_vlan", f_num); in bnad_get_txf_strings()
542 ethtool_sprintf(string, "txf%d_errors", f_num); in bnad_get_txf_strings()
[all …]
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.c937 ethtool_sprintf(&buff, "tx_ring%d_rcb_pkt_num", index); in hns_rcb_get_strings()
938 ethtool_sprintf(&buff, "tx_ring%d_ppe_tx_pkt_num", index); in hns_rcb_get_strings()
939 ethtool_sprintf(&buff, "tx_ring%d_ppe_drop_pkt_num", index); in hns_rcb_get_strings()
940 ethtool_sprintf(&buff, "tx_ring%d_fbd_num", index); in hns_rcb_get_strings()
942 ethtool_sprintf(&buff, "tx_ring%d_pkt_num", index); in hns_rcb_get_strings()
943 ethtool_sprintf(&buff, "tx_ring%d_bytes", index); in hns_rcb_get_strings()
944 ethtool_sprintf(&buff, "tx_ring%d_err_cnt", index); in hns_rcb_get_strings()
945 ethtool_sprintf(&buff, "tx_ring%d_io_err", index); in hns_rcb_get_strings()
946 ethtool_sprintf(&buff, "tx_ring%d_sw_err", index); in hns_rcb_get_strings()
947 ethtool_sprintf(&buff, "tx_ring%d_seg_pkt", index); in hns_rcb_get_strings()
[all …]
Dhns_ethtool.c914 ethtool_sprintf(&buff, in hns_get_strings()
916 ethtool_sprintf(&buff, in hns_get_strings()
919 ethtool_sprintf(&buff, in hns_get_strings()
923 ethtool_sprintf(&buff, "rx_packets"); in hns_get_strings()
924 ethtool_sprintf(&buff, "tx_packets"); in hns_get_strings()
925 ethtool_sprintf(&buff, "rx_bytes"); in hns_get_strings()
926 ethtool_sprintf(&buff, "tx_bytes"); in hns_get_strings()
927 ethtool_sprintf(&buff, "rx_errors"); in hns_get_strings()
928 ethtool_sprintf(&buff, "tx_errors"); in hns_get_strings()
929 ethtool_sprintf(&buff, "rx_dropped"); in hns_get_strings()
[all …]
Dhns_dsaf_ppe.c468 ethtool_sprintf(&buff, "ppe%d_rx_sw_pkt", index); in hns_ppe_get_strings()
469 ethtool_sprintf(&buff, "ppe%d_rx_pkt_ok", index); in hns_ppe_get_strings()
470 ethtool_sprintf(&buff, "ppe%d_rx_drop_pkt_no_bd", index); in hns_ppe_get_strings()
471 ethtool_sprintf(&buff, "ppe%d_rx_alloc_buf_fail", index); in hns_ppe_get_strings()
472 ethtool_sprintf(&buff, "ppe%d_rx_alloc_buf_wait", index); in hns_ppe_get_strings()
473 ethtool_sprintf(&buff, "ppe%d_rx_pkt_drop_no_buf", index); in hns_ppe_get_strings()
474 ethtool_sprintf(&buff, "ppe%d_rx_pkt_err_fifo_full", index); in hns_ppe_get_strings()
476 ethtool_sprintf(&buff, "ppe%d_tx_bd", index); in hns_ppe_get_strings()
477 ethtool_sprintf(&buff, "ppe%d_tx_pkt", index); in hns_ppe_get_strings()
478 ethtool_sprintf(&buff, "ppe%d_tx_pkt_ok", index); in hns_ppe_get_strings()
[all …]
Dhns_dsaf_gmac.c681 ethtool_sprintf(&buff, g_gmac_stats_string[i].desc); in hns_gmac_get_strings()
Dhns_dsaf_xgmac.c755 ethtool_sprintf(&buff, g_xgmac_stats_string[i].desc); in hns_xgmac_get_strings()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c448 ethtool_sprintf(&data, "rvec_%u_rx_pkts", i); in nfp_vnic_get_sw_stats_strings()
449 ethtool_sprintf(&data, "rvec_%u_tx_pkts", i); in nfp_vnic_get_sw_stats_strings()
450 ethtool_sprintf(&data, "rvec_%u_tx_busy", i); in nfp_vnic_get_sw_stats_strings()
453 ethtool_sprintf(&data, "hw_rx_csum_ok"); in nfp_vnic_get_sw_stats_strings()
454 ethtool_sprintf(&data, "hw_rx_csum_inner_ok"); in nfp_vnic_get_sw_stats_strings()
455 ethtool_sprintf(&data, "hw_rx_csum_complete"); in nfp_vnic_get_sw_stats_strings()
456 ethtool_sprintf(&data, "hw_rx_csum_err"); in nfp_vnic_get_sw_stats_strings()
457 ethtool_sprintf(&data, "rx_replace_buf_alloc_fail"); in nfp_vnic_get_sw_stats_strings()
458 ethtool_sprintf(&data, "rx_tls_decrypted_packets"); in nfp_vnic_get_sw_stats_strings()
459 ethtool_sprintf(&data, "hw_tx_csum"); in nfp_vnic_get_sw_stats_strings()
[all …]
/Linux-v5.15/drivers/net/ethernet/pensando/ionic/
Dionic_stats.c280 ethtool_sprintf(buf, "tx_%d_%s", q_num, in ionic_sw_stats_get_tx_strings()
288 ethtool_sprintf(buf, "txq_%d_%s", q_num, in ionic_sw_stats_get_tx_strings()
291 ethtool_sprintf(buf, "txq_%d_cq_%s", q_num, in ionic_sw_stats_get_tx_strings()
294 ethtool_sprintf(buf, "txq_%d_intr_%s", q_num, in ionic_sw_stats_get_tx_strings()
297 ethtool_sprintf(buf, "txq_%d_sg_cntr_%d", q_num, i); in ionic_sw_stats_get_tx_strings()
306 ethtool_sprintf(buf, "rx_%d_%s", q_num, in ionic_sw_stats_get_rx_strings()
314 ethtool_sprintf(buf, "rxq_%d_cq_%s", q_num, in ionic_sw_stats_get_rx_strings()
317 ethtool_sprintf(buf, "rxq_%d_intr_%s", q_num, in ionic_sw_stats_get_rx_strings()
320 ethtool_sprintf(buf, "rxq_%d_napi_%s", q_num, in ionic_sw_stats_get_rx_strings()
323 ethtool_sprintf(buf, "rxq_%d_napi_work_done_%d", q_num, i); in ionic_sw_stats_get_rx_strings()
[all …]
/Linux-v5.15/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c257 ethtool_sprintf(data, in ena_queue_strings()
270 ethtool_sprintf(data, in ena_queue_strings()
286 ethtool_sprintf(data, in ena_com_dev_strings()
300 ethtool_sprintf(&data, ena_stats->name); in ena_get_strings()
306 ethtool_sprintf(&data, ena_stats->name); in ena_get_strings()
/Linux-v5.15/drivers/net/ethernet/intel/igc/
Digc_ethtool.c769 ethtool_sprintf(&p, igc_gstrings_stats[i].stat_string); in igc_ethtool_get_strings()
771 ethtool_sprintf(&p, in igc_ethtool_get_strings()
774 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in igc_ethtool_get_strings()
775 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in igc_ethtool_get_strings()
776 ethtool_sprintf(&p, "tx_queue_%u_restart", i); in igc_ethtool_get_strings()
779 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in igc_ethtool_get_strings()
780 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in igc_ethtool_get_strings()
781 ethtool_sprintf(&p, "rx_queue_%u_drops", i); in igc_ethtool_get_strings()
782 ethtool_sprintf(&p, "rx_queue_%u_csum_err", i); in igc_ethtool_get_strings()
783 ethtool_sprintf(&p, "rx_queue_%u_alloc_failed", i); in igc_ethtool_get_strings()
/Linux-v5.15/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c233 ethtool_sprintf(&buf, vmxnet3_tq_dev_stats[i].desc); in vmxnet3_get_strings()
235 ethtool_sprintf(&buf, vmxnet3_tq_driver_stats[i].desc); in vmxnet3_get_strings()
240 ethtool_sprintf(&buf, vmxnet3_rq_dev_stats[i].desc); in vmxnet3_get_strings()
242 ethtool_sprintf(&buf, vmxnet3_rq_driver_stats[i].desc); in vmxnet3_get_strings()
246 ethtool_sprintf(&buf, vmxnet3_global_stats[i].desc); in vmxnet3_get_strings()
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_ethtool.c879 ethtool_sprintf(&p, in ice_get_strings()
883 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in ice_get_strings()
884 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in ice_get_strings()
888 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in ice_get_strings()
889 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in ice_get_strings()
896 ethtool_sprintf(&p, in ice_get_strings()
900 ethtool_sprintf(&p, "tx_priority_%u_xon.nic", i); in ice_get_strings()
901 ethtool_sprintf(&p, "tx_priority_%u_xoff.nic", i); in ice_get_strings()
904 ethtool_sprintf(&p, "rx_priority_%u_xon.nic", i); in ice_get_strings()
905 ethtool_sprintf(&p, "rx_priority_%u_xoff.nic", i); in ice_get_strings()
[all …]
/Linux-v5.15/drivers/net/hyperv/
Dnetvsc_drv.c1613 ethtool_sprintf(&p, netvsc_stats[i].name); in netvsc_get_strings()
1616 ethtool_sprintf(&p, vf_stats[i].name); in netvsc_get_strings()
1619 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in netvsc_get_strings()
1620 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in netvsc_get_strings()
1621 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in netvsc_get_strings()
1622 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in netvsc_get_strings()
1623 ethtool_sprintf(&p, "rx_queue_%u_xdp_drop", i); in netvsc_get_strings()
1628 ethtool_sprintf(&p, pcpu_stats[i].name, cpu); in netvsc_get_strings()
/Linux-v5.15/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-v5.15/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2354 ethtool_sprintf(&p, in igb_get_strings()
2357 ethtool_sprintf(&p, in igb_get_strings()
2360 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in igb_get_strings()
2361 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in igb_get_strings()
2362 ethtool_sprintf(&p, "tx_queue_%u_restart", i); in igb_get_strings()
2365 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in igb_get_strings()
2366 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in igb_get_strings()
2367 ethtool_sprintf(&p, "rx_queue_%u_drops", i); in igb_get_strings()
2368 ethtool_sprintf(&p, "rx_queue_%u_csum_err", i); in igb_get_strings()
2369 ethtool_sprintf(&p, "rx_queue_%u_alloc_failed", i); in igb_get_strings()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c1377 ethtool_sprintf(&p, ixgbe_gstrings_test[i]); in ixgbe_get_strings()
1381 ethtool_sprintf(&p, in ixgbe_get_strings()
1384 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in ixgbe_get_strings()
1385 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in ixgbe_get_strings()
1388 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in ixgbe_get_strings()
1389 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in ixgbe_get_strings()
1392 ethtool_sprintf(&p, "tx_pb_%u_pxon", i); in ixgbe_get_strings()
1393 ethtool_sprintf(&p, "tx_pb_%u_pxoff", i); in ixgbe_get_strings()
1396 ethtool_sprintf(&p, "rx_pb_%u_pxon", i); in ixgbe_get_strings()
1397 ethtool_sprintf(&p, "rx_pb_%u_pxoff", i); in ixgbe_get_strings()
/Linux-v5.15/include/linux/
Dethtool.h790 extern __printf(2, 3) void ethtool_sprintf(u8 **data, const char *fmt, ...);
/Linux-v5.15/drivers/s390/net/
Dqeth_ethtool.c84 ethtool_sprintf(data, "%s%s", prefix, stats[i].name); in qeth_add_stat_strings()
/Linux-v5.15/net/ethtool/
Dioctl.c1945 __printf(2, 3) void ethtool_sprintf(u8 **data, const char *fmt, ...) in ethtool_sprintf() function
1955 EXPORT_SYMBOL(ethtool_sprintf);
/Linux-v5.15/drivers/net/
Dvirtio_net.c2230 ethtool_sprintf(&p, "rx_queue_%u_%s", i, in virtnet_get_strings()
2236 ethtool_sprintf(&p, "tx_queue_%u_%s", i, in virtnet_get_strings()
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c2416 ethtool_sprintf(&p, i40e_gstrings_priv_flags[i].flag_string); in i40e_get_priv_flag_strings()
2420 ethtool_sprintf(&p, i40e_gl_gstrings_priv_flags[i].flag_string); in i40e_get_priv_flag_strings()