| /f-stack/dpdk/examples/l2fwd-event/ |
| H A D | l2fwd_event.c | 153 const uint8_t tx_q_id, const uint64_t timer_period, in l2fwd_event_fwd() argument 162 if (timer_period > 0) in l2fwd_event_fwd() 178 if (timer_period > 0) in l2fwd_event_fwd() 191 const uint64_t timer_period = rsrc->timer_period; in l2fwd_event_loop_single() local 206 l2fwd_event_fwd(rsrc, &ev, tx_q_id, timer_period, flags); in l2fwd_event_loop_single() 233 const uint64_t timer_period = rsrc->timer_period; in l2fwd_event_loop_burst() local 254 l2fwd_event_fwd(rsrc, &ev[i], tx_q_id, timer_period, in l2fwd_event_loop_burst()
|
| H A D | l2fwd_common.h | 76 uint64_t timer_period; member 121 rsrc->timer_period = 10 * rte_get_timer_hz(); in l2fwd_get_rsrc()
|
| H A D | main.c | 252 rsrc->timer_period = timer_secs; in l2fwd_event_parse_args() 254 rsrc->timer_period *= rte_get_timer_hz(); in l2fwd_event_parse_args() 521 const uint64_t timer_period = rsrc->timer_period; in l2fwd_event_print_stats() local 525 if (timer_period > 0) { in l2fwd_event_print_stats() 533 if (unlikely(timer_tsc >= timer_period)) { in l2fwd_event_print_stats()
|
| /f-stack/dpdk/examples/pipeline/ |
| H A D | thread.c | 50 uint64_t timer_period; /* Measured in CPU cycles. */ member 61 uint64_t timer_period; /* Measured in CPU cycles. */ member 137 t_data->timer_period = in thread_init() 139 t_data->time_next = rte_get_tsc_cycles() + t_data->timer_period; in thread_init() 255 tdp->timer_period = in thread_pipeline_enable() 257 tdp->time_next = rte_get_tsc_cycles() + tdp->timer_period; in thread_pipeline_enable() 425 p->timer_period = (rte_get_tsc_hz() * in thread_msg_handle_pipeline_enable() 427 p->time_next = rte_get_tsc_cycles() + p->timer_period; in thread_msg_handle_pipeline_enable() 536 time_next = time + t->timer_period; in thread_main()
|
| /f-stack/dpdk/examples/link_status_interrupt/ |
| H A D | main.c | 104 static int64_t timer_period = 10 * TIMER_MILLISECOND * 1000; /* default period is 10 seconds */ variable 250 if (timer_period > 0) { in lsi_main_loop() 256 if (unlikely(timer_tsc >= (uint64_t) timer_period)) { in lsi_main_loop() 396 timer_period = lsi_parse_timer_period(optarg) * 1000 * TIMER_MILLISECOND; in lsi_parse_args() 397 if (timer_period < 0) { in lsi_parse_args()
|
| /f-stack/freebsd/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_timer.c | 117 u_int32_t timer_period) in ar9300_start_generic_timer() argument 127 OS_REG_WRITE(ah, gen_timer_configuration[index].period_addr, timer_period); in ar9300_start_generic_timer()
|
| H A D | ar9300.h | 1550 u_int32_t timer_period);
|
| /f-stack/dpdk/examples/l2fwd-keepalive/ |
| H A D | main.c | 103 static int64_t timer_period = 10 * TIMER_MILLISECOND * 1000; /* 10 seconds */ variable 405 timer_period = l2fwd_parse_timer_period(optarg) in l2fwd_parse_args() 407 if (timer_period < 0) { in l2fwd_parse_args() 780 if (timer_period > 0) { in main() 782 (timer_period * rte_get_timer_hz()) / 1000, in main()
|
| /f-stack/dpdk/examples/l2fwd/ |
| H A D | main.c | 113 static uint64_t timer_period = 10; /* default period is 10 seconds */ variable 255 if (timer_period > 0) { in l2fwd_main_loop() 261 if (unlikely(timer_tsc >= timer_period)) { in l2fwd_main_loop() 492 timer_period = timer_secs; in l2fwd_parse_args() 667 timer_period *= rte_get_timer_hz(); in main()
|
| /f-stack/dpdk/examples/l2fwd-jobstats/ |
| H A D | main.c | 112 static int64_t timer_period = 10; variable 335 rte_eal_alarm_set(timer_period * US_PER_S, show_stats_cb, NULL); in show_stats_cb() 647 timer_period = l2fwd_parse_timer_period(optarg); in l2fwd_parse_args() 648 if (timer_period < 0) { in l2fwd_parse_args() 1013 if (timer_period) in main() 1014 rte_eal_alarm_set(timer_period * MS_PER_S, show_stats_cb, NULL); in main()
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | thread.c | 60 uint64_t timer_period; /* Measured in CPU cycles. */ member 73 uint64_t timer_period; /* Measured in CPU cycles. */ member 149 t_data->timer_period = in thread_init() 151 t_data->time_next = rte_get_tsc_cycles() + t_data->timer_period; in thread_init() 298 tdp->timer_period = (rte_get_tsc_hz() * p->timer_period_ms) / 1000; in thread_pipeline_enable() 299 tdp->time_next = rte_get_tsc_cycles() + tdp->timer_period; in thread_pipeline_enable() 481 p->timer_period = in thread_msg_handle_pipeline_enable() 483 p->time_next = rte_get_tsc_cycles() + p->timer_period; in thread_msg_handle_pipeline_enable() 3119 time_next = time + p->timer_period; in thread_main() 3133 time_next = time + t->timer_period; in thread_main()
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_thread.c | 90 t_data->timer_period = in softnic_thread_init() 92 t_data->time_next = rte_get_tsc_cycles() + t_data->timer_period; in softnic_thread_init() 332 tdp->timer_period = (rte_get_tsc_hz() * p->timer_period_ms) / 1000; in softnic_thread_pipeline_enable() 333 tdp->time_next = rte_get_tsc_cycles() + tdp->timer_period; in softnic_thread_pipeline_enable() 512 p->timer_period = in thread_msg_handle_pipeline_enable() 514 p->time_next = rte_get_tsc_cycles() + p->timer_period; in thread_msg_handle_pipeline_enable() 3025 time_next = time + p->timer_period; in rte_pmd_softnic_run_internal() 3039 time_next = time + t->timer_period; in rte_pmd_softnic_run_internal()
|
| H A D | rte_eth_softnic_internals.h | 584 uint64_t timer_period; /* Measured in CPU cycles. */ member 597 uint64_t timer_period; /* Measured in CPU cycles. */ member
|
| /f-stack/dpdk/drivers/common/sfc_efx/base/ |
| H A D | efx_tx.c | 886 unsigned int timer_period; in siena_tx_qpace() local 896 timer_period = 104 / encp->enc_clk_mult; in siena_tx_qpace() 898 if ((timer_period << pace_val) >= ns) in siena_tx_qpace()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | testpmd.c | 2044 uint64_t timer_period; in flush_fwd_rx_queues() local 2047 timer_period = rte_get_timer_hz(); /* 1 second timeout */ in flush_fwd_rx_queues() 2070 (timer_tsc < timer_period)); in flush_fwd_rx_queues() 3995 uint64_t timer_period; in main() local 3998 timer_period = stats_period * rte_get_timer_hz(); in main() 4004 if (diff_time >= timer_period) { in main()
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | link_status_intr.rst | 396 if (timer_period > 0) { 403 if (unlikely(timer_tsc >= (uint64_t) timer_period)) {
|
| H A D | l2_forward_real_virtual.rst | 448 if (timer_period > 0) { 455 if (unlikely(timer_tsc >= (uint64_t) timer_period)) {
|
| H A D | l2_forward_event.rst | 627 if (timer_period > 0) { 632 if (unlikely(timer_tsc >= timer_period)) {
|
| /f-stack/dpdk/examples/l2fwd-crypto/ |
| H A D | main.c | 259 static int64_t timer_period = 10 * TIMER_MILLISECOND * 1000; variable 868 if (timer_period > 0) { in l2fwd_main_loop() 875 (uint64_t)timer_period)) { in l2fwd_main_loop()
|