Home
last modified time | relevance | path

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

1234567

/linux/net/ethtool/
H A Dcommon.h26 netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN];
28 rss_hash_func_strings[ETH_RSS_HASH_FUNCS_COUNT][ETH_GSTRING_LEN];
30 tunable_strings[__ETHTOOL_TUNABLE_COUNT][ETH_GSTRING_LEN];
32 phy_tunable_strings[__ETHTOOL_PHY_TUNABLE_COUNT][ETH_GSTRING_LEN];
33 extern const char link_mode_names[][ETH_GSTRING_LEN];
35 extern const char netif_msg_class_names[][ETH_GSTRING_LEN];
36 extern const char wol_mode_names[][ETH_GSTRING_LEN];
37 extern const char sof_timestamping_names[][ETH_GSTRING_LEN];
38 extern const char ts_tx_type_names[][ETH_GSTRING_LEN];
39 extern const char ts_rx_filter_names[][ETH_GSTRING_LEN];
[all …]
H A Dnetlink.h35 return nla_total_size(strnlen(s, ETH_GSTRING_LEN) + 1); in ethnl_strz_size()
51 unsigned int len = strnlen(s, ETH_GSTRING_LEN); in ethnl_put_strz()
503 extern const char stats_std_names[__ETHTOOL_STATS_CNT][ETH_GSTRING_LEN];
504 extern const char stats_eth_phy_names[__ETHTOOL_A_STATS_ETH_PHY_CNT][ETH_GSTRING_LEN];
505 extern const char stats_eth_mac_names[__ETHTOOL_A_STATS_ETH_MAC_CNT][ETH_GSTRING_LEN];
506 extern const char stats_eth_ctrl_names[__ETHTOOL_A_STATS_ETH_CTRL_CNT][ETH_GSTRING_LEN];
507 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.c12 const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] = {
78 rss_hash_func_strings[ETH_RSS_HASH_FUNCS_COUNT][ETH_GSTRING_LEN] = {
85 tunable_strings[__ETHTOOL_TUNABLE_COUNT][ETH_GSTRING_LEN] = {
94 phy_tunable_strings[__ETHTOOL_PHY_TUNABLE_COUNT][ETH_GSTRING_LEN] = {
109 const char link_mode_names[][ETH_GSTRING_LEN] = {
381 const char netif_msg_class_names[][ETH_GSTRING_LEN] = {
400 const char wol_mode_names[][ETH_GSTRING_LEN] = {
412 const char sof_timestamping_names[][ETH_GSTRING_LEN] = {
434 const char ts_tx_type_names[][ETH_GSTRING_LEN] = {
442 const char ts_rx_filter_names[][ETH_GSTRING_LEN] = {
[all …]
H A Dstats.c30 const char stats_std_names[__ETHTOOL_STATS_CNT][ETH_GSTRING_LEN] = {
37 const char stats_eth_phy_names[__ETHTOOL_A_STATS_ETH_PHY_CNT][ETH_GSTRING_LEN] = {
41 const char stats_eth_mac_names[__ETHTOOL_A_STATS_ETH_MAC_CNT][ETH_GSTRING_LEN] = {
66 const char stats_eth_ctrl_names[__ETHTOOL_A_STATS_ETH_CTRL_CNT][ETH_GSTRING_LEN] = {
72 const char stats_rmon_names[__ETHTOOL_A_STATS_RMON_CNT][ETH_GSTRING_LEN] = {
/linux/drivers/net/ethernet/intel/ixgbevf/
H A 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/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c16 char name[ETH_GSTRING_LEN];
188 memcpy(data, enic_tx_stats[i].name, ETH_GSTRING_LEN); in enic_get_strings()
189 data += ETH_GSTRING_LEN; in enic_get_strings()
192 memcpy(data, enic_rx_stats[i].name, ETH_GSTRING_LEN); in enic_get_strings()
193 data += ETH_GSTRING_LEN; in enic_get_strings()
196 memcpy(data, enic_gen_stats[i].name, ETH_GSTRING_LEN); in enic_get_strings()
197 data += ETH_GSTRING_LEN; in enic_get_strings()
201 snprintf(data, ETH_GSTRING_LEN, in enic_get_strings()
203 data += ETH_GSTRING_LEN; in enic_get_strings()
208 snprintf(data, ETH_GSTRING_LEN, in enic_get_strings()
[all …]
/linux/drivers/net/ethernet/apm/xgene-v2/
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()
H A Dethtool.h13 char name[ETH_GSTRING_LEN];
18 char name[ETH_GSTRING_LEN];
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.h11 char stats_string[ETH_GSTRING_LEN];
21 char name[ETH_GSTRING_LEN];
/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()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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, "%.28s_%d", 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/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c40 char stat_string[ETH_GSTRING_LEN];
171 static const char stmmac_qstats_string[][ETH_GSTRING_LEN] = {
289 static const char stmmac_qstats_tx_string[][ETH_GSTRING_LEN] = {
295 static const char stmmac_qstats_rx_string[][ETH_GSTRING_LEN] = {
770 snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, in stmmac_get_qstats_string()
772 data += ETH_GSTRING_LEN; in stmmac_get_qstats_string()
777 snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, in stmmac_get_qstats_string()
779 data += ETH_GSTRING_LEN; in stmmac_get_qstats_string()
798 memcpy(p, desc, ETH_GSTRING_LEN); in stmmac_get_strings()
799 p += ETH_GSTRING_LEN; in stmmac_get_strings()
[all …]
/linux/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_ethtool.c12 char name[ETH_GSTRING_LEN];
198 memcpy(p, gstrings_stats[i].name, ETH_GSTRING_LEN); in xgene_get_strings()
199 p += ETH_GSTRING_LEN; in xgene_get_strings()
203 memcpy(p, gstrings_extd_stats[i].name, ETH_GSTRING_LEN); in xgene_get_strings()
204 p += ETH_GSTRING_LEN; in xgene_get_strings()
/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_ethtool.c22 char name[ETH_GSTRING_LEN];
221 *data += ETH_GSTRING_LEN; in nicvf_get_qset_strings()
229 *data += ETH_GSTRING_LEN; in nicvf_get_qset_strings()
244 memcpy(data, nicvf_hw_stats[stats].name, ETH_GSTRING_LEN); in nicvf_get_strings()
245 data += ETH_GSTRING_LEN; in nicvf_get_strings()
249 memcpy(data, nicvf_drv_stats[stats].name, ETH_GSTRING_LEN); in nicvf_get_strings()
250 data += ETH_GSTRING_LEN; in nicvf_get_strings()
263 data += ETH_GSTRING_LEN; in nicvf_get_strings()
268 data += ETH_GSTRING_LEN; in nicvf_get_strings()
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-ethtool.c26 char stat_string[ETH_GSTRING_LEN];
208 ETH_GSTRING_LEN); in xlgmac_ethtool_get_strings()
209 data += ETH_GSTRING_LEN; in xlgmac_ethtool_get_strings()
/linux/drivers/net/ethernet/intel/igbvf/
H A Dethtool.c16 char stat_string[ETH_GSTRING_LEN];
45 static const char igbvf_gstrings_test[][ETH_GSTRING_LEN] = {
425 ETH_GSTRING_LEN); in igbvf_get_strings()
426 p += ETH_GSTRING_LEN; in igbvf_get_strings()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_ethtool.c19 char desc[ETH_GSTRING_LEN];
204 static const char et_self_tests[][ETH_GSTRING_LEN] = {
425 static const char be_priv_flags[][ETH_GSTRING_LEN] = {
438 memcpy(data, et_stats[i].desc, ETH_GSTRING_LEN); in be_get_stat_strings()
439 data += ETH_GSTRING_LEN; in be_get_stat_strings()
445 data += ETH_GSTRING_LEN; in be_get_stat_strings()
452 data += ETH_GSTRING_LEN; in be_get_stat_strings()
458 memcpy(data, et_self_tests[i], ETH_GSTRING_LEN); in be_get_stat_strings()
459 data += ETH_GSTRING_LEN; in be_get_stat_strings()
464 strcpy(data + i * ETH_GSTRING_LEN, be_priv_flags[i]); in be_get_stat_strings()
/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-ethtool.c186 char desc[ETH_GSTRING_LEN];
374 static const char am65_cpsw_ethtool_priv_flags[][ETH_GSTRING_LEN] = {
618 memcpy(p, hw_stats[i].desc, ETH_GSTRING_LEN); in am65_cpsw_get_strings()
619 p += ETH_GSTRING_LEN; in am65_cpsw_get_strings()
625 memcpy(p, hw_stats[i].desc, ETH_GSTRING_LEN); in am65_cpsw_get_strings()
626 p += ETH_GSTRING_LEN; in am65_cpsw_get_strings()
634 ETH_GSTRING_LEN); in am65_cpsw_get_strings()
635 p += ETH_GSTRING_LEN; in am65_cpsw_get_strings()
H A Dcpsw_ethtool.c63 char stat_string[ETH_GSTRING_LEN];
247 snprintf(*p, ETH_GSTRING_LEN, in cpsw_add_ch_strings()
251 *p += ETH_GSTRING_LEN; in cpsw_add_ch_strings()
265 ETH_GSTRING_LEN); in cpsw_get_strings()
266 p += ETH_GSTRING_LEN; in cpsw_get_strings()
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_stats.h88 char name[ETH_GSTRING_LEN];
179 char name[ETH_GSTRING_LEN];
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c15 char stat_string[ETH_GSTRING_LEN];
121 static const char fm10k_gstrings_test[][ETH_GSTRING_LEN] = {
125 #define FM10K_TEST_LEN (sizeof(fm10k_gstrings_test) / ETH_GSTRING_LEN)
136 static const char fm10k_prv_flags[FM10K_PRV_FLAG_LEN][ETH_GSTRING_LEN] = {
148 vsnprintf(*p, ETH_GSTRING_LEN, stats[i].stat_string, args); in __fm10k_add_stat_strings()
149 *p += ETH_GSTRING_LEN; in __fm10k_add_stat_strings()
186 FM10K_TEST_LEN * ETH_GSTRING_LEN); in fm10k_get_strings()
193 FM10K_PRV_FLAG_LEN * ETH_GSTRING_LEN); in fm10k_get_strings()
/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-ethtool.c104 ETH_GSTRING_LEN); in emac_get_strings()
105 data += ETH_GSTRING_LEN; in emac_get_strings()
/linux/include/linux/dsa/
H A Dloop.h16 char name[ETH_GSTRING_LEN];
/linux/drivers/net/ethernet/altera/
H A Daltera_tse_ethtool.c29 static char const stat_gstrings[][ETH_GSTRING_LEN] = {
80 memcpy(buf, stat_gstrings, TSE_STATS_LEN * ETH_GSTRING_LEN); in tse_gstrings()

1234567