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

Function rte_eth_dev_count_total

dpdk/lib/ethdev/rte_ethdev.c:689–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687}
688
689uint16_t
690rte_eth_dev_count_total(void)
691{
692 uint16_t port, count = 0;
693
694 RTE_ETH_FOREACH_VALID_DEV(port)
695 count++;
696
697 rte_ethdev_trace_count_total(count);
698
699 return count;
700}
701
702int
703rte_eth_dev_get_name_by_port(uint16_t port_id, char *name)

Callers 9

testsuite_setupFunction · 0.85
testsuite_setup_rx_intrFunction · 0.85
adapter_queue_add_delFunction · 0.85
tx_adapter_queue_add_delFunction · 0.85
tx_adapter_instance_getFunction · 0.85

Calls

no outgoing calls

Tested by 9

testsuite_setupFunction · 0.68
testsuite_setup_rx_intrFunction · 0.68
adapter_queue_add_delFunction · 0.68
tx_adapter_queue_add_delFunction · 0.68
tx_adapter_instance_getFunction · 0.68