/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bnad_ethtool.c | 537 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 …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_rcb.c | 933 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 …]
|
H A D | hns_ethtool.c | 915 ethtool_sprintf(&buff, in hns_get_strings() 917 ethtool_sprintf(&buff, in hns_get_strings() 920 ethtool_sprintf(&buff, in hns_get_strings() 924 ethtool_sprintf(&buff, "rx_packets"); in hns_get_strings() 925 ethtool_sprintf(&buff, "tx_packets"); in hns_get_strings() 926 ethtool_sprintf(&buff, "rx_bytes"); in hns_get_strings() 927 ethtool_sprintf(&buff, "tx_bytes"); in hns_get_strings() 928 ethtool_sprintf(&buff, "rx_errors"); in hns_get_strings() 929 ethtool_sprintf(&buff, "tx_errors"); in hns_get_strings() 930 ethtool_sprintf(&buff, "rx_dropped"); in hns_get_strings() [all …]
|
H A D | hns_dsaf_ppe.c | 465 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 …]
|
H A D | hns_dsaf_gmac.c | 681 ethtool_sprintf(&buff, g_gmac_stats_string[i].desc); in hns_gmac_get_strings()
|
H A D | hns_dsaf_xgmac.c | 755 ethtool_sprintf(&buff, g_xgmac_stats_string[i].desc); in hns_xgmac_get_strings()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 803 ethtool_sprintf(&data, nfp_self_test[i].name); in nfp_get_self_test_strings() 850 ethtool_sprintf(&data, "rvec_%u_rx_pkts", i); in nfp_vnic_get_sw_stats_strings() 851 ethtool_sprintf(&data, "rvec_%u_tx_pkts", i); in nfp_vnic_get_sw_stats_strings() 852 ethtool_sprintf(&data, "rvec_%u_tx_busy", i); in nfp_vnic_get_sw_stats_strings() 855 ethtool_sprintf(&data, "hw_rx_csum_ok"); in nfp_vnic_get_sw_stats_strings() 856 ethtool_sprintf(&data, "hw_rx_csum_inner_ok"); in nfp_vnic_get_sw_stats_strings() 857 ethtool_sprintf(&data, "hw_rx_csum_complete"); in nfp_vnic_get_sw_stats_strings() 858 ethtool_sprintf(&data, "hw_rx_csum_err"); in nfp_vnic_get_sw_stats_strings() 859 ethtool_sprintf(&data, "rx_replace_buf_alloc_fail"); in nfp_vnic_get_sw_stats_strings() 860 ethtool_sprintf(&data, "rx_tls_decrypted_packets"); in nfp_vnic_get_sw_stats_strings() [all …]
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_stats.c | 242 ethtool_sprintf(buf, "tx_%d_%s", q_num, in ionic_sw_stats_get_tx_strings() 252 ethtool_sprintf(buf, "rx_%d_%s", q_num, in ionic_sw_stats_get_rx_strings() 261 ethtool_sprintf(buf, ionic_lif_stats_desc[i].name); in ionic_sw_stats_get_strings() 264 ethtool_sprintf(buf, ionic_port_stats_desc[i].name); in ionic_sw_stats_get_strings()
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_ethtool.c | 654 ethtool_sprintf(&p, "%s[%u]", txq_stat_names[j], in fun_get_strings() 658 ethtool_sprintf(&p, txq_stat_names[j]); in fun_get_strings() 662 ethtool_sprintf(&p, "%s[%u]", in fun_get_strings() 666 ethtool_sprintf(&p, xdpq_stat_names[j]); in fun_get_strings() 670 ethtool_sprintf(&p, "%s[%u]", rxq_stat_names[j], in fun_get_strings() 674 ethtool_sprintf(&p, rxq_stat_names[j]); in fun_get_strings() 677 ethtool_sprintf(&p, tls_stat_names[j]); in fun_get_strings()
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_ethtool.c | 260 ethtool_sprintf(data, in ena_queue_strings() 273 ethtool_sprintf(data, in ena_queue_strings() 289 ethtool_sprintf(data, in ena_com_dev_strings() 303 ethtool_sprintf(&data, ena_stats->name); in ena_get_strings() 309 ethtool_sprintf(&data, ena_stats->name); in ena_get_strings()
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_ethtool.c | 776 ethtool_sprintf(&p, igc_gstrings_stats[i].stat_string); in igc_ethtool_get_strings() 778 ethtool_sprintf(&p, in igc_ethtool_get_strings() 781 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in igc_ethtool_get_strings() 782 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in igc_ethtool_get_strings() 783 ethtool_sprintf(&p, "tx_queue_%u_restart", i); in igc_ethtool_get_strings() 786 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in igc_ethtool_get_strings() 787 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in igc_ethtool_get_strings() 788 ethtool_sprintf(&p, "rx_queue_%u_drops", i); in igc_ethtool_get_strings() 789 ethtool_sprintf(&p, "rx_queue_%u_csum_err", i); in igc_ethtool_get_strings() 790 ethtool_sprintf(&p, "rx_queue_%u_alloc_failed", i); in igc_ethtool_get_strings()
|
/openbmc/linux/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 1589 ethtool_sprintf(&p, netvsc_stats[i].name); in netvsc_get_strings() 1592 ethtool_sprintf(&p, vf_stats[i].name); in netvsc_get_strings() 1595 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in netvsc_get_strings() 1596 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in netvsc_get_strings() 1597 ethtool_sprintf(&p, "tx_queue_%u_xdp_xmit", i); in netvsc_get_strings() 1598 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in netvsc_get_strings() 1599 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in netvsc_get_strings() 1600 ethtool_sprintf(&p, "rx_queue_%u_xdp_drop", i); in netvsc_get_strings() 1601 ethtool_sprintf(&p, "rx_queue_%u_xdp_redirect", i); in netvsc_get_strings() 1602 ethtool_sprintf(&p, "rx_queue_%u_xdp_tx", i); in netvsc_get_strings() [all …]
|
/openbmc/linux/drivers/net/ |
H A D | ifb.c | 216 ethtool_sprintf(&p, "rx_queue_%u_%.18s", in ifb_get_strings() 221 ethtool_sprintf(&p, "tx_queue_%u_%.18s", in ifb_get_strings()
|
H A D | veth.c | 153 ethtool_sprintf(&p, "rx_queue_%u_%.18s", in veth_get_strings() 158 ethtool_sprintf(&p, "tx_queue_%u_%.18s", in veth_get_strings()
|
H A D | virtio_net.c | 3208 ethtool_sprintf(&p, "rx_queue_%u_%s", i, in virtnet_get_strings() 3214 ethtool_sprintf(&p, "tx_queue_%u_%s", i, in virtnet_get_strings()
|
/openbmc/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_ethtool.c | 248 ethtool_sprintf(&buf, vmxnet3_tq_dev_stats[i].desc); in vmxnet3_get_strings() 250 ethtool_sprintf(&buf, vmxnet3_tq_driver_stats[i].desc); in vmxnet3_get_strings() 255 ethtool_sprintf(&buf, vmxnet3_rq_dev_stats[i].desc); in vmxnet3_get_strings() 257 ethtool_sprintf(&buf, vmxnet3_rq_driver_stats[i].desc); in vmxnet3_get_strings() 261 ethtool_sprintf(&buf, vmxnet3_global_stats[i].desc); in vmxnet3_get_strings()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | main.c | 422 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()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool.c | 1063 ethtool_sprintf(&p, in __ice_get_strings() 1070 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in __ice_get_strings() 1071 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in __ice_get_strings() 1075 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in __ice_get_strings() 1076 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in __ice_get_strings() 1083 ethtool_sprintf(&p, in __ice_get_strings() 1087 ethtool_sprintf(&p, "tx_priority_%u_xon.nic", i); in __ice_get_strings() 1088 ethtool_sprintf(&p, "tx_priority_%u_xoff.nic", i); in __ice_get_strings() 1091 ethtool_sprintf(&p, "rx_priority_%u_xon.nic", i); in __ice_get_strings() 1092 ethtool_sprintf(&p, "rx_priority_%u_xoff.nic", i); in __ice_get_strings() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 2359 ethtool_sprintf(&p, in igb_get_strings() 2362 ethtool_sprintf(&p, in igb_get_strings() 2365 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in igb_get_strings() 2366 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in igb_get_strings() 2367 ethtool_sprintf(&p, "tx_queue_%u_restart", i); in igb_get_strings() 2370 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in igb_get_strings() 2371 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in igb_get_strings() 2372 ethtool_sprintf(&p, "rx_queue_%u_drops", i); in igb_get_strings() 2373 ethtool_sprintf(&p, "rx_queue_%u_csum_err", i); in igb_get_strings() 2374 ethtool_sprintf(&p, "rx_queue_%u_alloc_failed", i); in igb_get_strings()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 1416 ethtool_sprintf(&p, ixgbe_gstrings_test[i]); in ixgbe_get_strings() 1420 ethtool_sprintf(&p, in ixgbe_get_strings() 1423 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in ixgbe_get_strings() 1424 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in ixgbe_get_strings() 1427 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in ixgbe_get_strings() 1428 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in ixgbe_get_strings() 1431 ethtool_sprintf(&p, "tx_pb_%u_pxon", i); in ixgbe_get_strings() 1432 ethtool_sprintf(&p, "tx_pb_%u_pxoff", i); in ixgbe_get_strings() 1435 ethtool_sprintf(&p, "rx_pb_%u_pxon", i); in ixgbe_get_strings() 1436 ethtool_sprintf(&p, "rx_pb_%u_pxoff", i); in ixgbe_get_strings()
|
/openbmc/linux/drivers/s390/net/ |
H A D | qeth_ethtool.c | 84 ethtool_sprintf(data, "%s%s", prefix, stats[i].name); in qeth_add_stat_strings()
|
/openbmc/linux/include/linux/ |
H A D | ethtool.h | 1054 extern __printf(2, 3) void ethtool_sprintf(u8 **data, const char *fmt, ...);
|
/openbmc/linux/net/ethtool/ |
H A D | ioctl.c | 1985 __printf(2, 3) void ethtool_sprintf(u8 **data, const char *fmt, ...) in ethtool_sprintf() function 1995 EXPORT_SYMBOL(ethtool_sprintf);
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 2516 ethtool_sprintf(&p, i40e_gstrings_priv_flags[i].flag_string); in i40e_get_priv_flag_strings() 2520 ethtool_sprintf(&p, i40e_gl_gstrings_priv_flags[i].flag_string); in i40e_get_priv_flag_strings()
|