Home
last modified time | relevance | path

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

1234567

/f-stack/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()
76 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_tx_queue_release()
93 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_rx_queue_setup()
114 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_rx_queue_release()
122 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_configure()
163 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_start()
252 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_stop()
285 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_dev_close()
508 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_promiscuous_enable()
521 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enic_vf_promiscuous_disable()
[all …]
H A Denic_ethdev.c115 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_tx_queue_release()
173 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_tx_queue_setup()
250 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_rx_queue_release()
292 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_rx_queue_setup()
332 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_configure()
373 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_start()
388 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_stop()
408 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_close()
572 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_promiscuous_enable()
590 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in enicpmd_dev_promiscuous_disable()
[all …]
/f-stack/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()
/f-stack/dpdk/lib/librte_eventdev/
H A Drte_eventdev_pmd_pci.h58 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_event_pmd_pci_probe_named()
134 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_event_pmd_pci_remove()
H A Drte_eventdev_pmd_vdev.h57 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_event_pmd_vdev_init()
/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4_mp.c64 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mp_primary_handle()
169 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mp_req_on_rxtx()
324 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mlx4_mp_init_primary()
339 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mlx4_mp_uninit_primary()
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev_pci.h37 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_eth_copy_pci_info()
85 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_eth_dev_pci_allocate()
/f-stack/dpdk/lib/librte_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()
/f-stack/dpdk/drivers/bus/pci/
H A Dpci_common_uio.c97 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in pci_uio_map_resource()
146 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in pci_uio_unmap()
220 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in pci_uio_unmap_resource()
/f-stack/dpdk/lib/librte_cryptodev/
H A Drte_cryptodev_pmd.c115 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_cryptodev_pmd_create()
151 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in rte_cryptodev_pmd_destroy()
/f-stack/dpdk/drivers/crypto/octeontx2/
H A Dotx2_cryptodev.c73 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in otx2_cpt_pci_probe()
134 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in otx2_cpt_pci_probe()
/f-stack/dpdk/drivers/common/mlx5/
H A Dmlx5_common_mp.c152 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mlx5_mp_init_primary()
167 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mlx5_mp_uninit_primary()
/f-stack/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_cpp_pcie_ops.c314 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in nfp_enable_bars()
346 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in nfp_alloc_bar()
369 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in nfp_disable_bars()
825 if (rte_eal_process_type() == RTE_PROC_PRIMARY && in nfp6000_init()
833 if (rte_eal_process_type() != RTE_PROC_PRIMARY) { in nfp6000_init()
869 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in nfp6000_free()
/f-stack/dpdk/drivers/bus/vmbus/
H A Dvmbus_common_uio.c157 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in vmbus_uio_map_resource()
214 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in vmbus_uio_unmap_resource()
/f-stack/dpdk/drivers/crypto/qat/
H A Dqat_asym_pmd.c254 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in qat_asym_dev_create()
296 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in qat_asym_dev_create()
352 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in qat_asym_dev_destroy()
H A Dqat_sym_pmd.c339 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in qat_sym_dev_create()
386 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in qat_sym_dev_create()
490 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in qat_sym_dev_destroy()
/f-stack/dpdk/examples/multi_process/symmetric_mp/
H A Dmain.c153 if (rte_eal_process_type() == RTE_PROC_PRIMARY && num_procs == 0) in smp_parse_args()
461 if(proc_type == RTE_PROC_PRIMARY) in main()
466 if (proc_type == RTE_PROC_PRIMARY) in main()
/f-stack/dpdk/lib/librte_mbuf/
H A Drte_mbuf_dyn.c110 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in init_shared_mem()
123 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in init_shared_mem()
247 if (rte_eal_process_type() != RTE_PROC_PRIMARY) { in __rte_mbuf_dynfield_register_offset()
437 if (rte_eal_process_type() != RTE_PROC_PRIMARY) { in __rte_mbuf_dynflag_register_bitnum()
/f-stack/dpdk/lib/librte_eal/freebsd/
H A Deal.c353 enum rte_proc_type_t ptype = RTE_PROC_PRIMARY; in eal_proc_type_detect()
371 ptype == RTE_PROC_PRIMARY ? "PRIMARY" : "SECONDARY"); in eal_proc_type_detect()
387 case RTE_PROC_PRIMARY: in rte_config_init()
757 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_eal_init()
788 ret = internal_conf->process_type == RTE_PROC_PRIMARY ? in rte_eal_init()
/f-stack/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()
/f-stack/dpdk/lib/librte_eal/linux/
H A Deal.c445 enum rte_proc_type_t ptype = RTE_PROC_PRIMARY; in eal_proc_type_detect()
463 ptype == RTE_PROC_PRIMARY ? "PRIMARY" : "SECONDARY"); in eal_proc_type_detect()
479 case RTE_PROC_PRIMARY: in rte_config_init()
1053 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_eal_init()
1136 ret = internal_conf->process_type == RTE_PROC_PRIMARY ? in rte_eal_init()
1359 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in rte_eal_cleanup()
/f-stack/dpdk/lib/librte_eal/windows/
H A Deal.c41 enum rte_proc_type_t ptype = RTE_PROC_PRIMARY; in eal_proc_type_detect()
65 ptype == RTE_PROC_PRIMARY ? "PRIMARY" : "SECONDARY"); in eal_proc_type_detect()
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_mr.c143 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mlx5_mr_mem_event_cb()
261 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mlx5_mr_update_ext_mp_cb()
479 if (rte_eal_process_type() != RTE_PROC_PRIMARY) { in mlx5_tx_update_ext_mp()
/f-stack/dpdk/lib/librte_eal/include/
H A Drte_eal.h40 RTE_PROC_PRIMARY = 0, /* set to zero, so primary is the default */ enumerator

1234567