Home
last modified time | relevance | path

Searched refs:ETH_GSTRING_LEN (Results 1 – 25 of 193) sorted by relevance

12345678

/Linux-v5.4/drivers/net/ethernet/pensando/ionic/
Dionic_stats.c143 snprintf(*buf, ETH_GSTRING_LEN, ionic_lif_stats_desc[i].name); in ionic_sw_stats_get_strings()
144 *buf += ETH_GSTRING_LEN; in ionic_sw_stats_get_strings()
148 snprintf(*buf, ETH_GSTRING_LEN, "tx_%d_%s", in ionic_sw_stats_get_strings()
150 *buf += ETH_GSTRING_LEN; in ionic_sw_stats_get_strings()
156 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings()
160 *buf += ETH_GSTRING_LEN; in ionic_sw_stats_get_strings()
163 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings()
167 *buf += ETH_GSTRING_LEN; in ionic_sw_stats_get_strings()
170 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings()
174 *buf += ETH_GSTRING_LEN; in ionic_sw_stats_get_strings()
[all …]
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.c936 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_rcb_pkt_num", index); in hns_rcb_get_strings()
937 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings()
938 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_ppe_tx_pkt_num", index); in hns_rcb_get_strings()
939 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings()
940 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_ppe_drop_pkt_num", index); in hns_rcb_get_strings()
941 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings()
942 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_fbd_num", index); in hns_rcb_get_strings()
943 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings()
945 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_pkt_num", index); in hns_rcb_get_strings()
946 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings()
[all …]
Dhns_ethtool.c252 static const char hns_nic_test_strs[][ETH_GSTRING_LEN] = {
904 ETH_GSTRING_LEN); in hns_get_strings()
905 buff += ETH_GSTRING_LEN; in hns_get_strings()
908 ETH_GSTRING_LEN); in hns_get_strings()
909 buff += ETH_GSTRING_LEN; in hns_get_strings()
912 ETH_GSTRING_LEN); in hns_get_strings()
915 snprintf(buff, ETH_GSTRING_LEN, "rx_packets"); in hns_get_strings()
916 buff = buff + ETH_GSTRING_LEN; in hns_get_strings()
917 snprintf(buff, ETH_GSTRING_LEN, "tx_packets"); in hns_get_strings()
918 buff = buff + ETH_GSTRING_LEN; in hns_get_strings()
[all …]
Dhns_dsaf_ppe.c467 snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_sw_pkt", index); in hns_ppe_get_strings()
468 buff = buff + ETH_GSTRING_LEN; in hns_ppe_get_strings()
469 snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_pkt_ok", index); in hns_ppe_get_strings()
470 buff = buff + ETH_GSTRING_LEN; in hns_ppe_get_strings()
471 snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_drop_pkt_no_bd", index); in hns_ppe_get_strings()
472 buff = buff + ETH_GSTRING_LEN; in hns_ppe_get_strings()
473 snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_alloc_buf_fail", index); in hns_ppe_get_strings()
474 buff = buff + ETH_GSTRING_LEN; in hns_ppe_get_strings()
475 snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_alloc_buf_wait", index); in hns_ppe_get_strings()
476 buff = buff + ETH_GSTRING_LEN; in hns_ppe_get_strings()
[all …]
Dhns_dsaf_main.c2594 snprintf(buff, ETH_GSTRING_LEN, "innod%d_pad_drop_pkts", node); in hns_dsaf_get_node_stats_strings()
2595 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2596 snprintf(buff, ETH_GSTRING_LEN, "innod%d_manage_pkts", node); in hns_dsaf_get_node_stats_strings()
2597 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2598 snprintf(buff, ETH_GSTRING_LEN, "innod%d_rx_pkts", node); in hns_dsaf_get_node_stats_strings()
2599 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2600 snprintf(buff, ETH_GSTRING_LEN, "innod%d_rx_pkt_id", node); in hns_dsaf_get_node_stats_strings()
2601 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2602 snprintf(buff, ETH_GSTRING_LEN, "innod%d_rx_pause_frame", node); in hns_dsaf_get_node_stats_strings()
2603 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
[all …]
/Linux-v5.4/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c541 ETH_GSTRING_LEN)); in bnad_get_strings()
543 ETH_GSTRING_LEN); in bnad_get_strings()
544 string += ETH_GSTRING_LEN; in bnad_get_strings()
550 string += ETH_GSTRING_LEN; in bnad_get_strings()
552 string += ETH_GSTRING_LEN; in bnad_get_strings()
554 string += ETH_GSTRING_LEN; in bnad_get_strings()
556 string += ETH_GSTRING_LEN; in bnad_get_strings()
558 string += ETH_GSTRING_LEN; in bnad_get_strings()
560 string += ETH_GSTRING_LEN; in bnad_get_strings()
562 string += ETH_GSTRING_LEN; in bnad_get_strings()
[all …]
/Linux-v5.4/drivers/net/fjes/
Dfjes_ethtool.c17 char stat_string[ETH_GSTRING_LEN];
97 ETH_GSTRING_LEN); in fjes_get_strings()
98 p += ETH_GSTRING_LEN; in fjes_get_strings()
104 p += ETH_GSTRING_LEN; in fjes_get_strings()
106 p += ETH_GSTRING_LEN; in fjes_get_strings()
108 p += ETH_GSTRING_LEN; in fjes_get_strings()
110 p += ETH_GSTRING_LEN; in fjes_get_strings()
112 p += ETH_GSTRING_LEN; in fjes_get_strings()
114 p += ETH_GSTRING_LEN; in fjes_get_strings()
116 p += ETH_GSTRING_LEN; in fjes_get_strings()
[all …]
/Linux-v5.4/drivers/net/ethernet/google/gve/
Dgve_ethtool.c34 static const char gve_gstrings_main_stats[][ETH_GSTRING_LEN] = {
56 snprintf(s, ETH_GSTRING_LEN, "rx_desc_cnt[%u]", i); in gve_get_strings()
57 s += ETH_GSTRING_LEN; in gve_get_strings()
58 snprintf(s, ETH_GSTRING_LEN, "rx_desc_fill_cnt[%u]", i); in gve_get_strings()
59 s += ETH_GSTRING_LEN; in gve_get_strings()
62 snprintf(s, ETH_GSTRING_LEN, "tx_req[%u]", i); in gve_get_strings()
63 s += ETH_GSTRING_LEN; in gve_get_strings()
64 snprintf(s, ETH_GSTRING_LEN, "tx_done[%u]", i); in gve_get_strings()
65 s += ETH_GSTRING_LEN; in gve_get_strings()
66 snprintf(s, ETH_GSTRING_LEN, "tx_wake[%u]", i); in gve_get_strings()
[all …]
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c42 static const char dpaa_stats_percpu[][ETH_GSTRING_LEN] = {
52 static char dpaa_stats_global[][ETH_GSTRING_LEN] = {
346 char string_cpu[ETH_GSTRING_LEN]; in dpaa_get_strings()
352 size = DPAA_STATS_GLOBAL_LEN * ETH_GSTRING_LEN; in dpaa_get_strings()
356 snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", in dpaa_get_strings()
358 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
359 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
361 snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", in dpaa_get_strings()
363 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
364 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
[all …]
/Linux-v5.4/drivers/net/ethernet/sun/
Dsunvnet.c82 const char string[ETH_GSTRING_LEN];
126 snprintf(p, ETH_GSTRING_LEN, "p%u.%s-%pM", in vnet_get_strings()
129 p += ETH_GSTRING_LEN; in vnet_get_strings()
130 snprintf(p, ETH_GSTRING_LEN, "p%u.rx_packets", in vnet_get_strings()
132 p += ETH_GSTRING_LEN; in vnet_get_strings()
133 snprintf(p, ETH_GSTRING_LEN, "p%u.tx_packets", in vnet_get_strings()
135 p += ETH_GSTRING_LEN; in vnet_get_strings()
136 snprintf(p, ETH_GSTRING_LEN, "p%u.rx_bytes", in vnet_get_strings()
138 p += ETH_GSTRING_LEN; in vnet_get_strings()
139 snprintf(p, ETH_GSTRING_LEN, "p%u.tx_bytes", in vnet_get_strings()
[all …]
/Linux-v5.4/drivers/net/ethernet/neterion/vxge/
Dvxge-ethtool.h35 #define DRIVER_STAT_LEN (sizeof(ethtool_driver_stats_keys)/ETH_GSTRING_LEN)
44 snprintf(buf + *size, ETH_GSTRING_LEN, fmt, __VA_ARGS__); \
45 *size += ETH_GSTRING_LEN; \
/Linux-v5.4/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c36 static const char hw_stat_gstrings[][ETH_GSTRING_LEN] = {
57 static const char tx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {
72 static const char rx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {
289 ETH_GSTRING_LEN); in uec_get_strings()
290 buf += UEC_HW_STATS_LEN * ETH_GSTRING_LEN; in uec_get_strings()
294 ETH_GSTRING_LEN); in uec_get_strings()
295 buf += UEC_TX_FW_STATS_LEN * ETH_GSTRING_LEN; in uec_get_strings()
299 ETH_GSTRING_LEN); in uec_get_strings()
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c94 char name[ETH_GSTRING_LEN];
124 char name[ETH_GSTRING_LEN];
186 static const char rx_ring_stats[][ETH_GSTRING_LEN] = {
191 static const char tx_ring_stats[][ETH_GSTRING_LEN] = {
218 strlcpy(p, enetc_si_counters[i].name, ETH_GSTRING_LEN); in enetc_get_strings()
219 p += ETH_GSTRING_LEN; in enetc_get_strings()
223 snprintf(p, ETH_GSTRING_LEN, tx_ring_stats[j], in enetc_get_strings()
225 p += ETH_GSTRING_LEN; in enetc_get_strings()
230 snprintf(p, ETH_GSTRING_LEN, rx_ring_stats[j], in enetc_get_strings()
232 p += ETH_GSTRING_LEN; in enetc_get_strings()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c159 strcpy(data + (idx++) * ETH_GSTRING_LEN, sw_stats_desc[i].format); in mlx5e_grp_sw_fill_strings()
333 strcpy(data + (idx++) * ETH_GSTRING_LEN, in mlx5e_grp_q_fill_strings()
337 strcpy(data + (idx++) * ETH_GSTRING_LEN, in mlx5e_grp_q_fill_strings()
403 strcpy(data + (idx++) * ETH_GSTRING_LEN, in mlx5e_grp_vnic_env_fill_strings()
407 strcpy(data + (idx++) * ETH_GSTRING_LEN, in mlx5e_grp_vnic_env_fill_strings()
501 strcpy(data + (idx++) * ETH_GSTRING_LEN, vport_stats_desc[i].format); in mlx5e_grp_vport_fill_strings()
566 strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_802_3_stats_desc[i].format); in mlx5e_grp_802_3_fill_strings()
623 strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_2863_stats_desc[i].format); in mlx5e_grp_2863_fill_strings()
684 strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_2819_stats_desc[i].format); in mlx5e_grp_2819_fill_strings()
760 strcpy(data + (idx++) * ETH_GSTRING_LEN, "link_down_events_phy"); in mlx5e_grp_phy_fill_strings()
[all …]
/Linux-v5.4/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c38 char name[ETH_GSTRING_LEN];
222 snprintf(*data, ETH_GSTRING_LEN, in ena_queue_strings()
224 (*data) += ETH_GSTRING_LEN; in ena_queue_strings()
230 snprintf(*data, ETH_GSTRING_LEN, in ena_queue_strings()
232 (*data) += ETH_GSTRING_LEN; in ena_queue_strings()
245 snprintf(*data, ETH_GSTRING_LEN, in ena_com_dev_strings()
247 (*data) += ETH_GSTRING_LEN; in ena_com_dev_strings()
263 memcpy(data, ena_stats->name, ETH_GSTRING_LEN); in ena_get_strings()
264 data += ETH_GSTRING_LEN; in ena_get_strings()
834 ETH_GSTRING_LEN, strings_num, in ena_dump_stats_ex()
[all …]
/Linux-v5.4/drivers/net/ethernet/apm/xgene-v2/
Dethtool.c106 memcpy(p, gstrings_stats[i].name, ETH_GSTRING_LEN); in xge_get_strings()
107 p += ETH_GSTRING_LEN; in xge_get_strings()
111 memcpy(p, gstrings_extd_stats[i].name, ETH_GSTRING_LEN); in xge_get_strings()
112 p += ETH_GSTRING_LEN; in xge_get_strings()
Dethtool.h13 char name[ETH_GSTRING_LEN];
18 char name[ETH_GSTRING_LEN];
/Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c25 char stat_string[ETH_GSTRING_LEN];
70 static const char ixgbe_gstrings_test[][ETH_GSTRING_LEN] = {
75 #define IXGBEVF_TEST_LEN (sizeof(ixgbe_gstrings_test) / ETH_GSTRING_LEN)
77 static const char ixgbevf_priv_flags_strings[][ETH_GSTRING_LEN] = {
515 IXGBEVF_TEST_LEN * ETH_GSTRING_LEN); in ixgbevf_get_strings()
520 ETH_GSTRING_LEN); in ixgbevf_get_strings()
521 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
526 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
528 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
532 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
[all …]
/Linux-v5.4/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_ethtool.c59 char stat_string[ETH_GSTRING_LEN];
169 memcpy(data + i * ETH_GSTRING_LEN, in vnic_get_strings()
171 ETH_GSTRING_LEN); in vnic_get_strings()
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c18 char stat_string[ETH_GSTRING_LEN];
66 static const char qlcnic_device_gstrings_stats[][ETH_GSTRING_LEN] = {
83 static const char qlcnic_83xx_tx_stats_strings[][ETH_GSTRING_LEN] = {
91 static const char qlcnic_83xx_mac_stats_strings[][ETH_GSTRING_LEN] = {
136 static const char qlcnic_tx_queue_stats_strings[][ETH_GSTRING_LEN] = {
146 static const char qlcnic_83xx_rx_stats_strings[][ETH_GSTRING_LEN] = {
166 static const char qlcnic_gstrings_test[][ETH_GSTRING_LEN] = {
1199 QLCNIC_TEST_LEN * ETH_GSTRING_LEN); in qlcnic_get_strings()
1207 data += ETH_GSTRING_LEN; in qlcnic_get_strings()
1212 memcpy(data + index * ETH_GSTRING_LEN, in qlcnic_get_strings()
[all …]
/Linux-v5.4/drivers/staging/fsl-dpaa2/ethsw/
Dethsw-ethtool.c14 char name[ETH_GSTRING_LEN];
153 memcpy(data + i * ETH_GSTRING_LEN, in ethsw_ethtool_get_strings()
154 ethsw_ethtool_counters[i].name, ETH_GSTRING_LEN); in ethsw_ethtool_get_strings()
/Linux-v5.4/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c40 char stat_string[ETH_GSTRING_LEN];
137 ETH_GSTRING_LEN); in ipoib_get_strings()
138 p += ETH_GSTRING_LEN; in ipoib_get_strings()
/Linux-v5.4/drivers/net/dsa/sja1105/
Dsja1105_ethtool.c247 static char sja1105_port_stats[][ETH_GSTRING_LEN] = {
293 static char sja1105pqrs_extra_port_stats[][ETH_GSTRING_LEN] = {
391 strlcpy(p, sja1105_port_stats[i], ETH_GSTRING_LEN); in sja1105_get_strings()
392 p += ETH_GSTRING_LEN; in sja1105_get_strings()
399 ETH_GSTRING_LEN); in sja1105_get_strings()
400 p += ETH_GSTRING_LEN; in sja1105_get_strings()
/Linux-v5.4/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c31 char desc[ETH_GSTRING_LEN];
227 ETH_GSTRING_LEN); in vmxnet3_get_strings()
228 buf += ETH_GSTRING_LEN; in vmxnet3_get_strings()
233 ETH_GSTRING_LEN); in vmxnet3_get_strings()
234 buf += ETH_GSTRING_LEN; in vmxnet3_get_strings()
241 ETH_GSTRING_LEN); in vmxnet3_get_strings()
242 buf += ETH_GSTRING_LEN; in vmxnet3_get_strings()
247 ETH_GSTRING_LEN); in vmxnet3_get_strings()
248 buf += ETH_GSTRING_LEN; in vmxnet3_get_strings()
254 ETH_GSTRING_LEN); in vmxnet3_get_strings()
[all …]
/Linux-v5.4/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ethtool.c12 char name[ETH_GSTRING_LEN];
200 memcpy(p, gstrings_stats[i].name, ETH_GSTRING_LEN); in xgene_get_strings()
201 p += ETH_GSTRING_LEN; in xgene_get_strings()
205 memcpy(p, gstrings_extd_stats[i].name, ETH_GSTRING_LEN); in xgene_get_strings()
206 p += ETH_GSTRING_LEN; in xgene_get_strings()

12345678