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

Function eth_dev_is_allocated

dpdk/lib/ethdev/rte_ethdev.c:399–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397}
398
399static bool
400eth_dev_is_allocated(const struct rte_eth_dev *ethdev)
401{
402 return ethdev->data != NULL && ethdev->data->name[0] != '\0';
403}
404
405int
406rte_eth_dev_is_valid_port(uint16_t port_id)

Callers 3

eth_dev_owner_setFunction · 0.85
rte_eth_dev_owner_getFunction · 0.85
rte_eth_dev_socket_idFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected