From a662baa7e182d15edabad6229b210b51a99a8ac2 Mon Sep 17 00:00:00 2001 From: Anoob Joseph Date: Fri, 10 Jun 2022 14:54:29 +0530 Subject: [PATCH] crypto/octeontx: pass sub-event type in event Response info may have valid sub_event_type. Pass this to the event generated by CPT. Signed-off-by: Anoob Joseph Reviewed-by: Shijith Thotton Reviewed-by: Jerin Jacob --- drivers/crypto/octeontx/otx_cryptodev_ops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/octeontx/otx_cryptodev_ops.c b/drivers/crypto/octeontx/otx_cryptodev_ops.c index 914b17decf..7aee67ab09 100644 --- a/drivers/crypto/octeontx/otx_cryptodev_ops.c +++ b/drivers/crypto/octeontx/otx_cryptodev_ops.c @@ -675,6 +675,7 @@ submit_request_to_sso(struct ssows *ws, uintptr_t req, uint64_t add_work; add_work = rsp_info->flow_id | (RTE_EVENT_TYPE_CRYPTODEV << 28) | + (rsp_info->sub_event_type << 20) | ((uint64_t)(rsp_info->sched_type) << 32); if (!rsp_info->sched_type) -- 2.39.5