| 758 | } |
| 759 | |
| 760 | int |
| 761 | eth_err(uint16_t port_id, int ret) |
| 762 | { |
| 763 | if (ret == 0) |
| 764 | return 0; |
| 765 | if (rte_eth_dev_is_removed(port_id)) |
| 766 | return -EIO; |
| 767 | return ret; |
| 768 | } |
| 769 | |
| 770 | static int |
| 771 | eth_dev_validate_rx_queue(const struct rte_eth_dev *dev, uint16_t rx_queue_id) |
no test coverage detected