get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/91553/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 91553,
    "url": "https://patches.dpdk.org/api/patches/91553/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210415091351.1319425-3-gakhil@marvell.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20210415091351.1319425-3-gakhil@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210415091351.1319425-3-gakhil@marvell.com",
    "date": "2021-04-15T09:13:50",
    "name": "[v11,2/3] event/octeontx2: support crypto adapter forward mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "9171f9b4d9460ae7f0342bb5a9ba827b60b50c42",
    "submitter": {
        "id": 2094,
        "url": "https://patches.dpdk.org/api/people/2094/?format=api",
        "name": "Akhil Goyal",
        "email": "gakhil@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210415091351.1319425-3-gakhil@marvell.com/mbox/",
    "series": [
        {
            "id": 16403,
            "url": "https://patches.dpdk.org/api/series/16403/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16403",
            "date": "2021-04-15T09:13:48",
            "name": "Enhancements to crypto adapter forward mode",
            "version": 11,
            "mbox": "https://patches.dpdk.org/series/16403/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/91553/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/91553/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 77E58A0A0C;\n\tThu, 15 Apr 2021 11:14:20 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5AD50162146;\n\tThu, 15 Apr 2021 11:14:16 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id C3DE3162146\n for <dev@dpdk.org>; Thu, 15 Apr 2021 11:14:14 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 13F95tBH026517; Thu, 15 Apr 2021 02:14:11 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com with ESMTP id 37xcn4s0g0-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Thu, 15 Apr 2021 02:14:11 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Thu, 15 Apr 2021 02:14:10 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Thu, 15 Apr 2021 02:14:10 -0700",
            "from localhost.localdomain (unknown [10.28.36.185])\n by maili.marvell.com (Postfix) with ESMTP id 1DC143F7043;\n Thu, 15 Apr 2021 02:14:04 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=8xBvB+jLU5B+pfkg9XevhVOE1NHbEBcjBo2VPWDpcZE=;\n b=fi8Te1xOFajyJS/pKwa4++9NCOK4rn+iQhKh3X+PiA4evEReMwx62oaBbj4MLy7ivKU4\n 4uWUpwsrcvWZEiX9dJiw/hlUxk+cEmxjKjRz0cHNJBOSiCyOFawl8vdMaxYcYt+OmX8H\n kYNhZq+rk8AL7Py6HiiEWk0pVpTiYybEFRjF4cU8GaSd/quYoOLxOCSmZ0X4bP5dlu67\n b6s42Kl/TptZfGu0Dlh1H26rH0vPtS7lnM9HF6TiOEiUfvp3xI9KjoHTLjEreadGOM2I\n 2Z65D84Pxqyff6FjJIa7ZnjippMONyzEzfPeFtnjK1irMyZiCU5LLzb2Xz9qf5St2a00 sg==",
        "From": "<gakhil@marvell.com>",
        "To": "<jerinj@marvell.com>, <thomas@monjalon.net>, <dev@dpdk.org>,\n <mdr@ashroe.eu>, <david.marchand@redhat.com>",
        "CC": "<abhinandan.gujjar@intel.com>, <hemant.agrawal@nxp.com>,\n <nipun.gupta@nxp.com>, <sachin.saxena@oss.nxp.com>,\n <anoobj@marvell.com>, <matan@nvidia.com>, <roy.fan.zhang@intel.com>,\n <g.singh@nxp.com>, <erik.g.carrillo@intel.com>,\n <jay.jayatheerthan@intel.com>, <pbhagavatula@marvell.com>,\n <harry.van.haaren@intel.com>, <sthotton@marvell.com>, <gakhil@marvell.com>",
        "Date": "Thu, 15 Apr 2021 14:43:50 +0530",
        "Message-ID": "<20210415091351.1319425-3-gakhil@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210415091351.1319425-1-gakhil@marvell.com>",
        "References": "<20210414180417.1263585-2-gakhil@marvell.com>\n <20210415091351.1319425-1-gakhil@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "o5Ruw__yD7ogzFfo0fnA_5FKQ7bOqCpW",
        "X-Proofpoint-GUID": "o5Ruw__yD7ogzFfo0fnA_5FKQ7bOqCpW",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761\n definitions=2021-04-15_03:2021-04-15,\n 2021-04-15 signatures=0",
        "Subject": "[dpdk-dev] [PATCH v11 2/3] event/octeontx2: support crypto adapter\n forward mode",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Shijith Thotton <sthotton@marvell.com>\n\nAdvertise crypto adapter forward mode capability and set crypto adapter\nenqueue function in driver.\n\nSigned-off-by: Shijith Thotton <sthotton@marvell.com>\nAcked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>\n---\n drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 49 +++++++----\n drivers/event/octeontx2/otx2_evdev.c          |  5 +-\n .../event/octeontx2/otx2_evdev_crypto_adptr.c |  3 +-\n ...dptr_dp.h => otx2_evdev_crypto_adptr_rx.h} |  6 +-\n .../octeontx2/otx2_evdev_crypto_adptr_tx.h    | 83 +++++++++++++++++++\n drivers/event/octeontx2/otx2_worker.h         |  2 +-\n drivers/event/octeontx2/otx2_worker_dual.h    |  2 +-\n 7 files changed, 129 insertions(+), 21 deletions(-)\n rename drivers/event/octeontx2/{otx2_evdev_crypto_adptr_dp.h => otx2_evdev_crypto_adptr_rx.h} (93%)\n create mode 100644 drivers/event/octeontx2/otx2_evdev_crypto_adptr_tx.h",
    "diff": "diff --git a/drivers/crypto/octeontx2/otx2_cryptodev_ops.c b/drivers/crypto/octeontx2/otx2_cryptodev_ops.c\nindex fc4d5bac4..5ca16a5ae 100644\n--- a/drivers/crypto/octeontx2/otx2_cryptodev_ops.c\n+++ b/drivers/crypto/octeontx2/otx2_cryptodev_ops.c\n@@ -7,6 +7,7 @@\n #include <rte_cryptodev_pmd.h>\n #include <rte_errno.h>\n #include <rte_ethdev.h>\n+#include <rte_event_crypto_adapter.h>\n \n #include \"otx2_cryptodev.h\"\n #include \"otx2_cryptodev_capabilities.h\"\n@@ -438,15 +439,35 @@ sym_session_configure(int driver_id, struct rte_crypto_sym_xform *xform,\n \treturn -ENOTSUP;\n }\n \n-static __rte_always_inline void __rte_hot\n+static __rte_always_inline int32_t __rte_hot\n otx2_ca_enqueue_req(const struct otx2_cpt_qp *qp,\n \t\t    struct cpt_request_info *req,\n \t\t    void *lmtline,\n+\t\t    struct rte_crypto_op *op,\n \t\t    uint64_t cpt_inst_w7)\n {\n+\tunion rte_event_crypto_metadata *m_data;\n \tunion cpt_inst_s inst;\n \tuint64_t lmt_status;\n \n+\tif (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) {\n+\t\tm_data = rte_cryptodev_sym_session_get_user_data(\n+\t\t\t\t\t\top->sym->session);\n+\t\tif (m_data == NULL) {\n+\t\t\trte_pktmbuf_free(op->sym->m_src);\n+\t\t\trte_crypto_op_free(op);\n+\t\t\trte_errno = EINVAL;\n+\t\t\treturn -EINVAL;\n+\t\t}\n+\t} else if (op->sess_type == RTE_CRYPTO_OP_SESSIONLESS &&\n+\t\t   op->private_data_offset) {\n+\t\tm_data = (union rte_event_crypto_metadata *)\n+\t\t\t ((uint8_t *)op +\n+\t\t\t  op->private_data_offset);\n+\t} else {\n+\t\treturn -EINVAL;\n+\t}\n+\n \tinst.u[0] = 0;\n \tinst.s9x.res_addr = req->comp_baddr;\n \tinst.u[2] = 0;\n@@ -457,12 +478,11 @@ otx2_ca_enqueue_req(const struct otx2_cpt_qp *qp,\n \tinst.s9x.ei2 = req->ist.ei2;\n \tinst.s9x.ei3 = cpt_inst_w7;\n \n-\tinst.s9x.qord = 1;\n-\tinst.s9x.grp = qp->ev.queue_id;\n-\tinst.s9x.tt = qp->ev.sched_type;\n-\tinst.s9x.tag = (RTE_EVENT_TYPE_CRYPTODEV << 28) |\n-\t\t\tqp->ev.flow_id;\n-\tinst.s9x.wq_ptr = (uint64_t)req >> 3;\n+\tinst.u[2] = (((RTE_EVENT_TYPE_CRYPTODEV << 28) |\n+\t\t      m_data->response_info.flow_id) |\n+\t\t     ((uint64_t)m_data->response_info.sched_type << 32) |\n+\t\t     ((uint64_t)m_data->response_info.queue_id << 34));\n+\tinst.u[3] = 1 | (((uint64_t)req >> 3) << 3);\n \treq->qp = qp;\n \n \tdo {\n@@ -479,22 +499,22 @@ otx2_ca_enqueue_req(const struct otx2_cpt_qp *qp,\n \t\tlmt_status = otx2_lmt_submit(qp->lf_nq_reg);\n \t} while (lmt_status == 0);\n \n+\treturn 0;\n }\n \n static __rte_always_inline int32_t __rte_hot\n otx2_cpt_enqueue_req(const struct otx2_cpt_qp *qp,\n \t\t     struct pending_queue *pend_q,\n \t\t     struct cpt_request_info *req,\n+\t\t     struct rte_crypto_op *op,\n \t\t     uint64_t cpt_inst_w7)\n {\n \tvoid *lmtline = qp->lmtline;\n \tunion cpt_inst_s inst;\n \tuint64_t lmt_status;\n \n-\tif (qp->ca_enable) {\n-\t\totx2_ca_enqueue_req(qp, req, lmtline, cpt_inst_w7);\n-\t\treturn 0;\n-\t}\n+\tif (qp->ca_enable)\n+\t\treturn otx2_ca_enqueue_req(qp, req, lmtline, op, cpt_inst_w7);\n \n \tif (unlikely(pend_q->pending_count >= OTX2_CPT_DEFAULT_CMD_QLEN))\n \t\treturn -EAGAIN;\n@@ -598,7 +618,8 @@ otx2_cpt_enqueue_asym(struct otx2_cpt_qp *qp,\n \t\tgoto req_fail;\n \t}\n \n-\tret = otx2_cpt_enqueue_req(qp, pend_q, params.req, sess->cpt_inst_w7);\n+\tret = otx2_cpt_enqueue_req(qp, pend_q, params.req, op,\n+\t\t\t\t   sess->cpt_inst_w7);\n \n \tif (unlikely(ret)) {\n \t\tCPT_LOG_DP_ERR(\"Could not enqueue crypto req\");\n@@ -642,7 +663,7 @@ otx2_cpt_enqueue_sym(struct otx2_cpt_qp *qp, struct rte_crypto_op *op,\n \t\treturn ret;\n \t}\n \n-\tret = otx2_cpt_enqueue_req(qp, pend_q, req, sess->cpt_inst_w7);\n+\tret = otx2_cpt_enqueue_req(qp, pend_q, req, op, sess->cpt_inst_w7);\n \n \tif (unlikely(ret)) {\n \t\t/* Free buffer allocated by fill params routines */\n@@ -711,7 +732,7 @@ otx2_cpt_enqueue_sec(struct otx2_cpt_qp *qp, struct rte_crypto_op *op,\n \t\treturn ret;\n \t}\n \n-\tret = otx2_cpt_enqueue_req(qp, pend_q, req, sess->cpt_inst_w7);\n+\tret = otx2_cpt_enqueue_req(qp, pend_q, req, op, sess->cpt_inst_w7);\n \n \tif (winsz && esn) {\n \t\tseq_in_sa = ((uint64_t)esn_hi << 32) | esn_low;\ndiff --git a/drivers/event/octeontx2/otx2_evdev.c b/drivers/event/octeontx2/otx2_evdev.c\nindex cdadbb2b2..ee7a6ad51 100644\n--- a/drivers/event/octeontx2/otx2_evdev.c\n+++ b/drivers/event/octeontx2/otx2_evdev.c\n@@ -12,8 +12,9 @@\n #include <rte_mbuf_pool_ops.h>\n #include <rte_pci.h>\n \n-#include \"otx2_evdev_stats.h\"\n #include \"otx2_evdev.h\"\n+#include \"otx2_evdev_crypto_adptr_tx.h\"\n+#include \"otx2_evdev_stats.h\"\n #include \"otx2_irq.h\"\n #include \"otx2_tim_evdev.h\"\n \n@@ -311,6 +312,7 @@ SSO_TX_ADPTR_ENQ_FASTPATH_FUNC\n \t\t\t[!!(dev->tx_offloads & NIX_TX_OFFLOAD_OL3_OL4_CSUM_F)]\n \t\t\t[!!(dev->tx_offloads & NIX_TX_OFFLOAD_L3_L4_CSUM_F)];\n \t}\n+\tevent_dev->ca_enqueue = otx2_ssogws_ca_enq;\n \n \tif (dev->dual_ws) {\n \t\tevent_dev->enqueue\t\t= otx2_ssogws_dual_enq;\n@@ -473,6 +475,7 @@ SSO_TX_ADPTR_ENQ_FASTPATH_FUNC\n \t\t\t\t[!!(dev->tx_offloads &\n \t\t\t\t\t\tNIX_TX_OFFLOAD_L3_L4_CSUM_F)];\n \t\t}\n+\t\tevent_dev->ca_enqueue = otx2_ssogws_dual_ca_enq;\n \t}\n \n \tevent_dev->txa_enqueue_same_dest = event_dev->txa_enqueue;\ndiff --git a/drivers/event/octeontx2/otx2_evdev_crypto_adptr.c b/drivers/event/octeontx2/otx2_evdev_crypto_adptr.c\nindex 4e8a96cb6..2c9b347f0 100644\n--- a/drivers/event/octeontx2/otx2_evdev_crypto_adptr.c\n+++ b/drivers/event/octeontx2/otx2_evdev_crypto_adptr.c\n@@ -18,7 +18,8 @@ otx2_ca_caps_get(const struct rte_eventdev *dev,\n \tRTE_SET_USED(cdev);\n \n \t*caps = RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_QP_EV_BIND |\n-\t\tRTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_NEW;\n+\t\tRTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_NEW |\n+\t\tRTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_FWD;\n \n \treturn 0;\n }\ndiff --git a/drivers/event/octeontx2/otx2_evdev_crypto_adptr_dp.h b/drivers/event/octeontx2/otx2_evdev_crypto_adptr_rx.h\nsimilarity index 93%\nrename from drivers/event/octeontx2/otx2_evdev_crypto_adptr_dp.h\nrename to drivers/event/octeontx2/otx2_evdev_crypto_adptr_rx.h\nindex 70b63933e..9e331fdd7 100644\n--- a/drivers/event/octeontx2/otx2_evdev_crypto_adptr_dp.h\n+++ b/drivers/event/octeontx2/otx2_evdev_crypto_adptr_rx.h\n@@ -2,8 +2,8 @@\n  * Copyright (C) 2020 Marvell International Ltd.\n  */\n \n-#ifndef _OTX2_EVDEV_CRYPTO_ADPTR_DP_H_\n-#define _OTX2_EVDEV_CRYPTO_ADPTR_DP_H_\n+#ifndef _OTX2_EVDEV_CRYPTO_ADPTR_RX_H_\n+#define _OTX2_EVDEV_CRYPTO_ADPTR_RX_H_\n \n #include <rte_cryptodev.h>\n #include <rte_cryptodev_pmd.h>\n@@ -72,4 +72,4 @@ otx2_handle_crypto_event(uint64_t get_work1)\n \n \treturn (uint64_t)(cop);\n }\n-#endif /* _OTX2_EVDEV_CRYPTO_ADPTR_DP_H_ */\n+#endif /* _OTX2_EVDEV_CRYPTO_ADPTR_RX_H_ */\ndiff --git a/drivers/event/octeontx2/otx2_evdev_crypto_adptr_tx.h b/drivers/event/octeontx2/otx2_evdev_crypto_adptr_tx.h\nnew file mode 100644\nindex 000000000..ecf7eb9f5\n--- /dev/null\n+++ b/drivers/event/octeontx2/otx2_evdev_crypto_adptr_tx.h\n@@ -0,0 +1,83 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright (C) 2021 Marvell International Ltd.\n+ */\n+\n+#ifndef _OTX2_EVDEV_CRYPTO_ADPTR_TX_H_\n+#define _OTX2_EVDEV_CRYPTO_ADPTR_TX_H_\n+\n+#include <rte_cryptodev.h>\n+#include <rte_cryptodev_pmd.h>\n+#include <rte_event_crypto_adapter.h>\n+#include <rte_eventdev.h>\n+\n+#include <otx2_cryptodev_qp.h>\n+#include <otx2_worker.h>\n+\n+static inline uint16_t\n+otx2_ca_enq(uintptr_t tag_op, const struct rte_event *ev)\n+{\n+\tunion rte_event_crypto_metadata *m_data;\n+\tstruct rte_crypto_op *crypto_op;\n+\tstruct rte_cryptodev *cdev;\n+\tstruct otx2_cpt_qp *qp;\n+\tuint8_t cdev_id;\n+\tuint16_t qp_id;\n+\n+\tcrypto_op = ev->event_ptr;\n+\tif (crypto_op == NULL)\n+\t\treturn 0;\n+\n+\tif (crypto_op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) {\n+\t\tm_data = rte_cryptodev_sym_session_get_user_data(\n+\t\t\t\t\t\tcrypto_op->sym->session);\n+\t\tif (m_data == NULL)\n+\t\t\tgoto free_op;\n+\n+\t\tcdev_id = m_data->request_info.cdev_id;\n+\t\tqp_id = m_data->request_info.queue_pair_id;\n+\t} else if (crypto_op->sess_type == RTE_CRYPTO_OP_SESSIONLESS &&\n+\t\t   crypto_op->private_data_offset) {\n+\t\tm_data = (union rte_event_crypto_metadata *)\n+\t\t\t ((uint8_t *)crypto_op +\n+\t\t\t  crypto_op->private_data_offset);\n+\t\tcdev_id = m_data->request_info.cdev_id;\n+\t\tqp_id = m_data->request_info.queue_pair_id;\n+\t} else {\n+\t\tgoto free_op;\n+\t}\n+\n+\tcdev = &rte_cryptodevs[cdev_id];\n+\tqp = cdev->data->queue_pairs[qp_id];\n+\n+\tif (!ev->sched_type)\n+\t\totx2_ssogws_head_wait(tag_op);\n+\tif (qp->ca_enable)\n+\t\treturn cdev->enqueue_burst(qp, &crypto_op, 1);\n+\n+free_op:\n+\trte_pktmbuf_free(crypto_op->sym->m_src);\n+\trte_crypto_op_free(crypto_op);\n+\trte_errno = EINVAL;\n+\treturn 0;\n+}\n+\n+static uint16_t __rte_hot\n+otx2_ssogws_ca_enq(void *port, struct rte_event ev[], uint16_t nb_events)\n+{\n+\tstruct otx2_ssogws *ws = port;\n+\n+\tRTE_SET_USED(nb_events);\n+\n+\treturn otx2_ca_enq(ws->tag_op, ev);\n+}\n+\n+static uint16_t __rte_hot\n+otx2_ssogws_dual_ca_enq(void *port, struct rte_event ev[], uint16_t nb_events)\n+{\n+\tstruct otx2_ssogws_dual *ws = port;\n+\n+\tRTE_SET_USED(nb_events);\n+\n+\treturn otx2_ca_enq(ws->ws_state[!ws->vws].tag_op, ev);\n+}\n+#endif /* _OTX2_EVDEV_CRYPTO_ADPTR_TX_H_ */\ndiff --git a/drivers/event/octeontx2/otx2_worker.h b/drivers/event/octeontx2/otx2_worker.h\nindex 2b716c042..fd149be91 100644\n--- a/drivers/event/octeontx2/otx2_worker.h\n+++ b/drivers/event/octeontx2/otx2_worker.h\n@@ -10,7 +10,7 @@\n \n #include <otx2_common.h>\n #include \"otx2_evdev.h\"\n-#include \"otx2_evdev_crypto_adptr_dp.h\"\n+#include \"otx2_evdev_crypto_adptr_rx.h\"\n #include \"otx2_ethdev_sec_tx.h\"\n \n /* SSO Operations */\ndiff --git a/drivers/event/octeontx2/otx2_worker_dual.h b/drivers/event/octeontx2/otx2_worker_dual.h\nindex 72b616439..36ae4dd88 100644\n--- a/drivers/event/octeontx2/otx2_worker_dual.h\n+++ b/drivers/event/octeontx2/otx2_worker_dual.h\n@@ -10,7 +10,7 @@\n \n #include <otx2_common.h>\n #include \"otx2_evdev.h\"\n-#include \"otx2_evdev_crypto_adptr_dp.h\"\n+#include \"otx2_evdev_crypto_adptr_rx.h\"\n \n /* SSO Operations */\n static __rte_always_inline uint16_t\n",
    "prefixes": [
        "v11",
        "2/3"
    ]
}