destruction */
| 137 | |
| 138 | /* destruction */ |
| 139 | static inline void |
| 140 | cleanup(void) |
| 141 | { |
| 142 | int ret = 0; |
| 143 | |
| 144 | rte_event_dev_stop(evdev); |
| 145 | ret = rte_event_dev_close(evdev); |
| 146 | |
| 147 | if (ret) |
| 148 | printf("%d: rte_event_dev_close failed, ret = %d\n", |
| 149 | __LINE__, ret); |
| 150 | }; |
| 151 | |
| 152 | static inline int |
| 153 | enqueue_timeout(uint8_t port_id, struct rte_event *ev, uint64_t tmo_us) |
no test coverage detected