Message ID | 20250224093915.1253215-5-ndabilpuram@marvell.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Thomas Monjalon |
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]) by inbox.dpdk.org (Postfix) with ESMTP id B66AA462A9; Mon, 24 Feb 2025 10:39:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F1A94067A; Mon, 24 Feb 2025 10:39:37 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 41E9C4069F for <dev@dpdk.org>; Mon, 24 Feb 2025 10:39:36 +0100 (CET) Received: from pps.filterd (m0431383.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51O9ZKKZ016276 for <dev@dpdk.org>; Mon, 24 Feb 2025 01:39:35 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pfpt0220; bh=T /o0olEPM/5W0enuR2XND/cer6kuqACn6Hca/SeiXVQ=; b=OGr+r8Vlwu8EVvZy/ TpK7hb+A1ImK4+/8/A1UzFJprgPjO1bFOKDiNUXlmvWE/NI8wmzxF58geeIiHACL T8JByGr4t5ekYHIl9asVzvIGa555rbasqQpZUzMmnyA77r4+0UJycP/aDW/vMfSu IBtzZceVt5Km8XWeFPfdExtQIwdlgG3GXvKOvm6n3cypsJJ4dZWM5FFn39vom7Ub VFG2oGj4LSDbNieB/RGNxY09k9dNHrPgCr7Q2+nXPbagEetFC29gHlxcRudRJHIx aR8OLTPlNMXZI7GqVqRWQVkophB+09WSxhb1uua67FwhQRfKH5ME108RDbS7CNu7 ylkyg== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 450p9300ad-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <dev@dpdk.org>; Mon, 24 Feb 2025 01:39:35 -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; Mon, 24 Feb 2025 01:39:34 -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; Mon, 24 Feb 2025 01:39:34 -0800 Received: from hyd1588t430.caveonetworks.com (unknown [10.29.52.204]) by maili.marvell.com (Postfix) with ESMTP id 664623F705D; Mon, 24 Feb 2025 01:39:31 -0800 (PST) From: Nithin Dabilpuram <ndabilpuram@marvell.com> To: <jerinj@marvell.com>, Nithin Dabilpuram <ndabilpuram@marvell.com>, "Kiran Kumar K" <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao <skoteshwar@marvell.com>, Harman Kalra <hkalra@marvell.com> CC: <dev@dpdk.org>, Anoob Joseph <anoobj@marvell.com> Subject: [PATCH v2 05/33] common/cnxk: add cn20k CPT result struct Date: Mon, 24 Feb 2025 15:08:47 +0530 Message-ID: <20250224093915.1253215-5-ndabilpuram@marvell.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250224093915.1253215-1-ndabilpuram@marvell.com> References: <20250131080530.3224977-1-ndabilpuram@marvell.com> <20250224093915.1253215-1-ndabilpuram@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: 8pdZJS36gJw2TT7gI7HR89JxbakN2Cc7 X-Proofpoint-GUID: 8pdZJS36gJw2TT7gI7HR89JxbakN2Cc7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-24_04,2025-02-24_01,2024-11-22_01 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>, <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>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
[v2,01/33] net/cnxk: allow duplicate SPI in outbound IPsec
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Nithin Dabilpuram
Feb. 24, 2025, 9:38 a.m. UTC
From: Anoob Joseph <anoobj@marvell.com> CPT result structure is same as in cn10k. Add entry for cn20k. Signed-off-by: Anoob Joseph <anoobj@marvell.com> --- drivers/common/cnxk/hw/cpt.h | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/drivers/common/cnxk/hw/cpt.h b/drivers/common/cnxk/hw/cpt.h index 47df3fbf9f..b308a18f0d 100644 --- a/drivers/common/cnxk/hw/cpt.h +++ b/drivers/common/cnxk/hw/cpt.h @@ -289,6 +289,16 @@ struct cpt_inst_s { }; union cpt_res_s { + struct cpt_cn20k_res_s { + uint64_t compcode : 7; + uint64_t doneint : 1; + uint64_t uc_compcode : 8; + uint64_t rlen : 16; + uint64_t spi : 32; + + uint64_t esn; + } cn20k; + struct cpt_cn10k_res_s { uint64_t compcode : 7; uint64_t doneint : 1;