| /dpdk/drivers/common/mlx5/ |
| H A D | mlx5_common_mp.c | 39 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx5_mp_req_mr_create() 81 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx5_mp_req_mempool_reg() 128 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx5_mp_req_queue_state_modify() 164 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx5_mp_req_verbs_cmd_fd() 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() 225 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx5_mp_init_secondary() 235 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx5_mp_uninit_secondary()
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_mp.c | 64 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mp_primary_handle() 119 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mp_secondary_handle() 188 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mp_req_on_rxtx() 275 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx4_mp_req_mr_create() 313 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx4_mp_req_verbs_cmd_fd() 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() 373 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx4_mp_init_secondary() 383 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx4_mp_uninit_secondary()
|
| H A D | mlx4_txq.c | 53 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in txq_uar_init() 139 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx4_tx_uar_init_secondary() 186 MLX4_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx4_tx_uar_init_secondary() 195 assert(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx4_tx_uar_uninit_secondary()
|
| /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/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() 165 if (rte_eal_process_type() == RTE_PROC_SECONDARY && in rte_eth_dev_pci_generic_remove()
|
| /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/crypto/ipsec_mb/ |
| H A D | ipsec_mb_ops.c | 103 if (qp != NULL && rte_eal_process_type() == RTE_PROC_PRIMARY) { in ipsec_mb_qp_release() 175 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in ipsec_mb_alloc_mgr_from_memzone() 216 if (rte_eal_process_type() == RTE_PROC_SECONDARY) { in ipsec_mb_qp_setup() 255 if (rte_eal_process_type() == RTE_PROC_SECONDARY) in ipsec_mb_qp_setup() 291 if (rte_eal_process_type() == RTE_PROC_SECONDARY) in ipsec_mb_qp_setup()
|
| /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/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() 175 if (rte_eal_process_type() == RTE_PROC_SECONDARY) in rte_cryptodev_pmd_probing_finish()
|
| /dpdk/drivers/crypto/qat/ |
| H A D | qat_sym.c | 63 enum rte_proc_type_t proc_type = rte_eal_process_type(); in qat_sym_build_request() 222 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in qat_sym_dev_create() 225 } else if (rte_eal_process_type() == RTE_PROC_SECONDARY) { in qat_sym_dev_create() 256 if (rte_eal_process_type() != RTE_PROC_PRIMARY) in qat_sym_dev_create() 341 if (rte_eal_process_type() == RTE_PROC_PRIMARY) in qat_sym_dev_destroy()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_mp.c | 151 if (rte_eal_process_type() == RTE_PROC_SECONDARY || in mp_req_on_rxtx() 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/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()
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_mp_os.c | 77 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mlx5_mp_os_primary_handle() 161 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx5_mp_os_secondary_handle() 231 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY); in mp_req_on_rxtx() 327 MLX5_ASSERT(rte_eal_process_type() == RTE_PROC_SECONDARY); in mlx5_mp_os_req_queue_control()
|
| /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/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/virtio/ |
| H A D | virtio_pci_ethdev.c | 79 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in eth_virtio_pci_init() 127 if (rte_eal_process_type() == RTE_PROC_SECONDARY) in eth_virtio_pci_uninit()
|
| /dpdk/app/test/ |
| H A D | test_pdump.c | 207 if (rte_eal_process_type() == RTE_PROC_PRIMARY) { in test_pdump() 212 } else if (rte_eal_process_type() == RTE_PROC_SECONDARY) { in test_pdump()
|
| /dpdk/drivers/bus/fslmc/ |
| H A D | fslmc_vfio.c | 777 if (rte_eal_process_type() == RTE_PROC_SECONDARY) { in fslmc_process_mcp() 851 if (rte_eal_process_type() == RTE_PROC_SECONDARY && in fslmc_vfio_process_group() 912 if (rte_eal_process_type() == RTE_PROC_SECONDARY && in fslmc_vfio_process_group() 941 if (rte_eal_process_type() == RTE_PROC_SECONDARY) in fslmc_vfio_process_group() 957 if (rte_eal_process_type() == RTE_PROC_SECONDARY in fslmc_vfio_process_group() 963 if (rte_eal_process_type() == RTE_PROC_PRIMARY in fslmc_vfio_process_group()
|
| /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()
|