]> git.droids-corp.org - dpdk.git/commitdiff
crypto/octeontx: pass sub-event type in event
authorAnoob Joseph <anoobj@marvell.com>
Fri, 10 Jun 2022 09:24:29 +0000 (14:54 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 21 Jun 2022 18:04:49 +0000 (20:04 +0200)
Response info may have valid sub_event_type. Pass this to the event
generated by CPT.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Reviewed-by: Shijith Thotton <sthotton@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
drivers/crypto/octeontx/otx_cryptodev_ops.c

index 914b17decfeb8da7497bdd3578d602bf42d80401..7aee67ab09eb1ca6438f5766a3302f07dac488eb 100644 (file)
@@ -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)