Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 25 of 83) sorted by relevance

1234

/dpdk/app/test-flow-perf/
H A Dactions_gen.c29 uint32_t counter; member
65 uint32_t counter = para.counter; in add_mark() local
211 uint32_t mac = para.counter; in add_set_src_mac()
234 uint32_t mac = para.counter; in add_set_dst_mac()
257 uint32_t ip = para.counter; in add_set_src_ipv4()
276 uint32_t ip = para.counter; in add_set_dst_ipv4()
295 uint32_t ipv6 = para.counter; in add_set_src_ipv6()
318 uint32_t ipv6 = para.counter; in add_set_dst_ipv6()
341 uint32_t tp = para.counter; in add_set_src_tp()
362 uint32_t tp = para.counter; in add_set_dst_tp()
[all …]
H A Dmain.c1126 create_meter_rule(int port_id, uint32_t counter) in create_meter_rule() argument
1150 port_id, counter, error.type, in create_meter_rule()
1191 for (counter = start_counter; counter < end_counter; counter++) { in meters_handler()
1193 create_meter_rule(port_id, counter); in meters_handler()
1195 destroy_meter_rule(port_id, counter); in meters_handler()
1202 if (!((counter + 1) % rules_batch)) { in meters_handler()
1410 for (counter = start_counter; counter < end_counter; counter++) { in insert_flows()
1413 JUMP_ACTION_TABLE, counter, in insert_flows()
1419 if (!counter) { in insert_flows()
1430 counter = end_counter; in insert_flows()
[all …]
H A Dactions_gen.h21 uint32_t counter, uint16_t next_table, uint16_t hairpinq,
/dpdk/drivers/raw/ifpga/base/
H A Difpga_fme_iperf.c74 u64 counter; in read_cache_counter() local
101 return counter; in read_cache_counter()
106 u64 *counter) \
163 u64 counter; in read_iommu_sip_counter() local
185 return counter; in read_iommu_sip_counter()
190 u64 *counter) \
216 u64 counter; in read_iommu_counter() local
238 return counter; in read_iommu_counter()
275 u64 counter = 0; in read_fabric_counter() local
299 counter = ctr.fab_cnt; in read_fabric_counter()
[all …]
H A Difpga_fme_dperf.c56 u64 counter = 0; in read_fabric_counter() local
80 counter = ctr.fab_cnt; in read_fabric_counter()
83 return counter; in read_fabric_counter()
88 u8 port_id, u64 *counter) \
90 *counter = read_fabric_counter(fme, port_id, event); \
/dpdk/examples/vm_power_manager/
H A Doob_monitor_x86.c36 uint64_t counter = 0; in apply_policy() local
50 ret = pread(ci->cd[core].msr_fd, &counter, in apply_policy()
51 sizeof(counter), IA32_PERFCTR0); in apply_policy()
56 branches = counter; in apply_policy()
58 counter = 0; in apply_policy()
59 ret = pread(ci->cd[core].msr_fd, &counter, in apply_policy()
60 sizeof(counter), IA32_PERFCTR1); in apply_policy()
65 branch_misses = counter; in apply_policy()
/dpdk/examples/qos_sched/
H A Dapp_thread.c169 conf->counter = 0; /* reset empty read loop counter */ in app_tx_thread()
172 conf->counter++; in app_tx_thread()
175 if (unlikely(conf->counter > drain_tsc)) { in app_tx_thread()
182 conf->counter = 0; in app_tx_thread()
255 conf->counter = 0; /* reset empty read loop counter */ in app_mixed_thread()
258 conf->counter++; in app_mixed_thread()
261 if (unlikely(conf->counter > drain_tsc)) { in app_mixed_thread()
269 conf->counter = 0; in app_mixed_thread()
/dpdk/doc/guides/prog_guide/
H A Dprofile_app.rst66 Low-resolution generic counter
70 get a wall clock counter in user space. Typically it runs at a lower clock frequency than the CPU c…
74 High-resolution cycle counter
78 clock counter is through the ARMv8 PMU subsystem. The PMU cycle counter runs
79 at CPU frequency. However, access to the PMU cycle counter from user space is
81 cycle counter for user space access by configuring the PMU from the privileged
87 The example below shows the steps to configure the PMU based cycle counter on
H A Dstack_lib.rst46 data pointer and a next pointer, and an atomic stack depth counter. The
75 and a modification counter. The ABA problem can occur without a modification
76 counter if, for example:
85 modification counter that is updated on every push and pop as part of the
H A Dmbuf_lib.rst245 Each buffer has a reference counter field and whenever an indirect buffer is attached to the direct…
246 the reference counter on the direct buffer is incremented.
247 Similarly, whenever the indirect buffer is detached, the reference counter on the direct buffer is …
248 If the resulting reference counter is equal to 0, the direct buffer is freed since it is no longer …
253 Secondly, for a buffer to become indirect, its reference counter must be equal to 1,
/dpdk/lib/member/
H A Drte_member_x86.h54 uint32_t *counter, in search_bucket_multi_avx() argument
64 set_id[*counter] = buckets[bucket_id].sets[hit_idx]; in search_bucket_multi_avx()
65 (*counter)++; in search_bucket_multi_avx()
66 if (*counter >= match_per_key) in search_bucket_multi_avx()
H A Drte_member_ht.c57 uint32_t *counter, in search_bucket_multi() argument
67 set_id[*counter] = buckets[bucket_id].sets[iter]; in search_bucket_multi()
68 (*counter)++; in search_bucket_multi()
69 if (*counter >= matches_per_key) in search_bucket_multi()
/dpdk/examples/pipeline/examples/
H A Dlearner.spec15 ; output port as argument, with the output port of each connection generated by a counter that is
60 regarray counter size 1 initval 0
75 // Read current counter value into m.fwd_action_arg_port_out.
76 regrd m.fwd_action_arg_port_out counter 0
78 // Increment the counter.
79 regadd counter 0 1
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c161 if (!counter->dcs_when_free) { in flow_verbs_counter_create()
175 if (!counter->dcs_when_free) { in flow_verbs_counter_create()
190 counter->dcs_when_free = NULL; in flow_verbs_counter_create()
197 (void)counter; in flow_verbs_counter_create()
324 if (flow->counter) { in flow_verbs_counter_query()
327 (dev, flow->counter, &pool); in flow_verbs_counter_query()
1188 if (!flow->counter) { in flow_verbs_translate_action_count()
1190 if (!flow->counter) in flow_verbs_translate_action_count()
1199 counter.counter_set_handle = in flow_verbs_translate_action_count()
1948 if (flow->counter) { in flow_verbs_destroy()
[all …]
/dpdk/drivers/net/sfc/
H A Dsfc_mae_counter.c151 struct sfc_mae_counter_id *counter) in sfc_mae_counter_disable() argument
159 if (counter->mae_id.id == EFX_MAE_RSRC_ID_INVALID) in sfc_mae_counter_disable()
162 SFC_ASSERT(counter->mae_id.id < counters->n_mae_counters); in sfc_mae_counter_disable()
168 p = &counters->mae_counters[counter->mae_id.id]; in sfc_mae_counter_disable()
174 counter->mae_id.id, rte_strerror(rc)); in sfc_mae_counter_disable()
177 " bytes=%" PRIu64, counter->mae_id.id, in sfc_mae_counter_disable()
185 counter->mae_id.id = EFX_MAE_RSRC_ID_INVALID; in sfc_mae_counter_disable()
946 const struct sfc_mae_counter_id *counter, in sfc_mae_counter_get() argument
949 struct sfc_flow_tunnel *ft = counter->ft; in sfc_mae_counter_get()
954 SFC_ASSERT(counter->mae_id.id < counters->n_mae_counters); in sfc_mae_counter_get()
[all …]
H A Dsfc_mae_counter.h47 struct sfc_mae_counter_id *counter);
49 const struct sfc_mae_counter_id *counter,
/dpdk/drivers/net/ice/
H A Dice_fdir_filter.c249 &fdir_info->counter; in ice_fdir_counter_init()
272 &fdir_info->counter; in ice_fdir_counter_release()
299 if (counter->shared && in ice_fdir_counter_shared_search()
301 counter->id == id) in ice_fdir_counter_shared_search()
302 return counter; in ice_fdir_counter_shared_search()
315 &fdir_info->counter; in ice_fdir_counter_alloc()
365 if (!counter) in ice_fdir_counter_free()
1455 if (filter->counter) { in ice_fdir_create_filter()
1524 if (filter->counter) { in ice_fdir_destroy_filter()
1575 struct ice_fdir_counter *counter = filter->counter; in ice_fdir_query_count() local
[all …]
/dpdk/examples/timer/
H A Dmain.c30 static unsigned counter = 0; in timer0_cb() local
37 if ((counter ++) == 20) in timer0_cb()
/dpdk/lib/flow_classify/
H A Drte_flow_classify_parse.c481 memcpy(&action.act.counter, count, sizeof(action.act.counter)); in classify_parse_ntuple_filter()
503 memcpy(&action.act.counter, count, sizeof(action.act.counter)); in classify_parse_ntuple_filter()
H A Drte_flow_classify_parse.h26 struct rte_flow_query_count counter; member
/dpdk/lib/vhost/
H A Drte_vhost.h148 uint64_t counter; member
166 uint64_t counter; member
189 uint64_t counter; member
/dpdk/doc/guides/contributing/
H A Ddesign.rst77 This document describes the guidelines for DPDK library-level statistics counter
102 into the code, regardless of whether the statistics counter collection is turned
118 However, the resources consumed for library-level statistics counter collection
159 * Complexity of the statistics logic collection for each counter: when only
/dpdk/doc/guides/vdpadevs/
H A Dmlx5.rst110 to get error information, or query vdpa statistics counter to know error type
116 The device statistics counter persists in reconfiguration until the device gets
/dpdk/doc/guides/rel_notes/
H A Drelease_2_2.rst347 * **igb: Removed CRC bytes from byte counter statistics.**
369 * **ixgbe: Fixed rx error statistic counter.**
371 Fixed an issue that the rx error counter of ixgbe was not accurate. The
372 mac short packet discard count (mspdc) was added to the counter. Mac local
375 by the CRC error counter. Finally the XEC (l3 / l4 checksum error) counter
378 * **ixgbe: Removed CRC bytes from byte counter statistics.**
401 * **i40e: Removed CRC bytes from byte counter statistics.**
/dpdk/drivers/common/dpaax/caamflib/desc/
H A Dalgo.h297 uint32_t iv_off = 0, counter; in cnstr_shdsc_blkcipher() local
344 counter = 1; in cnstr_shdsc_blkcipher()
346 counter = swab32(1); in cnstr_shdsc_blkcipher()
348 LOAD(p, counter, CONTEXT1, (iv_off + ivlen), 16 - ivlen, IMMED); in cnstr_shdsc_blkcipher()

1234