| /dpdk/drivers/crypto/scheduler/ |
| H A D | scheduler_pmd.c | 79 struct scheduler_init_params *init_params) in cryptodev_scheduler_create() argument 87 &init_params->def_p); in cryptodev_scheduler_create() 99 init_params->def_p.max_nb_queue_pairs; in cryptodev_scheduler_create() 104 sched_ctx->nb_wc = init_params->nb_wc; in cryptodev_scheduler_create() 125 init_params->mode); in cryptodev_scheduler_create() 141 s = strchr(init_params->mode_param_str, in cryptodev_scheduler_create() 149 s - init_params->mode_param_str + 1); in cryptodev_scheduler_create() 154 switch (init_params->mode) { in cryptodev_scheduler_create() 212 init_params->worker_names[i], in cryptodev_scheduler_create() 550 scheduler_parse_init_params(&init_params, in cryptodev_scheduler_probe() [all …]
|
| /dpdk/drivers/crypto/ccp/ |
| H A D | rte_ccp_pmd.c | 228 struct ccp_pmd_init_params *init_params, in cryptodev_ccp_create() argument 234 if (init_params->def_p.name[0] == '\0') in cryptodev_ccp_create() 235 strlcpy(init_params->def_p.name, name, in cryptodev_ccp_create() 236 sizeof(init_params->def_p.name)); in cryptodev_ccp_create() 240 &init_params->def_p); in cryptodev_ccp_create() 271 internals->auth_opt = init_params->auth_opt; in cryptodev_ccp_create() 280 init_params->def_p.name, __func__); in cryptodev_ccp_create() 293 struct ccp_pmd_init_params init_params = { in cryptodev_ccp_probe() local 315 init_params.def_p.socket_id); in cryptodev_ccp_probe() 317 init_params.def_p.max_nb_queue_pairs); in cryptodev_ccp_probe() [all …]
|
| /dpdk/drivers/crypto/ipsec_mb/ |
| H A D | ipsec_mb_private.c | 52 struct rte_cryptodev_pmd_init_params init_params = {}; in ipsec_mb_create() local 68 init_params.private_data_size = sizeof(struct ipsec_mb_dev_private) + in ipsec_mb_create() 70 init_params.max_nb_queue_pairs = in ipsec_mb_create() 72 init_params.socket_id = rte_socket_id(); in ipsec_mb_create() 80 retval = rte_cryptodev_pmd_parse_input_args(&init_params, args); in ipsec_mb_create() 87 dev = rte_cryptodev_pmd_create(name, &vdev->device, &init_params); in ipsec_mb_create() 90 init_params.name); in ipsec_mb_create() 97 internals->max_nb_queue_pairs = init_params.max_nb_queue_pairs; in ipsec_mb_create() 102 init_params.name); in ipsec_mb_create()
|
| /dpdk/drivers/baseband/null/ |
| H A D | bbdev_null.c | 261 struct bbdev_null_params *init_params) in null_bbdev_create() argument 272 init_params->socket_id); in null_bbdev_create() 280 bbdev->data->socket_id = init_params->socket_id; in null_bbdev_create() 289 init_params->queues_num; in null_bbdev_create() 298 struct bbdev_null_params init_params = { in null_bbdev_probe() local 313 parse_bbdev_null_params(&init_params, input_args); in null_bbdev_probe() 316 name, init_params.socket_id, init_params.queues_num); in null_bbdev_probe() 318 return null_bbdev_create(vdev, &init_params); in null_bbdev_probe()
|
| /dpdk/drivers/crypto/null/ |
| H A D | null_crypto_pmd.c | 161 struct rte_cryptodev_pmd_init_params *init_params) in cryptodev_null_create() argument 165 dev = rte_cryptodev_pmd_create(name, &vdev->device, init_params); in cryptodev_null_create() 185 internals->max_nb_qpairs = init_params->max_nb_queue_pairs; in cryptodev_null_create() 196 struct rte_cryptodev_pmd_init_params init_params = { in cryptodev_null_probe() local 211 retval = rte_cryptodev_pmd_parse_input_args(&init_params, args); in cryptodev_null_probe() 219 return cryptodev_null_create(name, dev, &init_params); in cryptodev_null_probe()
|
| /dpdk/drivers/compress/zlib/ |
| H A D | zlib_pmd.c | 357 struct rte_compressdev_pmd_init_params *init_params) in zlib_create() argument 362 sizeof(struct zlib_private), init_params); in zlib_create() 364 ZLIB_PMD_ERR("driver %s: create failed", init_params->name); in zlib_create() 380 struct rte_compressdev_pmd_init_params init_params = { in zlib_probe() local 395 retval = rte_compressdev_pmd_parse_input_args(&init_params, input_args); in zlib_probe() 403 return zlib_create(name, vdev, &init_params); in zlib_probe()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_vf_representor.c | 175 ixgbe_vf_representor_init(struct rte_eth_dev *ethdev, void *init_params) in ixgbe_vf_representor_init() argument 187 ((struct ixgbe_vf_representor *)init_params)->vf_id; in ixgbe_vf_representor_init() 189 ((struct ixgbe_vf_representor *)init_params)->switch_domain_id; in ixgbe_vf_representor_init() 191 ((struct ixgbe_vf_representor *)init_params)->pf_ethdev; in ixgbe_vf_representor_init()
|
| /dpdk/drivers/net/e1000/base/ |
| H A D | e1000_api.c | 18 if (hw->mac.ops.init_params) { in e1000_init_mac_params() 19 ret_val = hw->mac.ops.init_params(hw); in e1000_init_mac_params() 44 if (hw->nvm.ops.init_params) { in e1000_init_nvm_params() 45 ret_val = hw->nvm.ops.init_params(hw); in e1000_init_nvm_params() 70 if (hw->phy.ops.init_params) { in e1000_init_phy_params() 71 ret_val = hw->phy.ops.init_params(hw); in e1000_init_phy_params() 96 if (hw->mbx.ops.init_params) { in e1000_init_mbx_params() 97 ret_val = hw->mbx.ops.init_params(hw); in e1000_init_mbx_params()
|
| H A D | e1000_vf.c | 118 hw->mac.ops.init_params = e1000_init_mac_params_vf; in e1000_init_function_pointers_vf() 119 hw->nvm.ops.init_params = e1000_init_nvm_params_vf; in e1000_init_function_pointers_vf() 120 hw->phy.ops.init_params = e1000_init_phy_params_vf; in e1000_init_function_pointers_vf() 121 hw->mbx.ops.init_params = e1000_init_mbx_params_vf; in e1000_init_function_pointers_vf()
|
| H A D | e1000_vf.h | 171 s32 (*init_params)(struct e1000_hw *); member 199 s32 (*init_params)(struct e1000_hw *hw); member
|
| H A D | e1000_82542.c | 133 hw->mac.ops.init_params = e1000_init_mac_params_82542; in e1000_init_function_pointers_82542() 134 hw->nvm.ops.init_params = e1000_init_nvm_params_82542; in e1000_init_function_pointers_82542() 135 hw->phy.ops.init_params = e1000_init_phy_params_82542; in e1000_init_function_pointers_82542()
|
| H A D | e1000_hw.h | 675 s32 (*init_params)(struct e1000_hw *); member 720 s32 (*init_params)(struct e1000_hw *); member 749 s32 (*init_params)(struct e1000_hw *); member 873 s32 (*init_params)(struct e1000_hw *hw); member
|
| /dpdk/drivers/crypto/armv8/ |
| H A D | rte_armv8_pmd.c | 755 struct rte_cryptodev_pmd_init_params *init_params) in cryptodev_armv8_crypto_create() argument 782 dev = rte_cryptodev_pmd_create(name, &vdev->device, init_params); in cryptodev_armv8_crypto_create() 803 internals->max_nb_qpairs = init_params->max_nb_queue_pairs; in cryptodev_armv8_crypto_create() 812 init_params->name); in cryptodev_armv8_crypto_create() 822 struct rte_cryptodev_pmd_init_params init_params = { in cryptodev_armv8_crypto_init() local 835 rte_cryptodev_pmd_parse_input_args(&init_params, input_args); in cryptodev_armv8_crypto_init() 837 return cryptodev_armv8_crypto_create(name, vdev, &init_params); in cryptodev_armv8_crypto_init()
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cn9k_cryptodev.c | 39 struct rte_cryptodev_pmd_init_params init_params = { in cn9k_cpt_pci_probe() local 58 dev = rte_cryptodev_pmd_create(name, &pci_dev->device, &init_params); in cn9k_cpt_pci_probe()
|
| H A D | cn10k_cryptodev.c | 39 struct rte_cryptodev_pmd_init_params init_params = { in cn10k_cpt_pci_probe() local 58 dev = rte_cryptodev_pmd_create(name, &pci_dev->device, &init_params); in cn10k_cpt_pci_probe()
|
| /dpdk/app/test/ |
| H A D | test_hash_readwrite_lf_perf.c | 149 init_params(int rwc_lf, int use_jhash, int htm, int ext_bkt) in init_params() function 268 if (init_params(0, 0, 0, 0) != 0) in generate_keys() 712 if (init_params(rwc_lf, use_jhash, htm, ext_bkt) != 0) in test_hash_add_no_ks_lookup_hit() 779 if (init_params(rwc_lf, use_jhash, htm, ext_bkt) != 0) in test_hash_add_no_ks_lookup_miss() 848 if (init_params(rwc_lf, use_jhash, htm, ext_bkt) != 0) in test_hash_add_ks_lookup_hit_non_sp() 921 if (init_params(rwc_lf, use_jhash, htm, ext_bkt) != 0) in test_hash_add_ks_lookup_hit_sp() 995 if (init_params(rwc_lf, use_jhash, htm, ext_bkt) != 0) in test_hash_add_ks_lookup_miss() 1066 if (init_params(rwc_lf, use_jhash, htm, ext_bkt) != 0) in test_hash_multi_add_lookup() 1167 if (init_params(rwc_lf, use_jhash, htm, ext_bkt) != 0) in test_hash_add_ks_lookup_hit_extbkt() 1309 if (init_params(rwc_lf, use_jhash, htm, ext_bkt) != 0) in test_hash_rcu_qsbr_writer_perf()
|
| /dpdk/drivers/crypto/mvsam/ |
| H A D | rte_mrvl_pmd.c | 1061 struct mrvl_pmd_init_params *init_params) in cryptodev_mrvl_crypto_create() argument 1070 &init_params->common); in cryptodev_mrvl_crypto_create() 1092 internals->max_nb_qpairs = init_params->common.max_nb_queue_pairs; in cryptodev_mrvl_crypto_create() 1093 internals->max_nb_sessions = init_params->max_nb_sessions; in cryptodev_mrvl_crypto_create() 1123 "Driver %s: %s failed!", init_params->common.name, __func__); in cryptodev_mrvl_crypto_create() 1224 struct mrvl_pmd_init_params init_params = { in cryptodev_mrvl_crypto_init() local 1244 ret = mrvl_pmd_parse_input_args(&init_params, args); in cryptodev_mrvl_crypto_init() 1251 return cryptodev_mrvl_crypto_create(name, vdev, &init_params); in cryptodev_mrvl_crypto_init()
|
| /dpdk/drivers/net/igc/base/ |
| H A D | igc_api.c | 558 if (hw->mac.ops.init_params) { in igc_init_mac_params() 559 ret_val = hw->mac.ops.init_params(hw); in igc_init_mac_params() 584 if (hw->nvm.ops.init_params) { in igc_init_nvm_params() 585 ret_val = hw->nvm.ops.init_params(hw); in igc_init_nvm_params() 610 if (hw->phy.ops.init_params) { in igc_init_phy_params() 611 ret_val = hw->phy.ops.init_params(hw); in igc_init_phy_params() 636 if (hw->mbx.ops.init_params) { in igc_init_mbx_params() 637 ret_val = hw->mbx.ops.init_params(hw); in igc_init_mbx_params()
|
| H A D | igc_hw.h | 686 s32 (*init_params)(struct igc_hw *hw); member 732 s32 (*init_params)(struct igc_hw *hw); member 763 s32 (*init_params)(struct igc_hw *hw); member 896 s32 (*init_params)(struct igc_hw *hw); member
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_vf_representor.c | 479 i40e_vf_representor_init(struct rte_eth_dev *ethdev, void *init_params) in i40e_vf_representor_init() argument 488 ((struct i40e_vf_representor *)init_params)->vf_id; in i40e_vf_representor_init() 490 ((struct i40e_vf_representor *)init_params)->switch_domain_id; in i40e_vf_representor_init() 492 ((struct i40e_vf_representor *)init_params)->adapter; in i40e_vf_representor_init()
|
| /dpdk/drivers/compress/isal/ |
| H A D | isal_compress_pmd.c | 682 struct rte_compressdev_pmd_init_params *init_params) in compdev_isal_create() argument 687 sizeof(struct isal_comp_private), init_params); in compdev_isal_create() 726 struct rte_compressdev_pmd_init_params init_params = { in compdev_isal_probe() local 739 retval = rte_compressdev_pmd_parse_input_args(&init_params, args); in compdev_isal_probe() 746 return compdev_isal_create(name, dev, &init_params); in compdev_isal_probe()
|
| /dpdk/drivers/net/pfe/ |
| H A D | pfe_ethdev.c | 942 struct pfe_vdev_init_params init_params = { in pmd_pfe_probe() local 947 rc = pfe_parse_vdev_init_params(&init_params, vdev); in pmd_pfe_probe() 952 name, init_params.gem_id); in pmd_pfe_probe() 1074 if (init_params.gem_id < 0) in pmd_pfe_probe() 1077 gem_id = init_params.gem_id; in pmd_pfe_probe() 1080 name, gem_id, init_params.gem_id); in pmd_pfe_probe()
|
| /dpdk/drivers/baseband/la12xx/ |
| H A D | bbdev_la12xx.c | 985 struct bbdev_la12xx_params *init_params) in la12xx_bbdev_create() argument 1007 priv->modem_id = init_params->modem_id; in la12xx_bbdev_create() 1016 priv->max_nb_queues = init_params->queues_num; in la12xx_bbdev_create() 1048 struct bbdev_la12xx_params init_params = { in la12xx_bbdev_probe() local 1064 parse_bbdev_la12xx_params(&init_params, input_args); in la12xx_bbdev_probe() 1066 return la12xx_bbdev_create(vdev, &init_params); in la12xx_bbdev_probe()
|
| /dpdk/drivers/compress/octeontx/ |
| H A D | otx_zip_pmd.c | 566 struct rte_compressdev_pmd_init_params init_params = { in zip_pci_probe() local 579 &pci_dev->device, sizeof(struct zip_vf), &init_params); in zip_pci_probe() 581 ZIP_PMD_ERR("driver %s: create failed", init_params.name); in zip_pci_probe()
|
| /dpdk/drivers/net/octeontx/ |
| H A D | octeontx_ethdev.c | 1489 struct octeontx_vdev_init_params init_params = { in octeontx_probe() local 1509 res = octeontx_parse_vdev_init_params(&init_params, dev); in octeontx_probe() 1513 if (init_params.nr_port > OCTEONTX_VDEV_DEFAULT_MAX_NR_PORT) { in octeontx_probe() 1514 octeontx_log_err("nr_port (%d) > max (%d)", init_params.nr_port, in octeontx_probe() 1525 if (tx_vfcnt < init_params.nr_port) { in octeontx_probe() 1527 tx_vfcnt, init_params.nr_port); in octeontx_probe() 1603 for (i = 0; i < init_params.nr_port; i++) { in octeontx_probe()
|