| /f-stack/dpdk/drivers/net/enic/ |
| H A D | enic_vf_representor.c | 53 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 D | enic_ethdev.c | 115 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 D | ssovf_probe.c | 58 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 D | timvf_probe.c | 78 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 D | rte_eventdev_pmd_pci.h | 58 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 D | rte_eventdev_pmd_vdev.h | 57 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in rte_event_pmd_vdev_init()
|
| /f-stack/dpdk/drivers/net/mlx4/ |
| H A D | mlx4_mp.c | 64 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 D | rte_ethdev_pci.h | 37 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 D | rte_compressdev_pmd.c | 112 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 D | pci_common_uio.c | 97 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 D | rte_cryptodev_pmd.c | 115 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 D | otx2_cryptodev.c | 73 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 D | mlx5_common_mp.c | 152 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 D | nfp_cpp_pcie_ops.c | 314 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 D | vmbus_common_uio.c | 157 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 D | qat_asym_pmd.c | 254 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 D | qat_sym_pmd.c | 339 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 D | main.c | 153 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 D | rte_mbuf_dyn.c | 110 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 D | eal.c | 353 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 D | dpaa2_cmdif.c | 215 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 D | eal.c | 445 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 D | eal.c | 41 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 D | mlx5_mr.c | 143 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 D | rte_eal.h | 40 RTE_PROC_PRIMARY = 0, /* set to zero, so primary is the default */ enumerator
|