Home
last modified time | relevance | path

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

12345678910

/openbmc/linux/net/ethtool/
H A 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 …]
H A 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()
452 extern const char stats_std_names[__ETHTOOL_STATS_CNT][ETH_GSTRING_LEN];
453 extern const char stats_eth_phy_names[__ETHTOOL_A_STATS_ETH_PHY_CNT][ETH_GSTRING_LEN];
454 extern const char stats_eth_mac_names[__ETHTOOL_A_STATS_ETH_MAC_CNT][ETH_GSTRING_LEN];
455 extern const char stats_eth_ctrl_names[__ETHTOOL_A_STATS_ETH_CTRL_CNT][ETH_GSTRING_LEN];
456 extern const char stats_rmon_names[__ETHTOOL_A_STATS_RMON_CNT][ETH_GSTRING_LEN];
H A 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()
147 const char (*names)[ETH_GSTRING_LEN] = NULL; in ethnl_set_privflags()
H A 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] = {
380 const char netif_msg_class_names[][ETH_GSTRING_LEN] = {
399 const char wol_mode_names[][ETH_GSTRING_LEN] = {
411 const char sof_timestamping_names[][ETH_GSTRING_LEN] = {
432 const char ts_tx_type_names[][ETH_GSTRING_LEN] = {
440 const char ts_rx_filter_names[][ETH_GSTRING_LEN] = {
[all …]
/openbmc/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_ethtool.c11 char name[ETH_GSTRING_LEN];
62 p += ETH_GSTRING_LEN; in mana_get_strings()
67 p += ETH_GSTRING_LEN; in mana_get_strings()
69 p += ETH_GSTRING_LEN; in mana_get_strings()
71 p += ETH_GSTRING_LEN; in mana_get_strings()
73 p += ETH_GSTRING_LEN; in mana_get_strings()
75 p += ETH_GSTRING_LEN; in mana_get_strings()
80 p += ETH_GSTRING_LEN; in mana_get_strings()
82 p += ETH_GSTRING_LEN; in mana_get_strings()
84 p += ETH_GSTRING_LEN; in mana_get_strings()
[all …]
/openbmc/linux/drivers/net/fjes/
H A Dfjes_ethtool.c98 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()
118 p += ETH_GSTRING_LEN; in fjes_get_strings()
120 p += ETH_GSTRING_LEN; in fjes_get_strings()
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c30 static char dpaa_stats_global[][ETH_GSTRING_LEN] = {
247 char string_cpu[ETH_GSTRING_LEN]; in dpaa_get_strings()
259 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
260 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
264 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
265 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
268 snprintf(string_cpu, ETH_GSTRING_LEN, in dpaa_get_strings()
270 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
271 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
274 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
[all …]
/openbmc/linux/drivers/net/ethernet/sun/
H A 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()
132 p += ETH_GSTRING_LEN; 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()
141 p += ETH_GSTRING_LEN; in vnet_get_strings()
144 p += ETH_GSTRING_LEN; in vnet_get_strings()
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/
H A 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()
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_ethtool.c16 static const char 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()
104 snprintf(strings, ETH_GSTRING_LEN, in octep_get_strings()
[all …]
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c281 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()
320 p += ETH_GSTRING_LEN; in aq_ethtool_get_strings()
340 snprintf(p, ETH_GSTRING_LEN, in aq_ethtool_get_strings()
342 p += ETH_GSTRING_LEN; in aq_ethtool_get_strings()
354 p += ETH_GSTRING_LEN; in aq_ethtool_get_strings()
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A 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()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.h11 char stats_string[ETH_GSTRING_LEN];
21 char name[ETH_GSTRING_LEN];
/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dethtool.h13 char name[ETH_GSTRING_LEN];
18 char name[ETH_GSTRING_LEN];
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_stats.c582 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()
787 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
1207 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
1212 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
1422 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
1812 char pfc_string[ETH_GSTRING_LEN]; in mlx5e_grp_per_prio_pfc_fill_strings()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c23 char stat_string[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()
532 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
536 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
538 p += ETH_GSTRING_LEN; in ixgbevf_get_strings()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c265 char str[ETH_GSTRING_LEN];
564 char str[ETH_GSTRING_LEN];
613 *p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_prio_strings()
624 *p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_tc_strings()
640 p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_strings()
646 p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_strings()
652 p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_strings()
658 p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_strings()
664 p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_strings()
670 p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_strings()
[all …]
/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep_ethtool.c6 static const char tsnep_stats_strings[][ETH_GSTRING_LEN] = {
36 static const char tsnep_rx_queue_stats_strings[][ETH_GSTRING_LEN] = {
63 static const char tsnep_tx_queue_stats_strings[][ETH_GSTRING_LEN] = {
146 snprintf(data, ETH_GSTRING_LEN, in tsnep_ethtool_get_strings()
148 data += ETH_GSTRING_LEN; in tsnep_ethtool_get_strings()
154 snprintf(data, ETH_GSTRING_LEN, in tsnep_ethtool_get_strings()
156 data += ETH_GSTRING_LEN; in tsnep_ethtool_get_strings()
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/
H A 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()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c23 char name[ETH_GSTRING_LEN];
92 *data += ETH_GSTRING_LEN; in otx2_get_qset_strings()
105 *data += ETH_GSTRING_LEN; in otx2_get_qset_strings()
120 data += ETH_GSTRING_LEN; in otx2_get_strings()
125 data += ETH_GSTRING_LEN; in otx2_get_strings()
133 data += ETH_GSTRING_LEN; in otx2_get_strings()
138 data += ETH_GSTRING_LEN; in otx2_get_strings()
143 data += ETH_GSTRING_LEN; in otx2_get_strings()
145 data += ETH_GSTRING_LEN; in otx2_get_strings()
147 data += ETH_GSTRING_LEN; in otx2_get_strings()
[all …]
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c42 static const char gve_gstrings_main_stats[][ETH_GSTRING_LEN] = {
50 static const char gve_gstrings_rx_stats[][ETH_GSTRING_LEN] = {
62 static const char gve_gstrings_tx_stats[][ETH_GSTRING_LEN] = {
69 static const char gve_gstrings_adminq_stats[][ETH_GSTRING_LEN] = {
79 static const char gve_gstrings_priv_flags[][ETH_GSTRING_LEN] = {
105 snprintf(s, ETH_GSTRING_LEN, in gve_get_strings()
107 s += ETH_GSTRING_LEN; in gve_get_strings()
113 snprintf(s, ETH_GSTRING_LEN, in gve_get_strings()
115 s += ETH_GSTRING_LEN; in gve_get_strings()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dserdes.c114 char string[ETH_GSTRING_LEN];
147 memcpy(data + i * ETH_GSTRING_LEN, stat->string, in mv88e6352_serdes_get_strings()
148 ETH_GSTRING_LEN); in mv88e6352_serdes_get_strings()
379 char string[ETH_GSTRING_LEN];
408 memcpy(data + i * ETH_GSTRING_LEN, stat->string, in mv88e6390_serdes_get_strings()
409 ETH_GSTRING_LEN); in mv88e6390_serdes_get_strings()
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_ethtool.c17 char stat_string[ETH_GSTRING_LEN];
1211 data += ETH_GSTRING_LEN; in qlcnic_get_strings()
1216 memcpy(data + index * ETH_GSTRING_LEN, in qlcnic_get_strings()
1218 ETH_GSTRING_LEN); in qlcnic_get_strings()
1224 memcpy(data + index * ETH_GSTRING_LEN, in qlcnic_get_strings()
1226 ETH_GSTRING_LEN); in qlcnic_get_strings()
1231 ETH_GSTRING_LEN); in qlcnic_get_strings()
1236 ETH_GSTRING_LEN); in qlcnic_get_strings()
1243 ETH_GSTRING_LEN); in qlcnic_get_strings()
1249 memcpy(data + index * ETH_GSTRING_LEN, in qlcnic_get_strings()
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_main.c2601 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2603 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2605 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2607 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2609 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2611 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2613 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2615 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2617 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2619 buff += ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
[all …]

12345678910