MCPcopy Index your code
hub / github.com/F-Stack/f-stack / rte_eth_dev_count_avail

Function rte_eth_dev_count_avail

dpdk/lib/ethdev/rte_ethdev.c:673–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

671}
672
673uint16_t
674rte_eth_dev_count_avail(void)
675{
676 uint16_t p;
677 uint16_t count;
678
679 count = 0;
680
681 RTE_ETH_FOREACH_DEV(p)
682 count++;
683
684 rte_ethdev_trace_count_avail(count);
685
686 return count;
687}
688
689uint16_t
690rte_eth_dev_count_total(void)

Callers 15

init_lcore_confFunction · 0.85
txa_service_ethdev_allocFunction · 0.85
ethdev_tel_handle_infoFunction · 0.85
mainFunction · 0.85
create_meter_policyFunction · 0.85
destroy_meter_policyFunction · 0.85
destroy_meter_profileFunction · 0.85
create_meter_profileFunction · 0.85
flows_handlerFunction · 0.85

Calls

no outgoing calls

Tested by 15

test_setupFunction · 0.68
ut_teardown_rx_injectFunction · 0.68
test_pmd_perfFunction · 0.68
test_setupFunction · 0.68
ethdev_api_queue_statusFunction · 0.68