loop until rte_timer_stop() succeed */
| 636 | |
| 637 | /* loop until rte_timer_stop() succeed */ |
| 638 | void |
| 639 | rte_timer_stop_sync(struct rte_timer *tim) |
| 640 | { |
| 641 | while (rte_timer_stop(tim) != 0) |
| 642 | rte_pause(); |
| 643 | } |
| 644 | |
| 645 | /* Test the PENDING status of the timer handle tim */ |
| 646 | int |