Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.c939 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_rcb_pkt_num", index); in hns_rcb_get_strings()
940 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings()
941 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_ppe_tx_pkt_num", index); in hns_rcb_get_strings()
942 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings()
943 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_ppe_drop_pkt_num", index); in hns_rcb_get_strings()
944 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings()
945 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_fbd_num", index); in hns_rcb_get_strings()
946 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings()
948 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_pkt_num", index); in hns_rcb_get_strings()
949 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings()
[all …]
Dhns_ethtool.c256 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.c470 snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_sw_pkt", index); in hns_ppe_get_strings()
471 buff = buff + ETH_GSTRING_LEN; in hns_ppe_get_strings()
472 snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_pkt_ok", index); in hns_ppe_get_strings()
473 buff = buff + ETH_GSTRING_LEN; in hns_ppe_get_strings()
474 snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_drop_pkt_no_bd", index); in hns_ppe_get_strings()
475 buff = buff + ETH_GSTRING_LEN; in hns_ppe_get_strings()
476 snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_alloc_buf_fail", index); in hns_ppe_get_strings()
477 buff = buff + ETH_GSTRING_LEN; in hns_ppe_get_strings()
478 snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_alloc_buf_wait", index); in hns_ppe_get_strings()
479 buff = buff + ETH_GSTRING_LEN; in hns_ppe_get_strings()
[all …]
Dhns_dsaf_main.c2529 snprintf(buff, ETH_GSTRING_LEN, "innod%d_pad_drop_pkts", node); in hns_dsaf_get_node_stats_strings()
2530 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2531 snprintf(buff, ETH_GSTRING_LEN, "innod%d_manage_pkts", node); in hns_dsaf_get_node_stats_strings()
2532 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2533 snprintf(buff, ETH_GSTRING_LEN, "innod%d_rx_pkts", node); in hns_dsaf_get_node_stats_strings()
2534 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2535 snprintf(buff, ETH_GSTRING_LEN, "innod%d_rx_pkt_id", node); in hns_dsaf_get_node_stats_strings()
2536 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2537 snprintf(buff, ETH_GSTRING_LEN, "innod%d_rx_pause_frame", node); in hns_dsaf_get_node_stats_strings()
2538 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
[all …]
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c549 ETH_GSTRING_LEN)); in bnad_get_strings()
551 ETH_GSTRING_LEN); in bnad_get_strings()
552 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()
564 string += ETH_GSTRING_LEN; in bnad_get_strings()
566 string += ETH_GSTRING_LEN; in bnad_get_strings()
568 string += ETH_GSTRING_LEN; in bnad_get_strings()
570 string += ETH_GSTRING_LEN; in bnad_get_strings()
[all …]
/Linux-v4.19/drivers/net/fjes/
Dfjes_ethtool.c32 char stat_string[ETH_GSTRING_LEN];
112 ETH_GSTRING_LEN); in fjes_get_strings()
113 p += ETH_GSTRING_LEN; in fjes_get_strings()
119 p += ETH_GSTRING_LEN; in fjes_get_strings()
121 p += ETH_GSTRING_LEN; in fjes_get_strings()
123 p += ETH_GSTRING_LEN; in fjes_get_strings()
125 p += ETH_GSTRING_LEN; in fjes_get_strings()
127 p += ETH_GSTRING_LEN; in fjes_get_strings()
129 p += ETH_GSTRING_LEN; in fjes_get_strings()
131 p += ETH_GSTRING_LEN; in fjes_get_strings()
[all …]
/Linux-v4.19/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] = {
370 char string_cpu[ETH_GSTRING_LEN]; in dpaa_get_strings()
376 size = DPAA_STATS_GLOBAL_LEN * ETH_GSTRING_LEN; in dpaa_get_strings()
380 snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", in dpaa_get_strings()
382 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
383 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
385 snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", in dpaa_get_strings()
387 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
388 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c10 char stat_string[ETH_GSTRING_LEN];
49 char flag_string[ETH_GSTRING_LEN];
179 ETH_GSTRING_LEN); in i40evf_get_strings()
180 p += ETH_GSTRING_LEN; in i40evf_get_strings()
183 snprintf(p, ETH_GSTRING_LEN, "tx-%u.packets", i); in i40evf_get_strings()
184 p += ETH_GSTRING_LEN; in i40evf_get_strings()
185 snprintf(p, ETH_GSTRING_LEN, "tx-%u.bytes", i); in i40evf_get_strings()
186 p += ETH_GSTRING_LEN; in i40evf_get_strings()
189 snprintf(p, ETH_GSTRING_LEN, "rx-%u.packets", i); in i40evf_get_strings()
190 p += ETH_GSTRING_LEN; in i40evf_get_strings()
[all …]
/Linux-v4.19/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c40 static const char hw_stat_gstrings[][ETH_GSTRING_LEN] = {
61 static const char tx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {
76 static const char rx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {
295 ETH_GSTRING_LEN); in uec_get_strings()
296 buf += UEC_HW_STATS_LEN * ETH_GSTRING_LEN; in uec_get_strings()
300 ETH_GSTRING_LEN); in uec_get_strings()
301 buf += UEC_TX_FW_STATS_LEN * ETH_GSTRING_LEN; in uec_get_strings()
305 ETH_GSTRING_LEN); in uec_get_strings()
/Linux-v4.19/drivers/staging/fsl-dpaa2/ethernet/
Ddpaa2-ethtool.c12 static char dpaa2_ethtool_stats[][ETH_GSTRING_LEN] = {
34 static char dpaa2_ethtool_extras[][ETH_GSTRING_LEN] = {
146 strlcpy(p, dpaa2_ethtool_stats[i], ETH_GSTRING_LEN); in dpaa2_eth_get_strings()
147 p += ETH_GSTRING_LEN; in dpaa2_eth_get_strings()
150 strlcpy(p, dpaa2_ethtool_extras[i], ETH_GSTRING_LEN); in dpaa2_eth_get_strings()
151 p += ETH_GSTRING_LEN; in dpaa2_eth_get_strings()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c114 strcpy(data + (idx++) * ETH_GSTRING_LEN, sw_stats_desc[i].format); in mlx5e_grp_sw_fill_strings()
243 strcpy(data + (idx++) * ETH_GSTRING_LEN, in mlx5e_grp_q_fill_strings()
247 strcpy(data + (idx++) * ETH_GSTRING_LEN, in mlx5e_grp_q_fill_strings()
306 strcpy(data + (idx++) * ETH_GSTRING_LEN, in mlx5e_grp_vnic_env_fill_strings()
399 strcpy(data + (idx++) * ETH_GSTRING_LEN, vport_stats_desc[i].format); in mlx5e_grp_vport_fill_strings()
464 strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_802_3_stats_desc[i].format); in mlx5e_grp_802_3_fill_strings()
515 strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_2863_stats_desc[i].format); in mlx5e_grp_2863_fill_strings()
576 strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_2819_stats_desc[i].format); in mlx5e_grp_2819_fill_strings()
627 strcpy(data + (idx++) * ETH_GSTRING_LEN, "link_down_events_phy"); in mlx5e_grp_phy_fill_strings()
633 strcpy(data + (idx++) * ETH_GSTRING_LEN, in mlx5e_grp_phy_fill_strings()
[all …]
/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c38 char name[ETH_GSTRING_LEN];
219 snprintf(*data, ETH_GSTRING_LEN, in ena_queue_strings()
221 (*data) += ETH_GSTRING_LEN; in ena_queue_strings()
227 snprintf(*data, ETH_GSTRING_LEN, in ena_queue_strings()
229 (*data) += ETH_GSTRING_LEN; in ena_queue_strings()
242 snprintf(*data, ETH_GSTRING_LEN, in ena_com_dev_strings()
244 (*data) += ETH_GSTRING_LEN; in ena_com_dev_strings()
260 memcpy(data, ena_stats->name, ETH_GSTRING_LEN); in ena_get_strings()
261 data += ETH_GSTRING_LEN; in ena_get_strings()
842 ETH_GSTRING_LEN, strings_num, in ena_dump_stats_ex()
[all …]
/Linux-v4.19/drivers/net/ethernet/apm/xgene-v2/
Dethtool.c118 memcpy(p, gstrings_stats[i].name, ETH_GSTRING_LEN); in xge_get_strings()
119 p += ETH_GSTRING_LEN; in xge_get_strings()
123 memcpy(p, gstrings_extd_stats[i].name, ETH_GSTRING_LEN); in xge_get_strings()
124 p += ETH_GSTRING_LEN; in xge_get_strings()
Dethtool.h25 char name[ETH_GSTRING_LEN];
30 char name[ETH_GSTRING_LEN];
/Linux-v4.19/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c25 char stat_string[ETH_GSTRING_LEN];
68 static const char ixgbe_gstrings_test[][ETH_GSTRING_LEN] = {
73 #define IXGBEVF_TEST_LEN (sizeof(ixgbe_gstrings_test) / ETH_GSTRING_LEN)
75 static const char ixgbevf_priv_flags_strings[][ETH_GSTRING_LEN] = {
519 IXGBEVF_TEST_LEN * ETH_GSTRING_LEN); in ixgbevf_get_strings()
524 ETH_GSTRING_LEN); in ixgbevf_get_strings()
525 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
530 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
532 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
536 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
[all …]
/Linux-v4.19/drivers/net/ethernet/intel/ice/
Dice_ethtool.c9 char stat_string[ETH_GSTRING_LEN];
216 snprintf(p, ETH_GSTRING_LEN, "%s", in ice_get_strings()
218 p += ETH_GSTRING_LEN; in ice_get_strings()
222 snprintf(p, ETH_GSTRING_LEN, in ice_get_strings()
224 p += ETH_GSTRING_LEN; in ice_get_strings()
225 snprintf(p, ETH_GSTRING_LEN, "tx-queue-%u.tx_bytes", i); in ice_get_strings()
226 p += ETH_GSTRING_LEN; in ice_get_strings()
230 snprintf(p, ETH_GSTRING_LEN, in ice_get_strings()
232 p += ETH_GSTRING_LEN; in ice_get_strings()
233 snprintf(p, ETH_GSTRING_LEN, "rx-queue-%u.rx_bytes", i); in ice_get_strings()
[all …]
/Linux-v4.19/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-v4.19/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] = {
1197 QLCNIC_TEST_LEN * ETH_GSTRING_LEN); in qlcnic_get_strings()
1205 data += ETH_GSTRING_LEN; in qlcnic_get_strings()
1210 memcpy(data + index * ETH_GSTRING_LEN, in qlcnic_get_strings()
[all …]
/Linux-v4.19/drivers/staging/fsl-dpaa2/ethsw/
Dethsw-ethtool.c14 char name[ETH_GSTRING_LEN];
146 memcpy(data + i * ETH_GSTRING_LEN, in ethsw_ethtool_get_strings()
147 ethsw_ethtool_counters[i].name, ETH_GSTRING_LEN); in ethsw_ethtool_get_strings()
/Linux-v4.19/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-v4.19/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-v4.19/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ethtool.c24 char name[ETH_GSTRING_LEN];
212 memcpy(p, gstrings_stats[i].name, ETH_GSTRING_LEN); in xgene_get_strings()
213 p += ETH_GSTRING_LEN; in xgene_get_strings()
217 memcpy(p, gstrings_extd_stats[i].name, ETH_GSTRING_LEN); in xgene_get_strings()
218 p += ETH_GSTRING_LEN; in xgene_get_strings()
/Linux-v4.19/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c31 char name[ETH_GSTRING_LEN];
165 memcpy(data, enic_tx_stats[i].name, ETH_GSTRING_LEN); in enic_get_strings()
166 data += ETH_GSTRING_LEN; in enic_get_strings()
169 memcpy(data, enic_rx_stats[i].name, ETH_GSTRING_LEN); in enic_get_strings()
170 data += ETH_GSTRING_LEN; in enic_get_strings()
173 memcpy(data, enic_gen_stats[i].name, ETH_GSTRING_LEN); in enic_get_strings()
174 data += ETH_GSTRING_LEN; in enic_get_strings()

1234567