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 A2CF945DFF; Mon, 2 Dec 2024 07:49:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4246A402A7; Mon, 2 Dec 2024 07:49:13 +0100 (CET) Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id DC94F40285; Mon, 2 Dec 2024 07:49:11 +0100 (CET) Received: from pps.filterd (m0431384.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4B23Gu1L001438; Sun, 1 Dec 2024 22:49:10 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=pfpt0220; bh=dyymYEae16gSZ2/H/8HEhfc u0hC1cUChOj3J5o/C+T8=; b=KNRIfgzZBk20TJe4toleOhYqhwVwJ2ZkrvgzKhy KfrV7WxxsFLVvB7N9YXCw9cSCkTyo4ts6MRfDigPc64QQtz8qpVFu+j8GKCHobH2 2dXkpWiyGaMk7Evqm3P2HnAgIALTirzy9AGA21OrIPfIM+zfSml0fiVbauTZXXmJ FpScKxQ/wCJjwqVugYbe0ToykuNeCOXclr2O3JmVJNVJv3hUiJDUTnYFygCK1ZLb kghbuAiVfw366c5yc89XC2t01UfEXlEgEF3CamKxr5yDzX/W4J55DahuKKm5rckx uuNkk0zcr8vnYS15oaClS6LMU1dSnkNIcgAKafqlelDQpUQ== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 4394ukg9xy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 01 Dec 2024 22:49:10 -0800 (PST) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sun, 1 Dec 2024 22:49:09 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Dec 2024 22:49:09 -0800 Received: from hyd1554.caveonetworks.com (unknown [10.29.56.32]) by maili.marvell.com (Postfix) with ESMTP id 5B3D43F706A; Sun, 1 Dec 2024 22:49:07 -0800 (PST) From: Tejasree Kondoj To: Akhil Goyal , Radu Nicolau , Volodymyr Fialko CC: Anoob Joseph , Jerin Jacob , , Subject: [PATCH] examples/ipsec-secgw: fix cryptodev and eventdev ID Date: Mon, 2 Dec 2024 12:19:06 +0530 Message-ID: <20241202064906.804328-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: UNTJGVt6-SOu62o_qUQ62iu3R0hvmL3Z X-Proofpoint-GUID: UNTJGVt6-SOu62o_qUQ62iu3R0hvmL3Z X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.687,Hydra:6.0.235,FMLib:17.0.607.475 definitions=2020-10-13_15,2020-10-13_02,2020-04-07_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 Fixing cryptodev and eventdev ID numbers. Fixes: 0dbe550a4af5 ("examples/ipsec-secgw: initialize event crypto adapter") Cc: stable@dpdk.org Signed-off-by: Tejasree Kondoj --- examples/ipsec-secgw/event_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ipsec-secgw/event_helper.c b/examples/ipsec-secgw/event_helper.c index 89fb7e62a5..5d8ce4df0b 100644 --- a/examples/ipsec-secgw/event_helper.c +++ b/examples/ipsec-secgw/event_helper.c @@ -881,7 +881,7 @@ eh_initialize_crypto_adapter(struct eventmode_conf *em_conf) } /* Add crypto queue pairs to event crypto adapter */ - ret = rte_event_crypto_adapter_queue_pair_add(cdev_id, eventdev_id, + ret = rte_event_crypto_adapter_queue_pair_add(eventdev_id, cdev_id, -1, /* adds all the pre configured queue pairs to the instance */ &queue_conf); if (ret < 0) { -- 2.25.1