Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 182) sorted by relevance

12345678

/dpdk/lib/bitratestats/
H A Drte_bitrate.c75 uint64_t values[6]; in rte_stats_bitrate_calc() local
128 values[0] = port_data->ewma_ibits; in rte_stats_bitrate_calc()
129 values[1] = port_data->ewma_obits; in rte_stats_bitrate_calc()
130 values[2] = port_data->mean_ibits; in rte_stats_bitrate_calc()
131 values[3] = port_data->mean_obits; in rte_stats_bitrate_calc()
132 values[4] = port_data->peak_ibits; in rte_stats_bitrate_calc()
133 values[5] = port_data->peak_obits; in rte_stats_bitrate_calc()
135 values, RTE_DIM(values)); in rte_stats_bitrate_calc()
/dpdk/drivers/net/sfc/
H A Dsfc_sw_stats.c43 uint64_t *values, in sfc_sw_stat_get_rx_good_pkts_bytes() argument
58 values[SFC_SW_STATS_GROUP_BASIC_PKTS] = 0; in sfc_sw_stat_get_rx_good_pkts_bytes()
59 values[SFC_SW_STATS_GROUP_BASIC_BYTES] = 0; in sfc_sw_stat_get_rx_good_pkts_bytes()
66 uint64_t *values, in sfc_sw_stat_get_tx_good_pkts_bytes() argument
81 values[SFC_SW_STATS_GROUP_BASIC_PKTS] = 0; in sfc_sw_stat_get_tx_good_pkts_bytes()
421 uint64_t *values, in sfc_sw_xstat_get_values_by_id() argument
461 total_value += values[i]; in sfc_sw_xstat_get_values_by_id()
468 values[total_value_idx] = 0; in sfc_sw_xstat_get_values_by_id()
476 values[total_value_idx] += total_value; in sfc_sw_xstat_get_values_by_id()
560 uint64_t *values, in sfc_sw_xstats_get_vals_by_id() argument
[all …]
H A Dsfc_kvargs.c54 sfc_kvarg_match_value(const char *value, const char * const *values, in sfc_kvarg_match_value() argument
60 if (strcasecmp(value, values[i]) == 0) in sfc_kvarg_match_value()
/dpdk/lib/metrics/
H A Drte_metrics.c166 const uint64_t *values, in rte_metrics_update_values() argument
180 if (values == NULL) in rte_metrics_update_values()
213 values[idx_value]; in rte_metrics_update_values()
219 values[idx_value]; in rte_metrics_update_values()
258 struct rte_metric_value *values, in rte_metrics_get_values() argument
278 if (values != NULL) { in rte_metrics_get_values()
289 values[idx_name].key = idx_name; in rte_metrics_get_values()
290 values[idx_name].value = entry->global_value; in rte_metrics_get_values()
297 values[idx_name].key = idx_name; in rte_metrics_get_values()
298 values[idx_name].value = entry->value[port_id]; in rte_metrics_get_values()
H A Drte_metrics.h187 struct rte_metric_value *values,
230 const uint64_t *values,
/dpdk/doc/guides/prog_guide/
H A Dmetrics_lib.rst71 values. A table mapping together these key values and the metrics' names
74 Updating metric values
84 rte_metrics_update_value(port_id, id_1, values[0]);
85 rte_metrics_update_value(port_id, id_2, values[1]);
86 rte_metrics_update_value(port_id, id_3, values[2]);
87 rte_metrics_update_value(port_id, id_4, values[3]);
95 rte_metrics_update_value(port_id, id_set, values[0]);
96 rte_metrics_update_value(port_id, id_set + 1, values[1]);
97 rte_metrics_update_value(port_id, id_set + 2, values[2]);
100 rte_metrics_update_values(port_id, id_set, values, 4);
[all …]
/dpdk/lib/latencystats/
H A Drte_latencystats.c84 uint64_t values[NUM_LATENCY_STATS] = {0}; in rte_latencystats_update() local
90 values[i] = (uint64_t)floor((*stats_ptr)/ in rte_latencystats_update()
96 values, NUM_LATENCY_STATS); in rte_latencystats_update()
104 rte_latencystats_fill_values(struct rte_metric_value *values) in rte_latencystats_fill_values() argument
112 values[i].key = i; in rte_latencystats_fill_values()
113 values[i].value = (uint64_t)floor((*stats_ptr)/ in rte_latencystats_fill_values()
359 rte_latencystats_get(struct rte_metric_value *values, uint16_t size) in rte_latencystats_get() argument
361 if (size < NUM_LATENCY_STATS || values == NULL) in rte_latencystats_get()
376 rte_latencystats_fill_values(values); in rte_latencystats_get()
/dpdk/lib/ethdev/
H A Drte_class_eth.c67 char *values; in eth_representor_cmp() local
77 values = strdup(value); in eth_representor_cmp()
78 if (values == NULL) in eth_representor_cmp()
81 ret = rte_eth_devargs_parse_representor_ports(values, &eth_da); in eth_representor_cmp()
82 free(values); in eth_representor_cmp()
/dpdk/doc/guides/tools/
H A Dtestbbdev.rst308 If variable is a chain of values, values should be separated by a comma. If
362 Chain of uint32_t values
370 Chain of uint32_t values
378 Chain of uint32_t values
385 Chain of uint32_t values
392 Chain of uint32_t values
399 Chain of uint32_t values
501 Chain of uint32_t values
508 Chain of uint32_t values
705 Chain of uint32_t values
[all …]
/dpdk/drivers/event/dsw/
H A Ddsw_xstats.c279 const unsigned int ids[], uint64_t values[], unsigned int n) in dsw_xstats_dev_get() argument
287 values[i] = xstat->get_value_fn(dsw); in dsw_xstats_dev_get()
294 const unsigned int ids[], uint64_t values[], unsigned int n) in dsw_xstats_port_get() argument
308 values[i] = xstat->get_value_fn(dsw, port_id, queue_id); in dsw_xstats_port_get()
316 const unsigned int ids[], uint64_t values[], unsigned int n) in dsw_xstats_get() argument
320 return dsw_xstats_dev_get(dev, ids, values, n); in dsw_xstats_get()
322 return dsw_xstats_port_get(dev, queue_port_id, ids, values, n); in dsw_xstats_get()
/dpdk/app/test-crypto-perf/
H A Dcperf_test_vector_parsing.c218 uint8_t *values, *values_resized; in parse_values() local
225 values = (uint8_t *) rte_zmalloc(NULL, sizeof(uint8_t) * data_size, 0); in parse_values()
226 if (values == NULL) in parse_values()
236 values_resized = (uint8_t *) rte_realloc(values, in parse_values()
239 rte_free(values); in parse_values()
242 values = values_resized; in parse_values()
245 values[n_tokens] = (uint8_t) strtoul(tok, &error, 0); in parse_values()
248 rte_free(values); in parse_values()
259 values_resized = (uint8_t *) rte_realloc(values, in parse_values()
263 rte_free(values); in parse_values()
/dpdk/app/test/
H A Dtest_latencystats.c111 struct rte_metric_value values[NUM_STATS]; in test_latencystats_get() local
115 memset(&values[i], 0, v_size); in test_latencystats_get()
119 ret = rte_latencystats_get(values, size); in test_latencystats_get()
130 ret = rte_latencystats_get(values, size); in test_latencystats_get()
/dpdk/drivers/event/sw/
H A Dsw_evdev_selftest.c95 uint64_t values[XSTATS_MAX]; in xstats_print() local
112 0, ids, values, ret); in xstats_print()
127 ids, values, ret); in xstats_print()
142 1, ids, values, ret); in xstats_print()
866 uint64_t values[XSTATS_MAX]; in xstats_tests() local
882 0, ids, values, ret); in xstats_tests()
898 ids, values, ret); in xstats_tests()
916 1, ids, values, ret); in xstats_tests()
924 0, ids, values, ret); in xstats_tests()
969 values[i], expected[i]); in xstats_tests()
[all …]
/dpdk/app/proc-info/
H A Dmain.c474 uint64_t *values; in nic_xstats_by_ids_display() local
478 values = malloc(sizeof(*values) * len); in nic_xstats_by_ids_display()
479 if (values == NULL) { in nic_xstats_by_ids_display()
487 free(values); in nic_xstats_by_ids_display()
509 values[i]); in nic_xstats_by_ids_display()
513 free(values); in nic_xstats_by_ids_display()
521 uint64_t *values; in nic_xstats_display() local
530 values = malloc(sizeof(*values) * len); in nic_xstats_display()
539 free(values); in nic_xstats_display()
578 values[i]); in nic_xstats_display()
[all …]
/dpdk/drivers/common/sfc_efx/base/
H A Dmcdi_mon.h44 __inout_ecount(EFX_MON_NSTATS) efx_mon_stat_value_t *values);
50 __inout_ecount(EFX_MON_NSTATS) efx_mon_stat_limits_t *values);
/dpdk/lib/acl/
H A Dacl_bld.c262 acl_include(&node->values, bits, -1); in acl_add_ptr()
290 acl_include(&node->values, bits, -1); in acl_add_ptr()
408 acl_include(&next->ptrs[n].values, in acl_dup_node()
409 &node->ptrs[n].values, -1); in acl_dup_node()
425 acl_include(&next->values, &node->values, -1); in acl_dup_node()
493 acl_include(&node_a->ptrs[n].values, in acl_compact_node_ptrs()
629 &node_b->values, in acl_merge_trie()
660 &node_c->ptrs[n].values, in acl_merge_trie()
661 &node_b->ptrs[m].values, in acl_merge_trie()
700 &node_c->ptrs[n].values, in acl_merge_trie()
[all …]
H A Dacl.h91 struct rte_acl_bitset values; /* input values associated with ptr */ member
108 struct rte_acl_bitset values; member
/dpdk/drivers/event/cnxk/
H A Dcnxk_eventdev_stats.c106 const unsigned int ids[], uint64_t values[], unsigned int n) in cnxk_sso_xstats_get() argument
161 values[i] = value; in cnxk_sso_xstats_get()
162 values[i] -= xstat->reset_snap[queue_port_id]; in cnxk_sso_xstats_get()
/dpdk/kernel/freebsd/
H A Dmeson.build8 # values from the environment. Each module only has a single source file
11 # target to call make, passing in the values as env parameters.
/dpdk/doc/guides/sample_app_ug/
H A Dvmdq_dcb_forwarding.rst93 …hardware feature is configured at port initialization time by setting the appropriate values in the
103 The get_eth_conf() function fills in an rte_eth_conf structure with the appropriate values,
105 and dividing up the possible user priority values equally among the individual queues
120 :start-after: Dividing up the possible user priority values. 8<
121 :end-before: >8 End of dividing up the possible user priority values.
129 Once the network port has been initialized using the correct VMDQ and DCB values,
/dpdk/drivers/raw/ioat/
H A Dioat_common.c19 uint64_t values[], unsigned int n) in ioat_xstats_get() argument
27 values[i] = 0; in ioat_xstats_get()
29 values[i] = stats[ids[i]]; in ioat_xstats_get()
H A Ddpdk_idxd_cfg.py25 def write_values(self, values): argument
27 for filename, contents in values.items():
/dpdk/drivers/dma/idxd/
H A Ddpdk_idxd_cfg.py25 def write_values(self, values): argument
27 for filename, contents in values.items():
/dpdk/drivers/event/opdl/
H A Dopdl_evdev_xstats.c103 uint64_t values[], unsigned int n) in opdl_xstats_get() argument
128 values[i] = *(device->port_xstat[ids[i]].value); in opdl_xstats_get()
/dpdk/app/test-bbdev/
H A Dtest_bbdev_vector.c61 uint32_t *values, *values_resized; in parse_values() local
68 values = (uint32_t *) in parse_values()
70 if (values == NULL) in parse_values()
79 values_resized = (uint32_t *) rte_realloc(values, in parse_values()
82 rte_free(values); in parse_values()
85 values = values_resized; in parse_values()
88 values[n_tokens] = (uint32_t) strtoul(tok, &error, 0); in parse_values()
92 rte_free(values); in parse_values()
105 values_resized = (uint32_t *) rte_realloc(values, in parse_values()
109 rte_free(values); in parse_values()

12345678