| /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() 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 D | enic_ethdev.c | 97 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 D | cn9k_cryptodev.c | 69 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 D | cn10k_cryptodev.c | 69 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 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()
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_mp.c | 64 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 D | eventdev_pmd_pci.h | 57 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 D | eal_vfio_mp_sync.c | 113 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 D | eal.c | 349 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 D | pci_common_uio.c | 100 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 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()
|
| /dpdk/lib/ethdev/ |
| H A D | ethdev_pci.h | 41 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 D | eal.c | 265 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 D | nfp_ethdev.c | 172 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 D | nfp_cpp_pcie_ops.c | 311 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 D | cnxk_mempool.c | 140 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 D | cryptodev_pmd.c | 117 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 D | rte_mbuf_dyn.c | 110 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 D | mlx5_common_mp.c | 200 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 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()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_mp.c | 271 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 D | main.c | 152 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 D | rte_dmadev.c | 183 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 D | vmbus_common_uio.c | 184 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()
|