Home
last modified time | relevance | path

Searched refs:rte_eal_process_type (Results 1 – 25 of 203) sorted by relevance

123456789

/dpdk/drivers/common/mlx5/
H A Dmlx5_common_mp.c39 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 Dmlx4_mp.c64 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 Dmlx4_txq.c53 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 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/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()
165 if (rte_eal_process_type() == RTE_PROC_SECONDARY && in rte_eth_dev_pci_generic_remove()
/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/crypto/ipsec_mb/
H A Dipsec_mb_ops.c103 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 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/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()
175 if (rte_eal_process_type() == RTE_PROC_SECONDARY) in rte_cryptodev_pmd_probing_finish()
/dpdk/drivers/crypto/qat/
H A Dqat_sym.c63 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 Dhns3_mp.c151 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 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()
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_mp_os.c77 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 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/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/virtio/
H A Dvirtio_pci_ethdev.c79 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 Dtest_pdump.c207 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 Dfslmc_vfio.c777 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 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()

123456789