Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 220) sorted by relevance

123456789

/dpdk/app/test/
H A Dtest_meter.c207 uint64_t time; in tm_test_srtcm_color_blind_check() local
215 time = rte_get_tsc_cycles() + hz; in tm_test_srtcm_color_blind_check()
226 time = rte_get_tsc_cycles() + hz; in tm_test_srtcm_color_blind_check()
236 time = rte_get_tsc_cycles() + hz; in tm_test_srtcm_color_blind_check()
246 time = rte_get_tsc_cycles() + hz; in tm_test_srtcm_color_blind_check()
264 uint64_t time; in tm_test_trtcm_color_blind_check() local
274 time = rte_get_tsc_cycles() + hz; in tm_test_trtcm_color_blind_check()
323 uint64_t time; in tm_test_trtcm_rfc4115_color_blind_check() local
391 uint64_t time; in tm_test_srtcm_aware_check() local
498 uint64_t time; in tm_test_trtcm_aware_check() local
[all …]
/dpdk/lib/meter/
H A Drte_meter.h210 uint64_t time,
232 uint64_t time,
253 uint64_t time,
275 uint64_t time,
300 uint64_t time,
326 uint64_t time,
416 uint64_t time, in rte_meter_srtcm_color_blind_check() argument
422 time_diff = time - m->time; in rte_meter_srtcm_color_blind_check()
457 uint64_t time, in rte_meter_srtcm_color_aware_check() argument
464 time_diff = time - m->time; in rte_meter_srtcm_color_aware_check()
[all …]
/dpdk/lib/eal/linux/
H A Deal_alarm.c40 struct timeval time; member
97 (ap->time.tv_sec < now.tv_sec || (ap->time.tv_sec == now.tv_sec && in eal_alarm_callback()
98 (ap->time.tv_usec * NS_PER_US) <= now.tv_nsec))) { in eal_alarm_callback()
115 atime.it_value.tv_sec = ap->time.tv_sec; in eal_alarm_callback()
116 atime.it_value.tv_nsec = ap->time.tv_usec * NS_PER_US; in eal_alarm_callback()
118 if (now.tv_nsec > (ap->time.tv_usec * NS_PER_US)) in eal_alarm_callback()
148 new_alarm->time.tv_usec = ((now.tv_nsec / NS_PER_US) + us) % US_PER_S; in rte_eal_alarm_set()
149 new_alarm->time.tv_sec = now.tv_sec + (((now.tv_nsec / NS_PER_US) + us) / US_PER_S); in rte_eal_alarm_set()
163 if (ap->time.tv_sec > new_alarm->time.tv_sec || in rte_eal_alarm_set()
164 (ap->time.tv_sec == new_alarm->time.tv_sec && in rte_eal_alarm_set()
[all …]
/dpdk/lib/sched/
H A Drte_pie.h154 struct rte_pie *pie, uint64_t time) in _calc_drop_probability() argument
197 pie->last_measurement = time; in _calc_drop_probability()
272 const uint64_t time) in rte_pie_enqueue_nonempty() argument
284 _calc_drop_probability(pie_cfg, pie, time); in rte_pie_enqueue_nonempty()
300 pie->last_measurement = time; in rte_pie_enqueue_nonempty()
303 pie->start_measurement = time; in rte_pie_enqueue_nonempty()
341 const uint64_t time) in rte_pie_enqueue() argument
347 return rte_pie_enqueue_nonempty(pie_cfg, pie, pkt_len, time); in rte_pie_enqueue()
364 uint64_t time) in rte_pie_dequeue() argument
372 uint64_t dq_time = time - pie->start_measurement; in rte_pie_dequeue()
[all …]
H A Drte_red.h202 const uint64_t time) in rte_red_enqueue_empty() argument
215 time_diff = time - red->q_time; in rte_red_enqueue_empty()
382 const uint64_t time) in rte_red_enqueue() argument
390 return rte_red_enqueue_empty(red_cfg, red, time); in rte_red_enqueue()
401 rte_red_mark_queue_empty(struct rte_red *red, const uint64_t time) in rte_red_mark_queue_empty() argument
403 red->q_time = time; in rte_red_mark_queue_empty()
H A Drte_sched.c686 uint64_t time = time_ms; in rte_sched_time_ms_to_bytes() local
688 time = (time * rate) / 1000; in rte_sched_time_ms_to_bytes()
690 return time; in rte_sched_time_ms_to_bytes()
1005 port->time = 0; in rte_sched_port_config()
1243 s->tb_time = port->time; in rte_sched_subport_config()
1445 p->tb_time = port->time; in rte_sched_pipe_config()
1901 rte_pie_dequeue(pie, pkt_len, time); in rte_sched_port_pie_dequeue()
1922 uint64_t time __rte_unused) { in rte_sched_port_pie_dequeue()
2410 port->time += pkt_len; in grinder_schedule()
2863 if (port->time < port->time_cpu_bytes) in rte_sched_port_time_resync()
[all …]
/dpdk/examples/qos_meter/
H A Dmain.h26 #define FUNC_METER(m, p, time, pkt_len, pkt_color) \ argument
32 time = time; \
42 #define FUNC_METER(m, p, time, pkt_len, pkt_color) \ argument
43 rte_meter_srtcm_color_blind_check(m, p, time, pkt_len)
57 #define FUNC_METER(m, p, time, pkt_len, pkt_color) \ argument
58 rte_meter_trtcm_color_blind_check(m, p, time, pkt_len)
/dpdk/lib/eal/freebsd/
H A Deal_alarm.c35 struct timespec time; member
129 *val = diff_ns(&now, &ap->time); in eal_alarm_get_timeout_ns()
145 eal_alarm_callback, &ap->time); in unregister_current_callback()
163 eal_alarm_callback, &ap->time); in register_first_callback()
180 while (ap != NULL && timespec_cmp(&now, &ap->time) >= 0) { in eal_alarm_callback()
225 new_alarm->time.tv_nsec = (now.tv_nsec + ns) % NS_PER_S; in rte_eal_alarm_set()
226 new_alarm->time.tv_sec = now.tv_sec + ((now.tv_nsec + ns) / NS_PER_S); in rte_eal_alarm_set()
234 if (timespec_cmp(&new_alarm->time, &ap->time) < 0) { in rte_eal_alarm_set()
/dpdk/drivers/net/dpaa2/mc/
H A Ddprtc.c410 uint64_t *time) in dprtc_get_time() argument
428 *time = le64_to_cpu(rsp_params->time); in dprtc_get_time()
446 uint64_t time) in dprtc_set_time() argument
456 cmd_params->time = cpu_to_le64(time); in dprtc_set_time()
476 uint16_t token, uint64_t time) in dprtc_set_alarm() argument
486 cmd_params->time = cpu_to_le64(time); in dprtc_set_alarm()
H A Dfsl_dprtc.h77 uint64_t *time);
82 uint64_t time);
87 uint64_t time);
/dpdk/lib/table/
H A Drte_swx_table_learner.c237 uint32_t time[TABLE_KEYS_PER_BUCKET]; member
493 uint64_t time = b->time[i]; in rte_swx_table_learner_lookup() local
498 time <<= 32; in rte_swx_table_learner_lookup()
500 if ((time > input_time) && in rte_swx_table_learner_lookup()
508 b->time[i] = (input_time + t->params.key_timeout) >> 32; in rte_swx_table_learner_lookup()
567 uint64_t time = b->time[i]; in rte_swx_table_learner_add() local
569 time <<= 32; in rte_swx_table_learner_add()
575 if (time < input_time) { in rte_swx_table_learner_add()
580 b->time[i] = (input_time + t->params.key_timeout) >> 32; in rte_swx_table_learner_add()
611 b->time[m->bucket_key_pos] = 0; in rte_swx_table_learner_delete()
H A Drte_swx_table_learner.h140 uint64_t time,
170 uint64_t time,
/dpdk/doc/guides/prog_guide/
H A Dlto.rst7 The DPDK supports compilation with link time optimization turned on.
9 program" optimization at link time and is available only for compilers
27 build time.
29 Link time optimization can be enabled by setting meson built-in 'b_lto' option:
H A Dqos_framework.rst502 The scheduler maintains an internal time reference of the NIC time.
504 …e invocation, the scheduler checks its internal reference of the NIC time against the current time:
506 #. If NIC time is in the future (NIC time >= current time), no adjustment of NIC time is needed.
509 #. If NIC time is in the past (NIC time < current time), then NIC time should be adjusted by settin…
1223 * * Initialize run-time data
1368 * *time* = current time
1374 The time reference is in units of bytes,
1387 Since the time reference is in bytes, the port speed is implied in the expression: *time-qtime*.
1554 The time at which a packet queue becomes empty must be recorded and saved with the RED run-time data
1701 The time reference is in units of bytes,
[all …]
H A Dtimer_lib.rst18 * If not required in the application, timers can be disabled at compilation time by not calling t…
21 or the CPUs Time Stamp Counter (TSC) to provide a reliable time reference.
34 …s means that adding and removing entries from the timer list for a core can be done in log(n) time,
57 the expiry time of the first list entry is maintained within the per-core timer list structure itse…
74 …- The callout facility that provides timers with a mechanism to execute a function at a given time.
/dpdk/doc/guides/sample_app_ug/
H A Dkeep_alive.rst21 dispatching pings at a regular time interval (default is 5ms) and
24 pings within the specified time interval. When a core is Dead, a
35 such, the initialization and run-time paths are very similar to those
83 overview section, the initialization and run-time paths are very
92 * If keep-alive agent detects time-outs, it notifies the
117 The rest of the initialization and run-time path follows
H A Dptpclient.rst9 to synchronize the time on the NIC and, optionally, on the Linux system.
11 Note, PTP is a time syncing protocol and cannot be used within DPDK as a
12 time-stamping mechanism. See the following for an explanation of the protocol:
42 * Master sends *Follow Up* message and sends time of T1.
44 * Master sends *Delay Response* T4 time which is time of received T3.
H A Dl3_forward_power_man.rst19 The initialization and run-time paths are very similar to those of the :doc:`l3_forward`.
37 hence consuming the maximum power all the time.
55 or the thread's sleeping time exceeds a threshold.
120 the initialization and run-time paths are identical to those of the L3 forwarding application.
129 responsible for checking if it needs to scale down frequency at run time by checking CPU utilizatio…
204 At the same time, the function power_idle_heuristic() is called to generate speculative sleep durat…
207 to select C-state to enter based on actual sleep period time of giving logical core.
211 … which execute pause instructions to avoid costly context switch but saving power at the same time.
214 …erval allows the core to enter the C1 state while keeping a fast response time in case new traffic…
224 the algorithm controls the sleep time in a conservative manner by sleeping for the least possible t…
[all …]
/dpdk/doc/guides/vdpadevs/
H A Dmlx5.rst38 Run-time configuration
53 delay time.
71 A nonzero value defines the traffic off time, in polling cycle time units,
93 - 1 - 4095, The maximum time in microseconds that packet completion report
/dpdk/drivers/raw/ifpga/base/
H A Difpga_fme_rsu.c358 start = time(NULL); in fpga_update_flash()
359 log_time(time(NULL) - start, "Starting secure flash update"); in fpga_update_flash()
365 log_time(time(NULL) - start, "Writing to staging area"); in fpga_update_flash()
371 log_time(time(NULL) - start, "Applying secure flash update"); in fpga_update_flash()
383 log_time(time(NULL) - start, "Secure flash update ERROR"); in fpga_update_flash()
387 log_time(time(NULL) - start, "Secure flash update OK"); in fpga_update_flash()
/dpdk/drivers/net/fm10k/base/
H A Dfm10k_common.c197 u16 i, time; in fm10k_disable_queues_generic() local
221 for (i = 0, time = FM10K_QUEUE_DISABLE_TIMEOUT; time;) { in fm10k_disable_queues_generic()
237 time--; in fm10k_disable_queues_generic()
238 if (time) in fm10k_disable_queues_generic()
/dpdk/lib/pipeline/
H A Drte_swx_pipeline_internal.h3563 time, in __instr_meter_hhm_exec()
3596 time, in __instr_meter_hhi_exec()
3629 time, in __instr_meter_hmm_exec()
3662 time, in __instr_meter_hmi_exec()
3695 time, in __instr_meter_mhm_exec()
3728 time, in __instr_meter_mhi_exec()
3761 time, in __instr_meter_mmm_exec()
3794 time, in __instr_meter_mmi_exec()
3827 time, in __instr_meter_ihm_exec()
3860 time, in __instr_meter_ihi_exec()
[all …]
/dpdk/doc/guides/linux_gsg/
H A Dsys_reqs.rst145 which reduce the time it takes to translate a virtual page address to a physical page address.
151 The reservation of hugepages can be performed at run time.
172 Some kernel versions may not allow reserving 1 GB hugepages at run time,
173 so reserving them at boot time may be the only option.
178 In the general case, reserving hugepages at run time is perfectly fine,
180 it is preferable to reserve hugepages at boot time,
183 To reserve hugepages at boot time, a parameter is passed to the Linux kernel on the kernel command …
206 the number of hugepages reserved at boot time is generally divided equally between the two sockets
/dpdk/doc/guides/nics/
H A Dmemif.rst19 at same time. The peer interface is identified by id parameter. Server
56 process. Each interface can be connected to one interface at same time,
65 at the same time, provided each role is assigned unique socket.
86 any time, due to driver error or if the interface is being deleted.
272 64 bytes from 192.168.1.2: icmp_seq=2 ttl=254 time=36.2918 ms
273 64 bytes from 192.168.1.2: icmp_seq=3 ttl=254 time=23.3927 ms
274 64 bytes from 192.168.1.2: icmp_seq=4 ttl=254 time=24.2975 ms
275 64 bytes from 192.168.1.2: icmp_seq=5 ttl=254 time=17.7049 ms
/dpdk/examples/pipeline/
H A Dthread.c531 uint64_t time = rte_get_tsc_cycles(); in thread_main() local
534 if (time < t->time_next_min) in thread_main()
541 if (time_next <= time) { in thread_main()
543 time_next = time + t->timer_period; in thread_main()

123456789