| 361 | } |
| 362 | |
| 363 | static int |
| 364 | dsw_close(struct rte_eventdev *dev) |
| 365 | { |
| 366 | struct dsw_evdev *dsw = dsw_pmd_priv(dev); |
| 367 | uint16_t port_id; |
| 368 | |
| 369 | for (port_id = 0; port_id < dsw->num_ports; port_id++) |
| 370 | dsw_port_release(&dsw->ports[port_id]); |
| 371 | |
| 372 | dsw->num_ports = 0; |
| 373 | dsw->num_queues = 0; |
| 374 | |
| 375 | return 0; |
| 376 | } |
| 377 | |
| 378 | static int |
| 379 | dsw_eth_rx_adapter_caps_get(const struct rte_eventdev *dev __rte_unused, |
nothing calls this directly
no test coverage detected