Home
last modified time | relevance | path

Searched refs:RTE_PROC_PRIMARY (Results 1 – 25 of 191) sorted by relevance

12345678

/dpdk/drivers/net/enic/
H A Denic_vf_representor.c53 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_tx_queue_setup()
78 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_tx_queue_release()
95 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_rx_queue_setup()
118 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_rx_queue_release()
126 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_configure()
167 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_start()
256 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_stop()
289 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_close()
499 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_promiscuous_enable()
512 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_promiscuous_disable()
[all …]
H A Denic_ethdev.c97 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_tx_queue_release()
155 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_tx_queue_setup()
234 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_rx_queue_release()
276 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_rx_queue_setup()
316 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_configure()
357 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_start()
372 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_stop()
392 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_close()
557 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_promiscuous_enable()
575 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_promiscuous_disable()
[all …]
/dpdk/drivers/crypto/cnxk/
H A Dcn9k_cryptodev.c69 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in cn9k_cpt_pci_probe()
110 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in cn9k_cpt_pci_probe()
140 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in cn9k_cpt_pci_remove()
H A Dcn10k_cryptodev.c69 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in cn10k_cpt_pci_probe()
110 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in cn10k_cpt_pci_probe()
140 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in cn10k_cpt_pci_remove()
/dpdk/drivers/event/octeontx/
H A Dssovf_probe.c58 if (rte_eal_process_type() != RTE_PROC_PRIMARY || info == NULL) in ssovf_info()
100 if (rte_eal_process_type() != RTE_PROC_PRIMARY || in ssovf_bar()
148 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in ssowvf_probe()
229 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in ssovf_probe()
H A Dtimvf_probe.c78 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in timvf_bar()
112 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in timvf_probe()
/dpdk/drivers/net/mlx4/
H A Dmlx4_mp.c64 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mp_primary_handle()
188 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mp_req_on_rxtx()
348 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mlx4_mp_init_primary()
363 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mlx4_mp_uninit_primary()
/dpdk/lib/eventdev/
H A Deventdev_pmd_pci.h57 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_event_pmd_pci_probe_named()
137 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_event_pmd_pci_remove()
/dpdk/lib/eal/linux/
H A Deal_vfio_mp_sync.c113 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in vfio_mp_sync_setup()
125 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in vfio_mp_sync_cleanup()
H A Deal.c349 enum rte_proc_type_t ptype = RTE_PROC_PRIMARY; in eal_proc_type_detect()
367 ptype == RTE_PROC_PRIMARY ? "PRIMARY" : "SECONDARY"); in eal_proc_type_detect()
383 case RTE_PROC_PRIMARY: in rte_config_init()
955 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_eal_init()
1038 ret = internal_conf->process_type == RTE_PROC_PRIMARY ? in rte_eal_init()
1218 if (rte_eal_process_type() == RTE_PROC_PRIMARY && !internal_conf->no_telemetry) { in rte_eal_init()
1260 if (rte_eal_process_type() == RTE_PROC_PRIMARY && in rte_eal_cleanup()
/dpdk/drivers/bus/pci/
H A Dpci_common_uio.c100 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in pci_uio_map_resource()
149 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in pci_uio_unmap()
224 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in pci_uio_unmap_resource()
/dpdk/lib/compressdev/
H A Drte_compressdev_pmd.c112 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_compressdev_pmd_create()
147 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in rte_compressdev_pmd_destroy()
/dpdk/lib/ethdev/
H A Dethdev_pci.h41 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_eth_copy_pci_info()
90 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_eth_dev_pci_allocate()
/dpdk/lib/eal/freebsd/
H A Deal.c265 enum rte_proc_type_t ptype = RTE_PROC_PRIMARY; in eal_proc_type_detect()
283 ptype == RTE_PROC_PRIMARY ? "PRIMARY" : "SECONDARY"); in eal_proc_type_detect()
299 case RTE_PROC_PRIMARY: in rte_config_init()
676 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_eal_init()
718 ret = internal_conf->process_type == RTE_PROC_PRIMARY ? in rte_eal_init()
873 if (rte_eal_process_type() == RTE_PROC_PRIMARY && !internal_conf->no_telemetry) { in rte_eal_init()
/dpdk/drivers/net/nfp/
H A Dnfp_ethdev.c172 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in nfp_net_start()
228 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in nfp_net_stop()
248 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in nfp_net_set_link_up()
266 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in nfp_net_set_link_down()
285 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in nfp_net_close()
434 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in nfp_net_init()
583 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in nfp_net_init()
1018 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in nfp_pf_pci_probe()
/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_cpp_pcie_ops.c311 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in nfp_enable_bars()
343 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in nfp_alloc_bar()
366 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in nfp_disable_bars()
822 if (rte_eal_process_type() == RTE_PROC_PRIMARY && in nfp6000_init()
830 if (rte_eal_process_type() != RTE_PROC_PRIMARY) { in nfp6000_init()
866 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in nfp6000_free()
/dpdk/drivers/mempool/cnxk/
H A Dcnxk_mempool.c140 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in npa_remove()
157 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in npa_probe()
/dpdk/lib/cryptodev/
H A Dcryptodev_pmd.c117 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_cryptodev_pmd_create()
154 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in rte_cryptodev_pmd_destroy()
/dpdk/lib/mbuf/
H A Drte_mbuf_dyn.c110 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in init_shared_mem()
125 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in init_shared_mem()
249 if (rte_eal_process_type() != RTE_PROC_PRIMARY) { in __rte_mbuf_dynfield_register_offset()
439 if (rte_eal_process_type() != RTE_PROC_PRIMARY) { in __rte_mbuf_dynflag_register_bitnum()
/dpdk/drivers/common/mlx5/
H A Dmlx5_common_mp.c200 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mlx5_mp_init_primary()
215 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mlx5_mp_uninit_primary()
/dpdk/drivers/raw/dpaa2_cmdif/
H A Ddpaa2_cmdif.c215 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in dpaa2_cmdif_create()
243 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in dpaa2_cmdif_destroy()
/dpdk/drivers/net/hns3/
H A Dhns3_mp.c271 if (rte_eal_process_type() != RTE_PROC_PRIMARY) { in hns3_mp_init()
297 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in hns3_mp_uninit()
/dpdk/examples/multi_process/symmetric_mp/
H A Dmain.c152 if (rte_eal_process_type() == RTE_PROC_PRIMARY && num_procs == 0) in smp_parse_args()
475 if(proc_type == RTE_PROC_PRIMARY) in main()
481 if (proc_type == RTE_PROC_PRIMARY) in main()
/dpdk/lib/dmadev/
H A Drte_dmadev.c183 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in dma_shared_data_prepare()
191 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in dma_shared_data_prepare()
206 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in dma_data_prepare()
312 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in dma_allocate()
328 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in dma_release()
/dpdk/drivers/bus/vmbus/
H A Dvmbus_common_uio.c184 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in vmbus_uio_map_resource()
246 if (rte_eal_process_type() != RTE_PROC_PRIMARY) { in vmbus_uio_unmap_resource()

12345678