| 346 | } |
| 347 | |
| 348 | static void |
| 349 | dsw_stop(struct rte_eventdev *dev) |
| 350 | { |
| 351 | struct dsw_evdev *dsw = dsw_pmd_priv(dev); |
| 352 | uint8_t dev_id; |
| 353 | eventdev_stop_flush_t flush; |
| 354 | void *flush_arg; |
| 355 | |
| 356 | dev_id = dev->data->dev_id; |
| 357 | flush = dev->dev_ops->dev_stop_flush; |
| 358 | flush_arg = dev->data->dev_stop_flush_arg; |
| 359 | |
| 360 | dsw_drain(dev_id, dsw, flush, flush_arg); |
| 361 | } |
| 362 | |
| 363 | static int |
| 364 | dsw_close(struct rte_eventdev *dev) |
nothing calls this directly
no test coverage detected