/linux/net/ethtool/ |
A D | common.h | 24 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 …]
|
A D | netlink.h | 34 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() 399 extern const char stats_std_names[__ETHTOOL_STATS_CNT][ETH_GSTRING_LEN]; 400 extern const char stats_eth_phy_names[__ETHTOOL_A_STATS_ETH_PHY_CNT][ETH_GSTRING_LEN]; 401 extern const char stats_eth_mac_names[__ETHTOOL_A_STATS_ETH_MAC_CNT][ETH_GSTRING_LEN]; 402 extern const char stats_eth_ctrl_names[__ETHTOOL_A_STATS_ETH_CTRL_CNT][ETH_GSTRING_LEN]; 403 extern const char stats_rmon_names[__ETHTOOL_A_STATS_RMON_CNT][ETH_GSTRING_LEN];
|
A D | privflags.c | 13 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()
|
A D | common.c | 11 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] = { 95 phy_tunable_strings[__ETHTOOL_PHY_TUNABLE_COUNT][ETH_GSTRING_LEN] = { 110 const char link_mode_names[][ETH_GSTRING_LEN] = { 354 const char netif_msg_class_names[][ETH_GSTRING_LEN] = { 373 const char wol_mode_names[][ETH_GSTRING_LEN] = { 385 const char sof_timestamping_names[][ETH_GSTRING_LEN] = { 405 const char ts_tx_type_names[][ETH_GSTRING_LEN] = { 413 const char ts_rx_filter_names[][ETH_GSTRING_LEN] = { [all …]
|
/linux/drivers/net/fjes/ |
A D | fjes_ethtool.c | 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() 118 p += ETH_GSTRING_LEN; in fjes_get_strings() 120 p += ETH_GSTRING_LEN; in fjes_get_strings() [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa/ |
A D | dpaa_ethtool.c | 54 static char dpaa_stats_global[][ETH_GSTRING_LEN] = { 331 char string_cpu[ETH_GSTRING_LEN]; in dpaa_get_strings() 343 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings() 344 strings += ETH_GSTRING_LEN; in dpaa_get_strings() 348 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings() 349 strings += ETH_GSTRING_LEN; in dpaa_get_strings() 352 snprintf(string_cpu, ETH_GSTRING_LEN, in dpaa_get_strings() 354 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings() 355 strings += ETH_GSTRING_LEN; in dpaa_get_strings() 358 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings() [all …]
|
/linux/drivers/net/ethernet/sun/ |
A D | sunvnet.c | 82 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 …]
|
/linux/drivers/net/ethernet/microsoft/mana/ |
A D | mana_ethtool.c | 11 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() 53 p += ETH_GSTRING_LEN; in mana_get_strings() 55 p += ETH_GSTRING_LEN; in mana_get_strings()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_ethtool.c | 271 snprintf(p, ETH_GSTRING_LEN, in aq_ethtool_get_strings() 275 p += ETH_GSTRING_LEN; in aq_ethtool_get_strings() 278 snprintf(p, ETH_GSTRING_LEN, in aq_ethtool_get_strings() 282 p += ETH_GSTRING_LEN; in aq_ethtool_get_strings() 297 snprintf(p, ETH_GSTRING_LEN, in aq_ethtool_get_strings() 301 p += ETH_GSTRING_LEN; in aq_ethtool_get_strings() 310 p += ETH_GSTRING_LEN; in aq_ethtool_get_strings() 330 snprintf(p, ETH_GSTRING_LEN, in aq_ethtool_get_strings() 332 p += ETH_GSTRING_LEN; in aq_ethtool_get_strings() 344 p += ETH_GSTRING_LEN; in aq_ethtool_get_strings() [all …]
|
/linux/drivers/net/ethernet/freescale/ |
A D | ucc_geth_ethtool.c | 36 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/drivers/net/ethernet/neterion/vxge/ |
A D | vxge-ethtool.h | 35 #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/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_stats.c | 518 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 522 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 598 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 602 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 1103 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 1108 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() 1287 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 1292 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 1597 char pfc_string[ETH_GSTRING_LEN]; in mlx5e_grp_per_prio_pfc_fill_strings() [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_ethtool.c | 23 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() 114 data += 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() 139 data += ETH_GSTRING_LEN; in otx2_get_strings() 141 data += ETH_GSTRING_LEN; in otx2_get_strings() [all …]
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
A D | ethtool.c | 25 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 …]
|
/linux/drivers/net/ethernet/google/gve/ |
A D | gve_ethtool.c | 36 static const char gve_gstrings_main_stats[][ETH_GSTRING_LEN] = { 44 static const char gve_gstrings_rx_stats[][ETH_GSTRING_LEN] = { 52 static const char gve_gstrings_tx_stats[][ETH_GSTRING_LEN] = { 58 static const char gve_gstrings_adminq_stats[][ETH_GSTRING_LEN] = { 68 static const char gve_gstrings_priv_flags[][ETH_GSTRING_LEN] = { 92 snprintf(s, ETH_GSTRING_LEN, in gve_get_strings() 94 s += ETH_GSTRING_LEN; in gve_get_strings() 100 snprintf(s, ETH_GSTRING_LEN, in gve_get_strings() 102 s += ETH_GSTRING_LEN; in gve_get_strings()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_ethtool.c | 96 char name[ETH_GSTRING_LEN]; 126 char name[ETH_GSTRING_LEN]; 192 static const char rx_ring_stats[][ETH_GSTRING_LEN] = { 203 static const char tx_ring_stats[][ETH_GSTRING_LEN] = { 239 p += ETH_GSTRING_LEN; in enetc_get_strings() 243 snprintf(p, ETH_GSTRING_LEN, tx_ring_stats[j], in enetc_get_strings() 245 p += ETH_GSTRING_LEN; in enetc_get_strings() 250 snprintf(p, ETH_GSTRING_LEN, rx_ring_stats[j], in enetc_get_strings() 252 p += ETH_GSTRING_LEN; in enetc_get_strings() 261 ETH_GSTRING_LEN); in enetc_get_strings() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_ethtool.c | 265 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 …]
|
/linux/drivers/net/ethernet/apm/xgene-v2/ |
A D | ethtool.c | 104 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()
|
A D | ethtool.h | 13 char name[ETH_GSTRING_LEN]; 18 char name[ETH_GSTRING_LEN];
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
A D | hns3_ethtool.h | 11 char stats_string[ETH_GSTRING_LEN]; 21 char name[ETH_GSTRING_LEN];
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_dsaf_main.c | 2601 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 …]
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_ethtool.c | 17 char stat_string[ETH_GSTRING_LEN]; 1207 data += ETH_GSTRING_LEN; in qlcnic_get_strings() 1212 memcpy(data + index * ETH_GSTRING_LEN, in qlcnic_get_strings() 1214 ETH_GSTRING_LEN); in qlcnic_get_strings() 1220 memcpy(data + index * ETH_GSTRING_LEN, in qlcnic_get_strings() 1222 ETH_GSTRING_LEN); in qlcnic_get_strings() 1227 ETH_GSTRING_LEN); in qlcnic_get_strings() 1232 ETH_GSTRING_LEN); in qlcnic_get_strings() 1239 ETH_GSTRING_LEN); in qlcnic_get_strings() 1245 memcpy(data + index * ETH_GSTRING_LEN, in qlcnic_get_strings() [all …]
|
/linux/drivers/net/ethernet/sfc/ |
A D | ethtool_common.c | 261 char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN]; in efx_fill_test() 276 ETH_GSTRING_LEN, in efx_fill_test() 407 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats() 412 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats() 420 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats() 422 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats() 432 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats() 434 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats() 468 ETH_GSTRING_LEN); in efx_ethtool_get_strings() 470 strlcpy(strings + i * ETH_GSTRING_LEN, in efx_ethtool_get_strings() [all …]
|
/linux/drivers/net/ethernet/apm/xgene/ |
A D | xgene_enet_ethtool.c | 12 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/infiniband/ulp/opa_vnic/ |
A D | opa_vnic_ethtool.c | 59 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()
|