| 172 | } |
| 173 | |
| 174 | void |
| 175 | rte_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 | |
| 190 | static uint16_t |
| 191 | dummy_crypto_enqueue_burst(__rte_unused void *qp, |
no test coverage detected