| /dpdk/examples/qos_sched/ |
| H A D | app_thread.c | 161 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * BURST_TX_DRAIN_US; in app_tx_thread() local 175 if (unlikely(conf->counter > drain_tsc)) { in app_tx_thread() 233 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * BURST_TX_DRAIN_US; in app_mixed_thread() local 261 if (unlikely(conf->counter > drain_tsc)) { in app_mixed_thread()
|
| /dpdk/examples/l2fwd-event/ |
| H A D | l2fwd_poll.c | 31 uint64_t prev_tsc, diff_tsc, cur_tsc, drain_tsc; in l2fwd_poll_main_loop() local 41 drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * in l2fwd_poll_main_loop() 71 if (unlikely(diff_tsc > drain_tsc)) { in l2fwd_poll_main_loop()
|
| /dpdk/examples/l2fwd-jobstats/ |
| H A D | main.c | 117 uint64_t drain_tsc; variable 468 qconf->next_flush_time[portid] = rte_get_timer_cycles() + drain_tsc; in l2fwd_flush_job() 972 drain_tsc = (hz + US_PER_S - 1) / US_PER_S * BURST_TX_DRAIN_US; in main() 993 rte_jobstats_init(&qconf->flush_job, "flush", drain_tsc, drain_tsc, in main() 994 drain_tsc, 0); in main() 997 ret = rte_timer_reset(&qconf->flush_timer, drain_tsc, PERIODICAL, in main() 1018 rte_jobstats_init(job, name, 0, drain_tsc, 0, MAX_PKT_BURST); in main()
|
| /dpdk/examples/l3fwd-power/ |
| H A D | main.c | 937 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / in main_intr_loop() local 977 if (unlikely(diff_tsc > drain_tsc)) { in main_intr_loop() 1103 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / in main_telemetry_loop() local 1136 if (unlikely(diff_tsc > drain_tsc)) { in main_telemetry_loop() 1220 const uint64_t drain_tsc = in main_empty_poll_loop() local 1250 if (unlikely(diff_tsc > drain_tsc)) { in main_empty_poll_loop() 1329 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * BURST_TX_DRAIN_US; in main_legacy_loop() local 1368 if (unlikely(diff_tsc > drain_tsc)) { in main_legacy_loop()
|
| /dpdk/examples/link_status_interrupt/ |
| H A D | main.c | 208 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * in lsi_main_loop() local 241 if (unlikely(diff_tsc > drain_tsc)) { in lsi_main_loop()
|
| /dpdk/examples/ipv4_multicast/ |
| H A D | main.c | 382 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * BURST_TX_DRAIN_US; in send_timeout_burst() local 385 if (likely (cur_tsc < qconf->tx_tsc + drain_tsc)) in send_timeout_burst()
|
| /dpdk/examples/l2fwd-keepalive/ |
| H A D | main.c | 202 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) in l2fwd_main_loop() local 246 if (unlikely(diff_tsc > drain_tsc)) { in l2fwd_main_loop()
|
| /dpdk/examples/l2fwd/ |
| H A D | main.c | 213 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * in l2fwd_main_loop() local 247 if (unlikely(diff_tsc > drain_tsc)) { in l2fwd_main_loop()
|
| /dpdk/examples/l3fwd/ |
| H A D | l3fwd_fib.c | 179 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / in fib_main_loop() local 210 if (unlikely(diff_tsc > drain_tsc)) { in fib_main_loop()
|
| H A D | l3fwd_lpm.c | 154 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / in lpm_main_loop() local 187 if (unlikely(diff_tsc > drain_tsc)) { in lpm_main_loop()
|
| H A D | l3fwd_em.c | 574 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / in em_main_loop() local 607 if (unlikely(diff_tsc > drain_tsc)) { in em_main_loop()
|
| /dpdk/examples/ip_fragmentation/ |
| H A D | main.c | 396 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * BURST_TX_DRAIN_US; in main_loop() local 425 if (unlikely(diff_tsc > drain_tsc)) { in main_loop()
|
| /dpdk/examples/ip_reassembly/ |
| H A D | main.c | 434 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * BURST_TX_DRAIN_US; in main_loop() local 463 if (unlikely(diff_tsc > drain_tsc)) { in main_loop()
|
| /dpdk/examples/l3fwd-acl/ |
| H A D | main.c | 1439 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) in main_loop() local 1471 if (unlikely(diff_tsc > drain_tsc)) { in main_loop()
|
| /dpdk/examples/l2fwd-crypto/ |
| H A D | main.c | 725 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / in l2fwd_main_loop() local 876 if (unlikely(diff_tsc > drain_tsc)) { in l2fwd_main_loop()
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | l2_forward_job_stats.rst | 250 * drain_tsc as maximum poll period
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ipsec-secgw.c | 1238 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) in ipsec_poll_mode_worker() local 1296 if (unlikely(diff_tsc > drain_tsc)) { in ipsec_poll_mode_worker()
|