| /dpdk/doc/guides/sample_app_ug/ |
| H A D | timer.rst | 24 $ ./<build_dir>/examples/dpdk-timer -l 0-3 -n 4 39 .. literalinclude:: ../../../examples/timer/main.c 49 .. literalinclude:: ../../../examples/timer/main.c 57 .. literalinclude:: ../../../examples/timer/main.c 73 .. literalinclude:: ../../../examples/timer/main.c 75 :start-after: Init timer structures. 8< 76 :end-before: >8 End of init timer structures. 82 … Since the PERIODICAL flag is provided, the timer is reloaded automatically by the timer subsystem. 89 .. literalinclude:: ../../../examples/timer/main.c 98 .. literalinclude:: ../../../examples/timer/main.c [all …]
|
| H A D | index.rst | 41 timer
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | event_timer_adapter.rst | 34 device upon timer expiration. 54 the timer expiry event 129 used by the timer adapter. If required, the 156 or maximum timer expiry timeout based on the given event timer adapter or 217 /* Set up the event timer. */ 233 timer itself. 265 * cancel the retransmission timer 272 Once an event timer has successfully enqueued a timer expiry event in the event 275 associated with the event timer. It can then re-arm the event timer or free the 276 event timer object as desired: [all …]
|
| H A D | timer_lib.rst | 9 The Timer library provides a timer service to DPDK execution units to enable execution of callback … 20 The timer library uses the rte_get_timer_cycles() function that uses the High Precision Event Timer… 30 with all pending timers for a core being maintained in order of timer expiry in a skiplist data str… 34 This means that adding and removing entries from the timer list for a core can be done in log(n) ti… 37 A timer structure contains a special field called status, 38 which is a union of a timer state (stopped, pending, running, config) and an owner (lcore id). 39 Depending on the timer state, we know if a timer is present in a list or not: 49 Resetting or stopping a timer while it is in a CONFIG or RUNNING state is not allowed. 50 When modifying the state of a timer, 54 …st is used as a regular list by iterating along the level 0 list, which contains all timer entries, [all …]
|
| /dpdk/app/test/ |
| H A D | test_timer_racecond.c | 30 static struct rte_timer timer[N_TIMERS]; variable 38 RTE_LOG_REGISTER(timer_logtype_test, test.timer, INFO); 45 if (tim == &timer[0]) in timer_cb() 49 PRIuPTR "\n", __func__, rte_lcore_id(), tim - timer); in timer_cb() 64 (tim - timer); in reload_timer() 71 rte_lcore_id(), tim - timer); in reload_timer() 91 if (rte_timer_pending(&timer[0])) { in worker_main_loop() 101 (void)reload_timer(&timer[i]); in worker_main_loop() 129 rte_timer_init(&timer[i]); in test_timer_racecond() 130 ret = reload_timer(&timer[i]); in test_timer_racecond() [all …]
|
| /dpdk/lib/eal/windows/ |
| H A D | eal_timer.c | 20 HANDLE timer; in rte_delay_us_sleep() local 24 timer = CreateWaitableTimer(NULL, TRUE, NULL); in rte_delay_us_sleep() 25 if (!timer) { in rte_delay_us_sleep() 36 if (!SetWaitableTimer(timer, &due_time, 0, NULL, NULL, FALSE)) { in rte_delay_us_sleep() 42 if (WaitForSingleObject(timer, INFINITE) == WAIT_FAILED) { in rte_delay_us_sleep() 48 CloseHandle(timer); in rte_delay_us_sleep()
|
| H A D | eal_alarm.c | 26 HANDLE timer; member 40 CloseHandle(ap->timer); in alarm_remove_unsafe() 65 entry->timer, &deadline, 0, alarm_callback, entry, FALSE); in alarm_set() 90 HANDLE timer; in rte_eal_alarm_set() local 114 timer = CreateWaitableTimer(NULL, FALSE, NULL); in rte_eal_alarm_set() 115 if (timer == NULL) { in rte_eal_alarm_set() 121 ap->timer = timer; in rte_eal_alarm_set() 163 if (timer != NULL) in rte_eal_alarm_set() 164 CloseHandle(timer); in rte_eal_alarm_set()
|
| /dpdk/lib/eventdev/ |
| H A D | eventdev_trace_points.c | 86 lib.eventdev.timer.create) 89 lib.eventdev.timer.start) 92 lib.eventdev.timer.stop) 95 lib.eventdev.timer.free) 98 lib.eventdev.timer.burst) 101 lib.eventdev.timer.tick.burst) 104 lib.eventdev.timer.cancel)
|
| H A D | meson.build | 46 deps += ['ring', 'ethdev', 'hash', 'mempool', 'mbuf', 'timer', 'cryptodev']
|
| /dpdk/app/test-bbdev/ |
| H A D | test-bbdev.py | 96 timer = Timer(args.timeout, kill, [app_proc]) variable 97 timer.start() 104 timer.cancel()
|
| /dpdk/doc/guides/vdpadevs/ |
| H A D | mlx5.rst | 49 - 0, Completion queue scheduling will be managed by a timer thread which 52 - 1, Completion queue scheduling will be managed by a timer thread with fixed 64 - 0, A nonzero value to set timer step in micro-seconds. The timer thread 67 - 1, A value to set fixed timer delay in micro-seconds. Default value is 0us.
|
| /dpdk/doc/guides/eventdevs/ |
| H A D | octeontx.rst | 33 - Up to 64 event timer adapters. 91 Event timer adapter support 94 When timvf is used as Event timer adapter the clock source mapping is as 104 When timvf is used as Event timer adapter event schedule type
|
| H A D | cnxk.rst | 40 - Up to 256 TIM rings a.k.a event timer adapters. 139 event timer adapter. 148 rings i.e. event timer adapter reserved on probe. Since, TIM rings are HW 197 | 2 | TIM | --log-level='pmd\.event\.cnxk\.timer,8' |
|
| /dpdk/drivers/net/bonding/ |
| H A D | rte_eth_bond_8023ad.c | 136 timer_cancel(uint64_t *timer) in timer_cancel() argument 138 *timer = 0; in timer_cancel() 144 *timer = rte_rdtsc() + timeout; in timer_set() 149 timer_force_expired(uint64_t *timer) in timer_force_expired() argument 151 *timer = rte_rdtsc(); in timer_force_expired() 155 timer_is_stopped(uint64_t *timer) in timer_is_stopped() argument 157 return *timer == 0; in timer_is_stopped() 161 timer_is_expired(uint64_t *timer) in timer_is_expired() argument 163 return *timer < rte_rdtsc(); in timer_is_expired() 168 timer_is_running(uint64_t *timer) in timer_is_running() argument [all …]
|
| /dpdk/drivers/crypto/nitrox/ |
| H A D | nitrox_hal.h | 23 uint64_t timer : 22; member 27 uint64_t timer : 22;
|
| /dpdk/drivers/net/ena/ |
| H A D | meson.build | 17 deps += ['timer']
|
| /dpdk/examples/timer/ |
| H A D | meson.build | 10 deps += 'timer'
|
| H A D | Makefile | 5 APP = timer
|
| /dpdk/examples/l2fwd-jobstats/ |
| H A D | meson.build | 10 deps += ['jobstats', 'timer']
|
| /dpdk/examples/l3fwd-power/ |
| H A D | meson.build | 10 deps += ['power', 'timer', 'lpm', 'hash', 'metrics', 'telemetry']
|
| /dpdk/examples/l2fwd-keepalive/ |
| H A D | meson.build | 17 deps += 'timer'
|
| /dpdk/lib/power/ |
| H A D | meson.build | 34 deps += ['timer', 'ethdev']
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_platform.c | 66 RTE_LOG_REGISTER(cnxk_logtype_tim, pmd.event.cnxk.timer, NOTICE);
|
| /dpdk/doc/guides/tools/ |
| H A D | testeventdev.rst | 117 Use event timer adapter as producer. 121 Use burst mode event timer adapter as producer. 130 event timer adapter. Refer `rte_event_timer_adapter_conf`. 134 Used to configure event timer adapter max arm timeout in nano seconds. 138 Dictate the number of nano seconds after which the event timer expires. 146 Number of event timer adapters to be used. Each adapter is used in 467 Example command to run perf queue test with event timer adapter: 562 Example command to run perf ``all types queue`` test with event timer adapter:
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_21_05.rst | 207 * **Introduced period timer mode in eventdev timer adapter.** 209 * Added support for periodic timer mode in eventdev timer adapter. 210 * Added support for periodic timer mode in octeontx2 event device driver.
|