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

Function is_proc_primary

dpdk/app/test-pmd/testpmd.h:810–814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

808extern unsigned int num_procs;
809
810static inline bool
811is_proc_primary(void)
812{
813 return rte_eal_process_type() == RTE_PROC_PRIMARY;
814}
815
816static inline struct fwd_lcore *
817lcore_to_fwd_lcore(uint16_t lcore_id)

Callers 10

eth_dev_configure_mpFunction · 0.85
eth_dev_start_mpFunction · 0.85
eth_dev_stop_mpFunction · 0.85
mempool_free_mpFunction · 0.85
eth_dev_set_mtu_mpFunction · 0.85
mbuf_pool_createFunction · 0.85
start_portFunction · 0.85
close_portFunction · 0.85
reset_portFunction · 0.85

Calls 1

rte_eal_process_typeFunction · 0.85

Tested by

no test coverage detected