| /Linux-v5.10/net/ethtool/ |
| D | common.h | 18 netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN]; 20 rss_hash_func_strings[ETH_RSS_HASH_FUNCS_COUNT][ETH_GSTRING_LEN]; 22 tunable_strings[__ETHTOOL_TUNABLE_COUNT][ETH_GSTRING_LEN]; 24 phy_tunable_strings[__ETHTOOL_PHY_TUNABLE_COUNT][ETH_GSTRING_LEN]; 25 extern const char link_mode_names[][ETH_GSTRING_LEN]; 26 extern const char netif_msg_class_names[][ETH_GSTRING_LEN]; 27 extern const char wol_mode_names[][ETH_GSTRING_LEN]; 28 extern const char sof_timestamping_names[][ETH_GSTRING_LEN]; 29 extern const char ts_tx_type_names[][ETH_GSTRING_LEN]; 30 extern const char ts_rx_filter_names[][ETH_GSTRING_LEN]; [all …]
|
| D | common.c | 10 const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] = { 74 rss_hash_func_strings[ETH_RSS_HASH_FUNCS_COUNT][ETH_GSTRING_LEN] = { 81 tunable_strings[__ETHTOOL_TUNABLE_COUNT][ETH_GSTRING_LEN] = { 89 phy_tunable_strings[__ETHTOOL_PHY_TUNABLE_COUNT][ETH_GSTRING_LEN] = { 104 const char link_mode_names[][ETH_GSTRING_LEN] = { 200 const char netif_msg_class_names[][ETH_GSTRING_LEN] = { 219 const char wol_mode_names[][ETH_GSTRING_LEN] = { 231 const char sof_timestamping_names[][ETH_GSTRING_LEN] = { 250 const char ts_tx_type_names[][ETH_GSTRING_LEN] = { 258 const char ts_rx_filter_names[][ETH_GSTRING_LEN] = { [all …]
|
| 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()
|
| /Linux-v5.10/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_dsaf_rcb.c | 937 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_rcb_pkt_num", index); in hns_rcb_get_strings() 938 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings() 939 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_ppe_tx_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_drop_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_fbd_num", index); in hns_rcb_get_strings() 944 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings() 946 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_pkt_num", index); in hns_rcb_get_strings() 947 buff = buff + ETH_GSTRING_LEN; in hns_rcb_get_strings() [all …]
|
| D | hns_ethtool.c | 252 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 …]
|
| D | hns_dsaf_ppe.c | 468 snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_sw_pkt", index); in hns_ppe_get_strings() 469 buff = buff + ETH_GSTRING_LEN; in hns_ppe_get_strings() 470 snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_pkt_ok", 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_drop_pkt_no_bd", 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_alloc_buf_fail", 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_wait", index); in hns_ppe_get_strings() 477 buff = buff + ETH_GSTRING_LEN; in hns_ppe_get_strings() [all …]
|
| D | hns_dsaf_main.c | 2600 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-v5.10/drivers/net/ethernet/brocade/bna/ |
| D | bnad_ethtool.c | 540 ETH_GSTRING_LEN)); in bnad_get_strings() 542 ETH_GSTRING_LEN); in bnad_get_strings() 543 string += ETH_GSTRING_LEN; in bnad_get_strings() 549 string += ETH_GSTRING_LEN; in bnad_get_strings() 551 string += ETH_GSTRING_LEN; in bnad_get_strings() 553 string += ETH_GSTRING_LEN; in bnad_get_strings() 555 string += ETH_GSTRING_LEN; in bnad_get_strings() 557 string += ETH_GSTRING_LEN; in bnad_get_strings() 559 string += ETH_GSTRING_LEN; in bnad_get_strings() 561 string += ETH_GSTRING_LEN; in bnad_get_strings() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/pensando/ionic/ |
| D | ionic_stats.c | 253 snprintf(*buf, ETH_GSTRING_LEN, ionic_lif_stats_desc[i].name); in ionic_sw_stats_get_strings() 254 *buf += ETH_GSTRING_LEN; in ionic_sw_stats_get_strings() 258 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings() 260 *buf += ETH_GSTRING_LEN; in ionic_sw_stats_get_strings() 265 snprintf(*buf, ETH_GSTRING_LEN, "tx_%d_%s", in ionic_sw_stats_get_strings() 267 *buf += ETH_GSTRING_LEN; in ionic_sw_stats_get_strings() 273 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings() 277 *buf += ETH_GSTRING_LEN; in ionic_sw_stats_get_strings() 280 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings() 284 *buf += ETH_GSTRING_LEN; in ionic_sw_stats_get_strings() [all …]
|
| /Linux-v5.10/drivers/net/fjes/ |
| D | fjes_ethtool.c | 17 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-v5.10/drivers/net/ethernet/freescale/dpaa/ |
| D | dpaa_ethtool.c | 42 static const char dpaa_stats_percpu[][ETH_GSTRING_LEN] = { 54 static char dpaa_stats_global[][ETH_GSTRING_LEN] = { 331 char string_cpu[ETH_GSTRING_LEN]; in dpaa_get_strings() 337 size = DPAA_STATS_GLOBAL_LEN * ETH_GSTRING_LEN; in dpaa_get_strings() 341 snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", 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() 346 snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", 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() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/sun/ |
| 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() 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-v5.10/drivers/net/ethernet/neterion/vxge/ |
| 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-v5.10/drivers/net/ethernet/freescale/ |
| 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-v5.10/drivers/net/ethernet/aquantia/atlantic/ |
| D | aq_ethtool.c | 67 static const char aq_ethtool_stat_names[][ETH_GSTRING_LEN] = { 108 static const char aq_macsec_stat_names[][ETH_GSTRING_LEN] = { 163 static const char aq_ethtool_priv_flag_names[][ETH_GSTRING_LEN] = { 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() 306 snprintf(p, ETH_GSTRING_LEN, in aq_ethtool_get_strings() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | otx2_ethtool.c | 25 char name[ETH_GSTRING_LEN]; 87 *data += ETH_GSTRING_LEN; in otx2_get_qset_strings() 94 *data += ETH_GSTRING_LEN; in otx2_get_qset_strings() 108 memcpy(data, otx2_dev_stats[stats].name, ETH_GSTRING_LEN); in otx2_get_strings() 109 data += ETH_GSTRING_LEN; in otx2_get_strings() 113 memcpy(data, otx2_drv_stats[stats].name, ETH_GSTRING_LEN); in otx2_get_strings() 114 data += ETH_GSTRING_LEN; in otx2_get_strings() 121 data += ETH_GSTRING_LEN; in otx2_get_strings() 126 data += ETH_GSTRING_LEN; in otx2_get_strings() 130 data += ETH_GSTRING_LEN; in otx2_get_strings() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/amazon/ena/ |
| D | ena_ethtool.c | 11 char name[ETH_GSTRING_LEN]; 252 snprintf(*data, ETH_GSTRING_LEN, in ena_queue_strings() 255 (*data) += ETH_GSTRING_LEN; in ena_queue_strings() 265 snprintf(*data, ETH_GSTRING_LEN, in ena_queue_strings() 267 (*data) += ETH_GSTRING_LEN; in ena_queue_strings() 281 snprintf(*data, ETH_GSTRING_LEN, in ena_com_dev_strings() 283 (*data) += ETH_GSTRING_LEN; in ena_com_dev_strings() 296 memcpy(data, ena_stats->name, ETH_GSTRING_LEN); in ena_get_strings() 297 data += ETH_GSTRING_LEN; in ena_get_strings() 303 memcpy(data, ena_stats->name, ETH_GSTRING_LEN); in ena_get_strings() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_stats.c | 238 strcpy(data + (idx++) * ETH_GSTRING_LEN, sw_stats_desc[i].format); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 430 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 434 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 510 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 514 strcpy(data + (idx++) * ETH_GSTRING_LEN, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 602 strcpy(data + (idx++) * ETH_GSTRING_LEN, vport_stats_desc[i].format); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 662 strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_802_3_stats_desc[i].format); 746 strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_2863_stats_desc[i].format); 805 strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_2819_stats_desc[i].format); 879 strcpy(data + (idx++) * ETH_GSTRING_LEN, "link_down_events_phy"); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/google/gve/ |
| D | gve_ethtool.c | 35 static const char gve_gstrings_main_stats[][ETH_GSTRING_LEN] = { 43 static const char gve_gstrings_rx_stats[][ETH_GSTRING_LEN] = { 50 static const char gve_gstrings_tx_stats[][ETH_GSTRING_LEN] = { 55 static const char gve_gstrings_adminq_stats[][ETH_GSTRING_LEN] = { 65 static const char gve_gstrings_priv_flags[][ETH_GSTRING_LEN] = { 89 snprintf(s, ETH_GSTRING_LEN, in gve_get_strings() 91 s += ETH_GSTRING_LEN; in gve_get_strings() 97 snprintf(s, ETH_GSTRING_LEN, in gve_get_strings() 99 s += ETH_GSTRING_LEN; in gve_get_strings()
|
| /Linux-v5.10/drivers/net/ethernet/freescale/enetc/ |
| 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] = { 197 static const char tx_ring_stats[][ETH_GSTRING_LEN] = { 230 strlcpy(p, enetc_si_counters[i].name, ETH_GSTRING_LEN); in enetc_get_strings() 231 p += ETH_GSTRING_LEN; in enetc_get_strings() 235 snprintf(p, ETH_GSTRING_LEN, tx_ring_stats[j], in enetc_get_strings() 237 p += ETH_GSTRING_LEN; in enetc_get_strings() 242 snprintf(p, ETH_GSTRING_LEN, rx_ring_stats[j], in enetc_get_strings() 244 p += ETH_GSTRING_LEN; in enetc_get_strings() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_ethtool.c | 258 char str[ETH_GSTRING_LEN]; 557 char str[ETH_GSTRING_LEN]; 604 snprintf(*p, ETH_GSTRING_LEN, "%.29s_%.1d", in mlxsw_sp_port_get_prio_strings() 606 *p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_prio_strings() 615 snprintf(*p, ETH_GSTRING_LEN, "%.29s_%.1d", in mlxsw_sp_port_get_tc_strings() 617 *p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_tc_strings() 632 ETH_GSTRING_LEN); in mlxsw_sp_port_get_strings() 633 p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_strings() 638 ETH_GSTRING_LEN); in mlxsw_sp_port_get_strings() 639 p += ETH_GSTRING_LEN; in mlxsw_sp_port_get_strings() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/apm/xgene-v2/ |
| 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()
|
| D | ethtool.h | 13 char name[ETH_GSTRING_LEN]; 18 char name[ETH_GSTRING_LEN];
|
| /Linux-v5.10/drivers/net/ethernet/intel/ixgbevf/ |
| D | ethtool.c | 25 char stat_string[ETH_GSTRING_LEN]; 70 static const char ixgbe_gstrings_test[][ETH_GSTRING_LEN] = { 75 #define IXGBEVF_TEST_LEN (sizeof(ixgbe_gstrings_test) / ETH_GSTRING_LEN) 77 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-v5.10/drivers/infiniband/ulp/opa_vnic/ |
| 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()
|