MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_cryptodev_pmd_probing_finish

Function rte_cryptodev_pmd_probing_finish

dpdk/lib/cryptodev/cryptodev_pmd.c:174–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174void
175rte_cryptodev_pmd_probing_finish(struct rte_cryptodev *cryptodev)
176{
177 if (cryptodev == NULL)
178 return;
179 /*
180 * for secondary process, at that point we expect device
181 * to be already 'usable', so shared data and all function
182 * pointers for fast-path devops have to be setup properly
183 * inside rte_cryptodev.
184 */
185 if (rte_eal_process_type() == RTE_PROC_SECONDARY)
186 cryptodev_fp_ops_set(rte_crypto_fp_ops +
187 cryptodev->data->dev_id, cryptodev);
188}
189
190static uint16_t
191dummy_crypto_enqueue_burst(__rte_unused void *qp,

Callers 15

crypto_virtio_createFunction · 0.85
cryptodev_null_createFunction · 0.85
cryptodev_openssl_createFunction · 0.85
bcmfs_sym_dev_createFunction · 0.85
otx_cpt_pci_probeFunction · 0.85
mlx5_crypto_dev_probeFunction · 0.85
nitrox_sym_pmd_createFunction · 0.85
uadk_cryptodev_probeFunction · 0.85
ipsec_mb_createFunction · 0.85

Calls 2

rte_eal_process_typeFunction · 0.85
cryptodev_fp_ops_setFunction · 0.85

Tested by

no test coverage detected