Home
last modified time | relevance | path

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

12345678910

/linux-6.1.9/net/ethtool/
Dcommon.h24 netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN];
26 rss_hash_func_strings[ETH_RSS_HASH_FUNCS_COUNT][ETH_GSTRING_LEN];
28 tunable_strings[__ETHTOOL_TUNABLE_COUNT][ETH_GSTRING_LEN];
30 phy_tunable_strings[__ETHTOOL_PHY_TUNABLE_COUNT][ETH_GSTRING_LEN];
31 extern const char link_mode_names[][ETH_GSTRING_LEN];
33 extern const char netif_msg_class_names[][ETH_GSTRING_LEN];
34 extern const char wol_mode_names[][ETH_GSTRING_LEN];
35 extern const char sof_timestamping_names[][ETH_GSTRING_LEN];
36 extern const char ts_tx_type_names[][ETH_GSTRING_LEN];
37 extern const char ts_rx_filter_names[][ETH_GSTRING_LEN];
[all …]
Dnetlink.h34 return nla_total_size(strnlen(s, ETH_GSTRING_LEN) + 1); in ethnl_strz_size()
50 unsigned int len = strnlen(s, ETH_GSTRING_LEN); in ethnl_put_strz()
410 extern const char stats_std_names[__ETHTOOL_STATS_CNT][ETH_GSTRING_LEN];
411 extern const char stats_eth_phy_names[__ETHTOOL_A_STATS_ETH_PHY_CNT][ETH_GSTRING_LEN];
412 extern const char stats_eth_mac_names[__ETHTOOL_A_STATS_ETH_MAC_CNT][ETH_GSTRING_LEN];
413 extern const char stats_eth_ctrl_names[__ETHTOOL_A_STATS_ETH_CTRL_CNT][ETH_GSTRING_LEN];
414 extern const char stats_rmon_names[__ETHTOOL_A_STATS_RMON_CNT][ETH_GSTRING_LEN];
Dprivflags.c13 const char (*priv_flag_names)[ETH_GSTRING_LEN];
28 const char (**names)[ETH_GSTRING_LEN]) in ethnl_get_priv_flags_info() argument
38 *names = kcalloc(nflags, ETH_GSTRING_LEN, GFP_KERNEL); in ethnl_get_priv_flags_info()
64 const char (*names)[ETH_GSTRING_LEN]; in privflags_prepare_data()
144 const char (*names)[ETH_GSTRING_LEN] = NULL; in ethnl_set_privflags()
Dcommon.c11 const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] = {
80 rss_hash_func_strings[ETH_RSS_HASH_FUNCS_COUNT][ETH_GSTRING_LEN] = {
87 tunable_strings[__ETHTOOL_TUNABLE_COUNT][ETH_GSTRING_LEN] = {
96 phy_tunable_strings[__ETHTOOL_PHY_TUNABLE_COUNT][ETH_GSTRING_LEN] = {
111 const char link_mode_names[][ETH_GSTRING_LEN] = {
358 const char netif_msg_class_names[][ETH_GSTRING_LEN] = {
377 const char wol_mode_names[][ETH_GSTRING_LEN] = {
389 const char sof_timestamping_names[][ETH_GSTRING_LEN] = {
409 const char ts_tx_type_names[][ETH_GSTRING_LEN] = {
417 const char ts_rx_filter_names[][ETH_GSTRING_LEN] = {
[all …]
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/microsoft/mana/
Dmana_ethtool.c11 char name[ETH_GSTRING_LEN];
40 memcpy(p, mana_eth_stats[i].name, ETH_GSTRING_LEN); in mana_get_strings()
41 p += ETH_GSTRING_LEN; in mana_get_strings()
46 p += ETH_GSTRING_LEN; in mana_get_strings()
48 p += ETH_GSTRING_LEN; in mana_get_strings()
50 p += ETH_GSTRING_LEN; in mana_get_strings()
52 p += ETH_GSTRING_LEN; in mana_get_strings()
54 p += ETH_GSTRING_LEN; in mana_get_strings()
59 p += ETH_GSTRING_LEN; in mana_get_strings()
61 p += ETH_GSTRING_LEN; in mana_get_strings()
[all …]
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c16 static const char dpaa_stats_percpu[][ETH_GSTRING_LEN] = {
28 static char dpaa_stats_global[][ETH_GSTRING_LEN] = {
305 char string_cpu[ETH_GSTRING_LEN]; in dpaa_get_strings()
311 size = DPAA_STATS_GLOBAL_LEN * ETH_GSTRING_LEN; in dpaa_get_strings()
315 snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", in dpaa_get_strings()
317 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
318 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
320 snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", in dpaa_get_strings()
322 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
323 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
[all …]
/linux-6.1.9/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-6.1.9/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] = {
293 ETH_GSTRING_LEN); in uec_get_strings()
294 buf += UEC_HW_STATS_LEN * ETH_GSTRING_LEN; in uec_get_strings()
298 ETH_GSTRING_LEN); in uec_get_strings()
299 buf += UEC_TX_FW_STATS_LEN * ETH_GSTRING_LEN; in uec_get_strings()
303 ETH_GSTRING_LEN); in uec_get_strings()
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ethtool.c16 static const char octep_gstrings_global_stats[][ETH_GSTRING_LEN] = {
50 #define OCTEP_GLOBAL_STATS_CNT (sizeof(octep_gstrings_global_stats) / ETH_GSTRING_LEN)
52 static const char octep_gstrings_tx_q_stats[][ETH_GSTRING_LEN] = {
59 #define OCTEP_TX_Q_STATS_CNT (sizeof(octep_gstrings_tx_q_stats) / ETH_GSTRING_LEN)
61 static const char octep_gstrings_rx_q_stats[][ETH_GSTRING_LEN] = {
67 #define OCTEP_RX_Q_STATS_CNT (sizeof(octep_gstrings_rx_q_stats) / ETH_GSTRING_LEN)
89 snprintf(strings, ETH_GSTRING_LEN, in octep_get_strings()
91 strings += ETH_GSTRING_LEN; in octep_get_strings()
96 snprintf(strings, ETH_GSTRING_LEN, in octep_get_strings()
98 strings += ETH_GSTRING_LEN; in octep_get_strings()
[all …]
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c68 static const char aq_ethtool_stat_names[][ETH_GSTRING_LEN] = {
118 static const char aq_macsec_stat_names[][ETH_GSTRING_LEN] = {
173 static const char aq_ethtool_priv_flag_names[][ETH_GSTRING_LEN] = {
281 snprintf(p, ETH_GSTRING_LEN, in aq_ethtool_get_strings()
285 p += ETH_GSTRING_LEN; in aq_ethtool_get_strings()
288 snprintf(p, ETH_GSTRING_LEN, in aq_ethtool_get_strings()
292 p += ETH_GSTRING_LEN; in aq_ethtool_get_strings()
307 snprintf(p, ETH_GSTRING_LEN, in aq_ethtool_get_strings()
311 p += ETH_GSTRING_LEN; in aq_ethtool_get_strings()
316 snprintf(p, ETH_GSTRING_LEN, in aq_ethtool_get_strings()
[all …]
/linux-6.1.9/drivers/net/ethernet/engleder/
Dtsnep_ethtool.c6 static const char tsnep_stats_strings[][ETH_GSTRING_LEN] = {
34 static const char tsnep_rx_queue_stats_strings[][ETH_GSTRING_LEN] = {
59 static const char tsnep_tx_queue_stats_strings[][ETH_GSTRING_LEN] = {
142 snprintf(data, ETH_GSTRING_LEN, in tsnep_ethtool_get_strings()
144 data += ETH_GSTRING_LEN; in tsnep_ethtool_get_strings()
150 snprintf(data, ETH_GSTRING_LEN, in tsnep_ethtool_get_strings()
152 data += ETH_GSTRING_LEN; in tsnep_ethtool_get_strings()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_tqp_stats.c46 snprintf(buff, ETH_GSTRING_LEN, "txq%u_pktnum_rcd", tqp->index); in hclge_comm_tqps_get_strings()
47 buff += ETH_GSTRING_LEN; in hclge_comm_tqps_get_strings()
53 snprintf(buff, ETH_GSTRING_LEN, "rxq%u_pktnum_rcd", tqp->index); in hclge_comm_tqps_get_strings()
54 buff += ETH_GSTRING_LEN; in hclge_comm_tqps_get_strings()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.h11 char stats_string[ETH_GSTRING_LEN];
21 char name[ETH_GSTRING_LEN];
/linux-6.1.9/drivers/net/ethernet/apm/xgene-v2/
Dethtool.c104 memcpy(p, gstrings_stats[i].name, ETH_GSTRING_LEN); in xge_get_strings()
105 p += ETH_GSTRING_LEN; in xge_get_strings()
109 memcpy(p, gstrings_extd_stats[i].name, ETH_GSTRING_LEN); in xge_get_strings()
110 p += ETH_GSTRING_LEN; in xge_get_strings()
Dethtool.h13 char name[ETH_GSTRING_LEN];
18 char name[ETH_GSTRING_LEN];
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c23 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] = {
513 IXGBEVF_TEST_LEN * ETH_GSTRING_LEN); in ixgbevf_get_strings()
518 ETH_GSTRING_LEN); in ixgbevf_get_strings()
519 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
524 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
526 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
530 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c260 strcpy(data + (idx++) * ETH_GSTRING_LEN, sw_stats_desc[i].format); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
582 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
586 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
671 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
675 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
679 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
773 strcpy(data + (idx++) * ETH_GSTRING_LEN, vport_stats_desc[i].format); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
833 strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_802_3_stats_desc[i].format);
994 strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_2863_stats_desc[i].format);
1053 strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_2819_stats_desc[i].format);
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ethtool.c265 char str[ETH_GSTRING_LEN];
564 char str[ETH_GSTRING_LEN];
611 snprintf(*p, ETH_GSTRING_LEN, "%.29s_%.1d", in mlxsw_sp_port_get_prio_strings()
613 *p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_prio_strings()
622 snprintf(*p, ETH_GSTRING_LEN, "%.29s_%.1d", in mlxsw_sp_port_get_tc_strings()
624 *p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_tc_strings()
639 ETH_GSTRING_LEN); in mlxsw_sp_port_get_strings()
640 p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_strings()
645 ETH_GSTRING_LEN); in mlxsw_sp_port_get_strings()
646 p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_strings()
[all …]
/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_ethtool.c37 static const char gve_gstrings_main_stats[][ETH_GSTRING_LEN] = {
45 static const char gve_gstrings_rx_stats[][ETH_GSTRING_LEN] = {
53 static const char gve_gstrings_tx_stats[][ETH_GSTRING_LEN] = {
59 static const char gve_gstrings_adminq_stats[][ETH_GSTRING_LEN] = {
69 static const char gve_gstrings_priv_flags[][ETH_GSTRING_LEN] = {
93 snprintf(s, ETH_GSTRING_LEN, in gve_get_strings()
95 s += ETH_GSTRING_LEN; in gve_get_strings()
101 snprintf(s, ETH_GSTRING_LEN, in gve_get_strings()
103 s += ETH_GSTRING_LEN; in gve_get_strings()
/linux-6.1.9/drivers/net/ethernet/sfc/
Dethtool_common.c104 static const char efx_ethtool_priv_flags_strings[][ETH_GSTRING_LEN] = {
270 char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN]; in efx_fill_test()
284 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test()
285 ETH_GSTRING_LEN, in efx_fill_test()
416 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
421 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
429 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
431 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
441 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
443 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
[all …]
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c23 char name[ETH_GSTRING_LEN];
92 *data += ETH_GSTRING_LEN; in otx2_get_qset_strings()
99 *data += ETH_GSTRING_LEN; in otx2_get_qset_strings()
113 memcpy(data, otx2_dev_stats[stats].name, ETH_GSTRING_LEN); in otx2_get_strings()
114 data += ETH_GSTRING_LEN; in otx2_get_strings()
118 memcpy(data, otx2_drv_stats[stats].name, ETH_GSTRING_LEN); in otx2_get_strings()
119 data += ETH_GSTRING_LEN; in otx2_get_strings()
127 data += ETH_GSTRING_LEN; in otx2_get_strings()
132 data += ETH_GSTRING_LEN; in otx2_get_strings()
137 data += ETH_GSTRING_LEN; in otx2_get_strings()
[all …]
/linux-6.1.9/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_ethtool.c59 char stat_string[ETH_GSTRING_LEN];
167 memcpy(data + i * ETH_GSTRING_LEN, in vnic_get_strings()
169 ETH_GSTRING_LEN); in vnic_get_strings()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c2600 snprintf(buff, ETH_GSTRING_LEN, "innod%d_pad_drop_pkts", 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_manage_pkts", node); in hns_dsaf_get_node_stats_strings()
2603 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2604 snprintf(buff, ETH_GSTRING_LEN, "innod%d_rx_pkts", node); in hns_dsaf_get_node_stats_strings()
2605 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2606 snprintf(buff, ETH_GSTRING_LEN, "innod%d_rx_pkt_id", node); in hns_dsaf_get_node_stats_strings()
2607 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2608 snprintf(buff, ETH_GSTRING_LEN, "innod%d_rx_pause_frame", node); in hns_dsaf_get_node_stats_strings()
2609 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
[all …]
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c17 char stat_string[ETH_GSTRING_LEN];
65 static const char qlcnic_device_gstrings_stats[][ETH_GSTRING_LEN] = {
82 static const char qlcnic_83xx_tx_stats_strings[][ETH_GSTRING_LEN] = {
90 static const char qlcnic_83xx_mac_stats_strings[][ETH_GSTRING_LEN] = {
135 static const char qlcnic_tx_queue_stats_strings[][ETH_GSTRING_LEN] = {
145 static const char qlcnic_83xx_rx_stats_strings[][ETH_GSTRING_LEN] = {
165 static const char qlcnic_gstrings_test[][ETH_GSTRING_LEN] = {
1203 QLCNIC_TEST_LEN * ETH_GSTRING_LEN); in qlcnic_get_strings()
1211 data += ETH_GSTRING_LEN; in qlcnic_get_strings()
1216 memcpy(data + index * ETH_GSTRING_LEN, in qlcnic_get_strings()
[all …]

12345678910