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 F41A2A04A2 for ; Thu, 3 Mar 2022 05:15:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CBE4440141; Thu, 3 Mar 2022 05:15:30 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 141EE40141 for ; Thu, 3 Mar 2022 05:15:28 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 2233toR0004026 for ; Wed, 2 Mar 2022 20:15:28 -0800 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=3/gMJ106o9933WIMTSbHAKFmbj04sVObzQmmjshK3oM=; b=Y9xgu9Af2+NSsN52y+aJW8LKahpE0Nzg5ims0OB6TFPUIOzqeNODkx4G+bS90WM3IkFz q3+vuGT1z7WjhCKCVTM9sypSJCS+1EjL/j2pCysWNB2MS5tC9Q3aBPee9DkQU947L2mq G5BRQpbYZfpeAQdbuDK7ZXYoOMLpm/yNUKvcemaCQtvr/KGb9mhPRZEqk8tZCt4Opu4l altF3Y/eejfHMLrHEnFxbiQw48mgwj5PQPqfHNeUgQ9YS9GyaniF6IV4X++iku8XXMCK qsH+BLu/+ZFgVIs1hHxGFPUURNDOF8tGGRzXNRC5rF/d8z5Y+BACAFsYALDfLBuDHEkQ Mw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ej4vfcyvs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Wed, 02 Mar 2022 20:15:28 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 2 Mar 2022 20:15:26 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Wed, 2 Mar 2022 20:15:26 -0800 Received: from localhost.localdomain (unknown [10.28.34.15]) by maili.marvell.com (Postfix) with ESMTP id C7BDE3F7142; Wed, 2 Mar 2022 20:15:24 -0800 (PST) From: To: Jerin Jacob , Nithin Dabilpuram CC: , Kiran Kumar K Subject: [PATCH 20.11] common/octeontx2: update mailbox version to 0xb Date: Thu, 3 Mar 2022 09:45:13 +0530 Message-ID: <20220303041513.514697-1-kirankumark@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: WzJkDLFNUMlFOcLL3u99KNLB_sInYoNm X-Proofpoint-GUID: WzJkDLFNUMlFOcLL3u99KNLB_sInYoNm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-03-03_01,2022-02-26_01,2022-02-23_01 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org From: Kiran Kumar K Sync mailbox definition with AF kernel driver. Signed-off-by: Kiran Kumar K --- drivers/common/octeontx2/otx2_mbox.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/common/octeontx2/otx2_mbox.h b/drivers/common/octeontx2/otx2_mbox.h index 51b25ab422..781c18180d 100644 --- a/drivers/common/octeontx2/otx2_mbox.h +++ b/drivers/common/octeontx2/otx2_mbox.h @@ -90,7 +90,7 @@ struct mbox_msghdr { #define OTX2_MBOX_RSP_SIG (0xbeef) /* Signature, for validating corrupted msgs */ uint16_t __otx2_io sig; -#define OTX2_MBOX_VERSION (0x000a) +#define OTX2_MBOX_VERSION (0x000b) /* Version of msg's structure for this ID */ uint16_t __otx2_io ver; /* Offset of next msg within mailbox region */ @@ -368,6 +368,15 @@ struct npc_set_pkind { #define PKIND_RX BIT_ULL(1) uint8_t __otx2_io dir; uint8_t __otx2_io pkind; /* valid only in case custom flag */ + uint8_t __otx2_io var_len_off; + /* Offset of custom header length field. + * Valid only for pkind NPC_RX_CUSTOM_PRE_L2_PKIND + */ + uint8_t __otx2_io var_len_off_mask; /* Mask for length with in offset */ + uint8_t __otx2_io shift_dir; + /* Shift direction to get length of the + * header at var_len_off + */ }; /* Structure for requesting resource provisioning. -- 2.25.1