From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 21DB6A051C;
	Sat, 18 Jan 2020 11:49:44 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id D590A2F4F;
	Sat, 18 Jan 2020 11:49:40 +0100 (CET)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com
 [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 70A7A2C6E
 for <dev@dpdk.org>; Sat, 18 Jan 2020 11:49:39 +0100 (CET)
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1])
 by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id
 00IAmMHj018888; Sat, 18 Jan 2020 02:49:38 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;
 h=from : to : cc :
 subject : date : message-id : in-reply-to : references : mime-version :
 content-transfer-encoding : content-type; s=pfpt0818;
 bh=ZzY3S/QTotqInCHyWcBWdcTD7JEH2pT7NBq75ffP+8Q=;
 b=VDrxJgXeVS7ou1/edxydaDswrAraGBWjBT4KW4lTxHUYvMKuv0pdSBC6k6u2/2ityGI3
 98QEBeT/I8ftJqRTZv+deoduYeAq7Ahnh8Y5fC219duANNBJ5JrUOKZ/l0Nj2tj3sSMq
 E5DpdFz9k/jTCKwG3J4ZejtrKSnjkjkU4C12uGQP9v2WO8mBP1iTKJyE2K3Y9nDN/UNh
 QN9ig3Bdau6asdHmYQwxR6b/16FEu0UaPcFAO0kPbYfJgPohN3xuaT6V0m3Yx9LRmt2u
 1MAC26RiEcAZlpLFY3c1f5MjNbNmBf6t2wtjD0YzBczoABKvEPqwe1H7Rzun+Sgvsqth ug== 
Received: from sc-exch02.marvell.com ([199.233.58.182])
 by mx0b-0016f401.pphosted.com with ESMTP id 2xk0sn6edv-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);
 Sat, 18 Jan 2020 02:49:38 -0800
Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com
 (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 18 Jan
 2020 02:49:36 -0800
Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com
 (10.93.176.81) with Microsoft SMTP Server id 15.0.1497.2 via Frontend
 Transport; Sat, 18 Jan 2020 02:49:36 -0800
Received: from ajoseph83.caveonetworks.com (unknown [10.29.45.60])
 by maili.marvell.com (Postfix) with ESMTP id 42ED73F703F;
 Sat, 18 Jan 2020 02:49:32 -0800 (PST)
From: Anoob Joseph <anoobj@marvell.com>
To: Akhil Goyal <akhil.goyal@nxp.com>, Declan Doherty
 <declan.doherty@intel.com>, Thomas Monjalon <thomas@monjalon.net>
CC: Anoob Joseph <anoobj@marvell.com>, Jerin Jacob <jerinj@marvell.com>,
 Narayana Prasad <pathreya@marvell.com>, Kiran Kumar K
 <kirankumark@marvell.com>, Nithin Dabilpuram <ndabilpuram@marvell.com>,
 "Pavan Nikhilesh" <pbhagavatula@marvell.com>, Ankur Dwivedi
 <adwivedi@marvell.com>, Archana Muniganti <marchana@marvell.com>, Tejasree
 Kondoj <ktejasree@marvell.com>, Vamsi Attunuru <vattunuru@marvell.com>,
 "Lukasz Bartosik" <lbartosik@marvell.com>, <dev@dpdk.org>, Tejasree Kondoj
 <kondoj.tejasree@cavium.com>
Date: Sat, 18 Jan 2020 16:18:59 +0530
Message-ID: <1579344553-11428-2-git-send-email-anoobj@marvell.com>
X-Mailer: git-send-email 2.7.4
In-Reply-To: <1579344553-11428-1-git-send-email-anoobj@marvell.com>
References: <1575806094-28391-1-git-send-email-anoobj@marvell.com>
 <1579344553-11428-1-git-send-email-anoobj@marvell.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572
 definitions=2020-01-18_02:2020-01-16,
 2020-01-18 signatures=0
Subject: [dpdk-dev] [PATCH v2 01/15] common/octeontx2: add CPT LF mbox for
	inline inbound
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
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
Sender: "dev" <dev-bounces@dpdk.org>

Adding the new mbox introduced to configure CPT LF to be used for inline
inbound.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@cavium.com>
---
 drivers/common/octeontx2/otx2_mbox.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/common/octeontx2/otx2_mbox.h b/drivers/common/octeontx2/otx2_mbox.h
index e0e4e2f..70452d1 100644
--- a/drivers/common/octeontx2/otx2_mbox.h
+++ b/drivers/common/octeontx2/otx2_mbox.h
@@ -193,6 +193,8 @@ M(CPT_SET_CRYPTO_GRP,	0xA03, cpt_set_crypto_grp,			\
 			       msg_rsp)					\
 M(CPT_INLINE_IPSEC_CFG, 0xA04, cpt_inline_ipsec_cfg,			\
 			       cpt_inline_ipsec_cfg_msg, msg_rsp)	\
+M(CPT_RX_INLINE_LF_CFG, 0xBFE, cpt_rx_inline_lf_cfg,			\
+			       cpt_rx_inline_lf_cfg_msg, msg_rsp)	\
 /* NPC mbox IDs (range 0x6000 - 0x7FFF) */				\
 M(NPC_MCAM_ALLOC_ENTRY,	0x6000, npc_mcam_alloc_entry,			\
 				npc_mcam_alloc_entry_req,		\
@@ -1202,6 +1204,11 @@ struct cpt_inline_ipsec_cfg_msg {
 	uint16_t __otx2_io nix_pf_func; /* Outbound path NIX_PF_FUNC */
 };
 
+struct cpt_rx_inline_lf_cfg_msg {
+	struct mbox_msghdr hdr;
+	uint16_t __otx2_io sso_pf_func;
+};
+
 /* NPC mbox message structs */
 
 #define NPC_MCAM_ENTRY_INVALID	0xFFFF
-- 
2.7.4