Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/122446 _apply patch failure_ Submitter: Naga Harish K, S V Date: Monday, January 23 2023 18:04:58 Applied on: CommitID:2a211079a92e962bbd0ec81e425a6ffc32890e67 Apply patch set 122446-122448 failed: Checking patch app/test/test_event_crypto_adapter.c... Checking patch doc/guides/prog_guide/event_crypto_adapter.rst... Checking patch lib/eventdev/rte_event_crypto_adapter.c... Checking patch lib/eventdev/rte_event_crypto_adapter.h... error: while searching for: int rte_event_crypto_adapter_event_port_get(uint8_t id, uint8_t *event_port_id); /** * @warning * @b EXPERIMENTAL: this API may change without prior notice error: patch failed: lib/eventdev/rte_event_crypto_adapter.h:608 Checking patch lib/eventdev/version.map... Hunk #1 succeeded at 120 (offset -1 lines). Applied patch app/test/test_event_crypto_adapter.c cleanly. Applied patch doc/guides/prog_guide/event_crypto_adapter.rst cleanly. Applied patch lib/eventdev/rte_event_crypto_adapter.c cleanly. Applying patch lib/eventdev/rte_event_crypto_adapter.h with 1 reject... Hunk #1 applied cleanly. Hunk #2 applied cleanly. Rejected hunk #3. Applied patch lib/eventdev/version.map cleanly. diff a/lib/eventdev/rte_event_crypto_adapter.h b/lib/eventdev/rte_event_crypto_adapter.h (rejected hunks) @@ -608,6 +623,50 @@ rte_event_crypto_adapter_service_id_get(uint8_t id, uint32_t *service_id); int rte_event_crypto_adapter_event_port_get(uint8_t id, uint8_t *event_port_id); +/** + * Set the adapter runtime configuration parameters + * + * This API needs to be called after adding at least one qp to the adapter + * and is supported only for the service-based adapter. + * + * @param id + * Adapter identifier + * + * @param params + * A pointer to structure of type struct rte_event_crypto_adapter_runtime_params + * with configuration parameter values. + * + * @return + * - 0: Success + * - <0: Error code on failure + */ +__rte_experimental +int +rte_event_crypto_adapter_runtime_params_set(uint8_t id, + struct rte_event_crypto_adapter_runtime_params *params); + +/** + * Get the adapter runtime configuration parameters + * + * This API needs to be called after adding at least one qp to the adapter + * and is supported only for the service-based adapter. + * + * @param id + * Adapter identifier + * + * @param[out] params + * A pointer to structure of type struct rte_event_crypto_adapter_runtime_params + * containing valid adapter parameters when return value is 0 + * + * @return + * - 0: Success + * - <0: Error code on failure + */ +__rte_experimental +int +rte_event_crypto_adapter_runtime_params_get(uint8_t id, + struct rte_event_crypto_adapter_runtime_params *params); + /** * @warning * @b EXPERIMENTAL: this API may change without prior notice https://lab.dpdk.org/results/dashboard/patchsets/25058/ UNH-IOL DPDK Community Lab