| 62 | |
| 63 | |
| 64 | static struct ethdev* |
| 65 | ethdev_port_by_id(uint16_t port_id) |
| 66 | { |
| 67 | struct ethdev *port; |
| 68 | |
| 69 | TAILQ_FOREACH(port, ð_node, next) { |
| 70 | if (port->config.port_id == port_id) |
| 71 | return port; |
| 72 | } |
| 73 | return NULL; |
| 74 | } |
| 75 | |
| 76 | void * |
| 77 | ethdev_mempool_list_by_portid(uint16_t portid) |
no outgoing calls
no test coverage detected