| /dpdk/examples/l2fwd-event/ |
| H A D | l2fwd_event.c | 156 const uint8_t tx_q_id, const uint64_t timer_period, in l2fwd_event_fwd() argument 165 if (timer_period > 0) in l2fwd_event_fwd() 181 if (timer_period > 0) in l2fwd_event_fwd() 194 const uint64_t timer_period = rsrc->timer_period; in l2fwd_event_loop_single() local 239 const uint64_t timer_period = rsrc->timer_period; in l2fwd_event_loop_burst() local 260 l2fwd_event_fwd(rsrc, &ev[i], tx_q_id, timer_period, in l2fwd_event_loop_burst() 369 if (timer_period > 0) in l2fwd_event_vector_fwd() 384 if (timer_period > 0) in l2fwd_event_vector_fwd() 389 if (timer_period > 0) in l2fwd_event_vector_fwd() 408 if (timer_period > 0) in l2fwd_event_vector_fwd() [all …]
|
| H A D | main.c | 267 rsrc->timer_period = timer_secs; in l2fwd_event_parse_args() 269 rsrc->timer_period *= rte_get_timer_hz(); in l2fwd_event_parse_args() 559 const uint64_t timer_period = rsrc->timer_period; in l2fwd_event_print_stats() local 563 if (timer_period > 0) { in l2fwd_event_print_stats() 571 if (unlikely(timer_tsc >= timer_period)) { in l2fwd_event_print_stats()
|
| H A D | l2fwd_common.h | 85 uint64_t timer_period; member 132 rsrc->timer_period = 10 * rte_get_timer_hz(); in l2fwd_get_rsrc()
|
| /dpdk/examples/pipeline/ |
| H A D | thread.c | 59 uint64_t timer_period; /* Measured in CPU cycles. */ member 70 uint64_t timer_period; /* Measured in CPU cycles. */ member 144 t_data->timer_period = in thread_init() 146 t_data->time_next = rte_get_tsc_cycles() + t_data->timer_period; in thread_init() 262 tdp->timer_period = in thread_pipeline_enable() 264 tdp->time_next = rte_get_tsc_cycles() + tdp->timer_period; in thread_pipeline_enable() 432 p->timer_period = (rte_get_tsc_hz() * in thread_msg_handle_pipeline_enable() 434 p->time_next = rte_get_tsc_cycles() + p->timer_period; in thread_msg_handle_pipeline_enable() 543 time_next = time + t->timer_period; in thread_main()
|
| /dpdk/examples/link_status_interrupt/ |
| H A D | main.c | 106 static int64_t timer_period = 10 * TIMER_MILLISECOND * 1000; /* default period is 10 seconds */ variable 255 if (timer_period > 0) { in lsi_main_loop() 261 if (unlikely(timer_tsc >= (uint64_t) timer_period)) { in lsi_main_loop() 401 timer_period = lsi_parse_timer_period(optarg) * 1000 * TIMER_MILLISECOND; in lsi_parse_args() 402 if (timer_period < 0) { in lsi_parse_args()
|
| /dpdk/examples/l2fwd-keepalive/ |
| H A D | main.c | 102 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() 776 if (timer_period > 0) { in main() 779 (timer_period * rte_get_timer_hz()) / 1000, in main()
|
| /dpdk/examples/l2fwd/ |
| H A D | main.c | 116 static uint64_t timer_period = 10; /* default period is 10 seconds */ variable 261 if (timer_period > 0) { in l2fwd_main_loop() 267 if (unlikely(timer_tsc >= timer_period)) { in l2fwd_main_loop() 502 timer_period = timer_secs; in l2fwd_parse_args() 682 timer_period *= rte_get_timer_hz(); in main()
|
| /dpdk/examples/l2fwd-jobstats/ |
| H A D | main.c | 113 static int64_t timer_period = 10; variable 336 rte_eal_alarm_set(timer_period * US_PER_S, show_stats_cb, NULL); in show_stats_cb() 659 timer_period = l2fwd_parse_timer_period(optarg); in l2fwd_parse_args() 660 if (timer_period < 0) { in l2fwd_parse_args() 1033 if (timer_period) in main() 1034 rte_eal_alarm_set(timer_period * MS_PER_S, show_stats_cb, NULL); in main()
|
| /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 147 t_data->timer_period = in thread_init() 149 t_data->time_next = rte_get_tsc_cycles() + t_data->timer_period; in thread_init() 296 tdp->timer_period = (rte_get_tsc_hz() * p->timer_period_ms) / 1000; in thread_pipeline_enable() 297 tdp->time_next = rte_get_tsc_cycles() + tdp->timer_period; in thread_pipeline_enable() 479 p->timer_period = in thread_msg_handle_pipeline_enable() 481 p->time_next = rte_get_tsc_cycles() + p->timer_period; in thread_msg_handle_pipeline_enable() 3117 time_next = time + p->timer_period; in thread_main() 3131 time_next = time + t->timer_period; in thread_main()
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_thread.c | 88 t_data->timer_period = in softnic_thread_init() 90 t_data->time_next = rte_get_tsc_cycles() + t_data->timer_period; in softnic_thread_init() 328 tdp->timer_period = (rte_get_tsc_hz() * p->timer_period_ms) / 1000; in softnic_thread_pipeline_enable() 329 tdp->time_next = rte_get_tsc_cycles() + tdp->timer_period; in softnic_thread_pipeline_enable() 508 p->timer_period = in thread_msg_handle_pipeline_enable() 510 p->time_next = rte_get_tsc_cycles() + p->timer_period; in thread_msg_handle_pipeline_enable() 3021 time_next = time + p->timer_period; in rte_pmd_softnic_run_internal() 3035 time_next = time + t->timer_period; in rte_pmd_softnic_run_internal()
|
| H A D | rte_eth_softnic_internals.h | 596 uint64_t timer_period; /* Measured in CPU cycles. */ member 609 uint64_t timer_period; /* Measured in CPU cycles. */ member
|
| /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()
|
| /dpdk/app/test-pmd/ |
| H A D | testpmd.c | 2157 uint64_t timer_period; in flush_fwd_rx_queues() local 2165 timer_period = rte_get_timer_hz(); /* 1 second timeout */ in flush_fwd_rx_queues() 2188 (timer_tsc < timer_period)); in flush_fwd_rx_queues() 4300 uint64_t timer_period; in main() local 4303 timer_period = stats_period * rte_get_timer_hz(); in main() 4309 if (diff_time >= timer_period) { in main()
|