MCPcopy Create free account
hub / github.com/F-Stack/f-stack / eth_is_valid_owner_id

Function eth_is_valid_owner_id

dpdk/lib/ethdev/rte_ethdev.c:421–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421static int
422eth_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
431uint64_t
432rte_eth_find_next_owned_by(uint16_t port_id, const uint64_t owner_id)

Callers 2

eth_dev_owner_setFunction · 0.85
rte_eth_dev_owner_deleteFunction · 0.85

Calls 1

rte_mcfg_ethdev_get_lockFunction · 0.85

Tested by

no test coverage detected