| /dpdk/lib/metrics/ |
| H A D | rte_metrics_telemetry.c | 158 struct rte_metric_name *names = NULL; in rte_metrics_tel_format_port() local 173 if (metrics == NULL || names == NULL) { in rte_metrics_tel_format_port() 202 "name", names[metrics[i].key].name, in rte_metrics_tel_format_port() 219 free(names); in rte_metrics_tel_format_port() 224 free(names); in rte_metrics_tel_format_port() 336 struct rte_metric_name *names; in rte_metrics_tel_stat_names_to_ids() local 347 if (names == NULL) { in rte_metrics_tel_stat_names_to_ids() 354 free(names); in rte_metrics_tel_stat_names_to_ids() 360 if (strcmp(stat_names[i], names[j].name) == 0) { in rte_metrics_tel_stat_names_to_ids() 368 free(names); in rte_metrics_tel_stat_names_to_ids() [all …]
|
| H A D | rte_metrics.c | 112 rte_metrics_reg_names(const char * const *names, uint16_t cnt_names) in rte_metrics_reg_names() argument 121 if (cnt_names < 1 || names == NULL) in rte_metrics_reg_names() 124 if (names[idx_name] == NULL) in rte_metrics_reg_names() 144 strlcpy(entry->name, names[idx_name], RTE_METRICS_MAX_NAME_LEN); in rte_metrics_reg_names() 226 rte_metrics_get_names(struct rte_metric_name *names, in rte_metrics_get_names() argument 240 if (names != NULL) { in rte_metrics_get_names() 247 strlcpy(names[idx_name].name, in rte_metrics_get_names()
|
| H A D | rte_metrics.h | 138 int rte_metrics_reg_names(const char * const *names, uint16_t cnt_names); 160 struct rte_metric_name *names,
|
| /dpdk/app/test/ |
| H A D | test_latencystats.c | 75 struct rte_metric_name names[NUM_STATS]; in test_latencystats_get_names() local 79 memset(&names[i], 0, m_size); in test_latencystats_get_names() 83 ret = rte_latencystats_get_names(names, size); in test_latencystats_get_names() 85 if (strcmp(lat_stats_strings[i].name, names[i].name) == 0) in test_latencystats_get_names() 86 printf(" %s\n", names[i].name); in test_latencystats_get_names() 99 ret = rte_latencystats_get_names(names, size); in test_latencystats_get_names()
|
| H A D | test_telemetry_json.c | 75 static const char * const names[] = {"Italy", "Wales", "Scotland", in test_overflow_obj() local 77 const int vals[RTE_DIM(names)] = {20, 61, 10, 40, 55, 35}; in test_overflow_obj() 82 for (i = 0; i < (int)RTE_DIM(names); i++) in test_overflow_obj() 84 names[i], vals[i]); in test_overflow_obj()
|
| H A D | test_external_mem.c | 79 static const char * const names[] = { in test_malloc_invalid_param() local 88 for (i = 0; i < RTE_DIM(names); i++) { in test_malloc_invalid_param() 89 const char *name = names[i]; in test_malloc_invalid_param()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | metrics_lib.rst | 63 const char * const names[] = { 67 id_set = rte_metrics_reg_names(&names[0], 4); 121 struct rte_metric_name *names; 134 names = malloc(sizeof(struct rte_metric_name) * len); 135 if (metrics == NULL || names == NULL) { 138 free(names); 145 free(names); 151 names[metrics[i].key].name, metrics[i].value); 153 free(names); 177 following names: [all …]
|
| /dpdk/lib/bitratestats/ |
| H A D | rte_bitrate.c | 47 const char * const names[] = { in rte_stats_bitrate_reg() local 57 return_value = rte_metrics_reg_names(&names[0], RTE_DIM(names)); in rte_stats_bitrate_reg()
|
| /dpdk/lib/latencystats/ |
| H A D | rte_latencystats.c | 344 rte_latencystats_get_names(struct rte_metric_name *names, uint16_t size) in rte_latencystats_get_names() argument 348 if (names == NULL || size < NUM_LATENCY_STATS) in rte_latencystats_get_names() 352 strlcpy(names[i].name, lat_stats_strings[i].name, in rte_latencystats_get_names() 353 sizeof(names[i].name)); in rte_latencystats_get_names()
|
| H A D | rte_latencystats.h | 99 int rte_latencystats_get_names(struct rte_metric_name *names,
|
| /dpdk/app/test-pmd/ |
| H A D | parameters.c | 484 char **names; in parse_xstats_list() local 489 names = NULL; in parse_xstats_list() 502 names = calloc(max_names_nb, sizeof(*names)); in parse_xstats_list() 503 if (names == NULL) { in parse_xstats_list() 508 names_nb = rte_strsplit(str, stringlen, names, max_names_nb, ','); in parse_xstats_list() 516 if (names[i][0] == '\0') in parse_xstats_list() 527 if (names[name][0] == '\0') in parse_xstats_list() 529 rte_strscpy((*xstats)[nonempty_name].name, names[name], in parse_xstats_list() 538 free(names); in parse_xstats_list()
|
| /dpdk/drivers/raw/ioat/ |
| H A D | ioat_common.c | 36 struct rte_rawdev_xstats_name *names, in ioat_xstats_get_names() argument 46 strlcpy(names[i].name, xstat_names[i], sizeof(names[i])); in ioat_xstats_get_names()
|
| H A D | ioat_private.h | 62 struct rte_rawdev_xstats_name *names,
|
| /dpdk/drivers/net/netvsc/ |
| H A D | hn_vf.c | 684 struct rte_eth_xstat_name *names, in hn_vf_xstats_get_names() argument 695 names, n); in hn_vf_xstats_get_names() 699 if (names) { in hn_vf_xstats_get_names() 703 snprintf(tmp, sizeof(tmp), "vf_%s", names[i].name); in hn_vf_xstats_get_names() 704 strlcpy(names[i].name, tmp, sizeof(names[i].name)); in hn_vf_xstats_get_names()
|
| /dpdk/drivers/net/mvneta/ |
| H A D | mvneta_ethdev.c | 43 const char *names[NETA_NUM_ETH_PPIO]; member 94 ifnames->names[ifnames->idx++] = value; in mvneta_ifnames_get() 902 if (ifnum > RTE_DIM(ifnames.names)) in rte_pmd_mvneta_probe() 931 MVNETA_LOG(INFO, "Creating %s", ifnames.names[i]); in rte_pmd_mvneta_probe() 932 ret = mvneta_eth_dev_create(vdev, ifnames.names[i]); in rte_pmd_mvneta_probe()
|
| /dpdk/drivers/event/dsw/ |
| H A D | dsw_xstats.c | 221 struct rte_event_dev_xstats_name *names; member 239 strcpy(ctx->names[ctx->count].name, xstats_name); in dsw_xstats_store_stat() 256 .names = xstats_names, in dsw_xstats_get_names()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | rte_pmd_mlx5.h | 37 int rte_pmd_mlx5_get_dyn_flag_names(char *names[], unsigned int n);
|
| /dpdk/app/proc-info/ |
| H A D | main.c | 610 struct rte_metric_name *names; in metrics_display() local 631 names = rte_malloc(NULL, sizeof(struct rte_metric_name) * len, 0); in metrics_display() 632 if (names == NULL) { in metrics_display() 638 if (len != rte_metrics_get_names(names, len)) { in metrics_display() 641 rte_free(names); in metrics_display() 654 rte_free(names); in metrics_display() 660 printf("%s: %"PRIu64"\n", names[i].name, metrics[i].value); in metrics_display() 664 rte_free(names); in metrics_display()
|
| /dpdk/lib/lpm/ |
| H A D | meson.build | 12 # since header files have different names, we can install all vector headers
|
| /dpdk/doc/guides/tools/ |
| H A D | pmdinfo.rst | 23 -d FILE, --pcidb=FILE Specify a pci database to get vendor names from
|
| H A D | pdump.rst | 96 should both be passed with the different file names or the Linux iface names.
|
| /dpdk/doc/guides/windows_gsg/ |
| H A D | intro.rst | 12 \*Other names and brands may be claimed as the property of others.
|
| /dpdk/drivers/net/igc/base/ |
| H A D | README | 21 of the definition, macro and file names ware replaced with igc_ or IGC_.
|
| /dpdk/license/ |
| H A D | bsd-3-clause.txt | 7 3. Neither the name of the copyright holder nor the names of its contributors may be used to endors…
|
| /dpdk/doc/guides/cryptodevs/ |
| H A D | cnxk.rst | 12 The file names starting with cn9k and cn10k provides support for CN9XX 14 in file names starting with cnxk.
|