| 419 | } |
| 420 | |
| 421 | static int |
| 422 | eth_is_valid_owner_id(uint64_t owner_id) |
| 423 | __rte_exclusive_locks_required(rte_mcfg_ethdev_get_lock()) |
| 424 | { |
| 425 | if (owner_id == RTE_ETH_DEV_NO_OWNER || |
| 426 | eth_dev_shared_data->next_owner_id <= owner_id) |
| 427 | return 0; |
| 428 | return 1; |
| 429 | } |
| 430 | |
| 431 | uint64_t |
| 432 | rte_eth_find_next_owned_by(uint16_t port_id, const uint64_t owner_id) |
no test coverage detected