| /f-stack/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()
|
| /f-stack/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() 70 if (unlikely(diff_tsc > drain_tsc)) { in l2fwd_poll_main_loop()
|
| /f-stack/dpdk/examples/l2fwd-jobstats/ |
| H A D | main.c | 116 uint64_t drain_tsc; variable 459 qconf->next_flush_time[portid] = rte_get_timer_cycles() + drain_tsc; in l2fwd_flush_job() 958 drain_tsc = (hz + US_PER_S - 1) / US_PER_S * BURST_TX_DRAIN_US; in main() 977 rte_jobstats_init(&qconf->flush_job, "flush", drain_tsc, drain_tsc, in main() 978 drain_tsc, 0); in main() 981 ret = rte_timer_reset(&qconf->flush_timer, drain_tsc, PERIODICAL, in main() 999 rte_jobstats_init(job, name, 0, drain_tsc, 0, MAX_PKT_BURST); in main()
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | l2_forward_job_stats.rst | 299 rte_jobstats_init(&qconf->flush_job, "flush", drain_tsc, drain_tsc, 300 drain_tsc, 0); 303 ret = rte_timer_reset(&qconf->flush_timer, drain_tsc, PERIODICAL, 315 rte_jobstats_init(job, name, 0, drain_tsc, 0, MAX_PKT_BURST); 331 * drain_tsc as maximum poll period
|
| H A D | link_status_intr.rst | 382 if (unlikely(diff_tsc > drain_tsc)) {
|
| H A D | l2_forward_real_virtual.rst | 436 if (unlikely(diff_tsc > drain_tsc)) {
|
| H A D | l2_forward_event.rst | 616 if (unlikely(diff_tsc > drain_tsc)) {
|
| /f-stack/dpdk/examples/l3fwd-power/ |
| H A D | main.c | 924 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / in main_intr_loop() local 964 if (unlikely(diff_tsc > drain_tsc)) { in main_intr_loop() 1089 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / in main_telemetry_loop() local 1122 if (unlikely(diff_tsc > drain_tsc)) { in main_telemetry_loop() 1206 const uint64_t drain_tsc = in main_empty_poll_loop() local 1236 if (unlikely(diff_tsc > drain_tsc)) { in main_empty_poll_loop() 1315 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 1354 if (unlikely(diff_tsc > drain_tsc)) { in main_legacy_loop()
|
| /f-stack/dpdk/examples/link_status_interrupt/ |
| H A D | main.c | 204 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * in lsi_main_loop() local 236 if (unlikely(diff_tsc > drain_tsc)) { in lsi_main_loop()
|
| /f-stack/dpdk/examples/l3fwd/ |
| H A D | l3fwd_lpm.c | 185 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / in lpm_main_loop() local 217 if (unlikely(diff_tsc > drain_tsc)) { in lpm_main_loop()
|
| H A D | l3fwd_em.c | 629 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / in em_main_loop() local 661 if (unlikely(diff_tsc > drain_tsc)) { in em_main_loop()
|
| /f-stack/dpdk/examples/ipv4_multicast/ |
| H A D | main.c | 365 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 368 if (likely (cur_tsc < qconf->tx_tsc + drain_tsc)) in send_timeout_burst()
|
| /f-stack/dpdk/examples/l2fwd-keepalive/ |
| H A D | main.c | 203 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()
|
| /f-stack/dpdk/examples/l2fwd/ |
| H A D | main.c | 208 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * in l2fwd_main_loop() local 241 if (unlikely(diff_tsc > drain_tsc)) { in l2fwd_main_loop()
|
| /f-stack/dpdk/examples/ip_fragmentation/ |
| H A D | main.c | 393 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * BURST_TX_DRAIN_US; in main_loop() local 422 if (unlikely(diff_tsc > drain_tsc)) { in main_loop()
|
| /f-stack/lib/ |
| H A D | ff_dpdk_if.c | 1829 uint64_t drain_tsc = 0; local 1833 drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * pkt_tx_delay; 1856 if (unlikely(diff_tsc >= drain_tsc)) { 1919 if (likely(lr->loop != NULL && (!idle || cur_tsc - usch_tsc >= drain_tsc))) {
|
| /f-stack/dpdk/examples/ip_reassembly/ |
| H A D | main.c | 431 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * BURST_TX_DRAIN_US; in main_loop() local 460 if (unlikely(diff_tsc > drain_tsc)) { in main_loop()
|
| /f-stack/dpdk/examples/l3fwd-acl/ |
| H A D | main.c | 1427 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) in main_loop() local 1459 if (unlikely(diff_tsc > drain_tsc)) { in main_loop()
|
| /f-stack/dpdk/examples/l2fwd-crypto/ |
| H A D | main.c | 700 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / in l2fwd_main_loop() local 849 if (unlikely(diff_tsc > drain_tsc)) { in l2fwd_main_loop()
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | ipsec-secgw.c | 1163 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) in ipsec_poll_mode_worker() local 1222 if (unlikely(diff_tsc > drain_tsc)) { in ipsec_poll_mode_worker()
|
| /f-stack/dpdk/examples/performance-thread/l3fwd-thread/ |
| H A D | main.c | 2316 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / in pthread_tx() local 2335 if (unlikely(diff_tsc > drain_tsc)) { in pthread_tx()
|