From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7E302A0553; Fri, 10 Jun 2022 11:24:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2586A4069C; Fri, 10 Jun 2022 11:24:46 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 00EC040689 for ; Fri, 10 Jun 2022 11:24:44 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25A6vZnR008157 for ; Fri, 10 Jun 2022 02:24:44 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=2D7no1XrPrcbOxpvB9H93biEFp+QTXGFnBdArfCOZgk=; b=VteZVfGKomKa1ZUyeJiu9uT5/TGR9Dg6WEo4cgvLu7cWaachBBDuE5ZDfWI841wl7Qqv 9AmgSxG/3BrMHDSvAnV1gYvbhcGviiELh7fMtgUxJ/WqTBpWWAcjIjn2v615yjkhpSzl UpXq+YeJovGWiVWM2knzd13MdEbnzLg3C2+TPrW78DriNR2jKlaFdEACl/jhffNo79Gk +r4tjJVKbnDkl3Rsw5LdllnbaKgDleAOqiP3I6Y7RPbwEXtcUUyoqkEPtV9iVaUe0GH8 f3Uu2PPQseKr9+1/QJj/KkbaaO97TJJtM3LGB5s+AQSDJLwlFgtDYWya/1cy3/wlydyY JQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3gm155gfvy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Fri, 10 Jun 2022 02:24:43 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 10 Jun 2022 02:24:42 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 10 Jun 2022 02:24:42 -0700 Received: from HY-LT1002.marvell.com (HY-LT1002.marvell.com [10.28.176.218]) by maili.marvell.com (Postfix) with ESMTP id A6DA23F7043; Fri, 10 Jun 2022 02:24:39 -0700 (PDT) From: Anoob Joseph To: Akhil Goyal , Jerin Jacob CC: Anoob Joseph , Archana Muniganti , Tejasree Kondoj , Subject: [PATCH 1/2] crypto/octeontx: pass sub event type in event Date: Fri, 10 Jun 2022 14:54:29 +0530 Message-ID: <1654853070-235-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: Qb1TFmZhhK_tgJuqkfARxsV3WqEkFw-7 X-Proofpoint-ORIG-GUID: Qb1TFmZhhK_tgJuqkfARxsV3WqEkFw-7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.517,FMLib:17.11.64.514 definitions=2022-06-10_02,2022-06-09_02,2022-02-23_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 Kollanukkaran --- 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 914b17d..7aee67a 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.7.4