From patchwork Mon Aug 31 06:06:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nithin Dabilpuram X-Patchwork-Id: 76170 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CFE4DA04AB; Mon, 31 Aug 2020 08:06:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 17761137D; Mon, 31 Aug 2020 08:06:32 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 42F6CDE0; Mon, 31 Aug 2020 08:06:31 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 07V5o9er002705; Sun, 30 Aug 2020 23:06:30 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0220; bh=0WBAgjxSvGC3cIE7MCU0wbvvm/zM1x/p7fO/fSWsS+0=; b=PvMmf5uRRMFJKxG9LmPgYEfolaF+wv3PrPulR15tBKVMpLi5YWH1fEz7jshMgdlJmNRD ZKOzL/Caz573jDvkNwzcnfRc6fWp1HQ/uP3PKOmamDuh+zFyqVDwN+Q1F/D+P487musJ WDw2ZE+KelausJJIHhKeyZKH43lplUSlQXFdLqJZVNYyKawZjQ397du/zMgWZSq4pRfY rcaLkhxqeBMuOKyKxqNxKzC+TkDag8+rStQuYVibcU9jYiitoHuDiVFGWEVTRw8LAAxD UObjYZ895C8TaS/RlBOnTytrZ/tbRdAUGOggWml6KKcvDfH/Rbz7NdEAU0Is/XxzqnxN zA== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 337mcpysuc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 30 Aug 2020 23:06:30 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 30 Aug 2020 23:06:29 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 30 Aug 2020 23:06:28 -0700 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.2 via Frontend Transport; Sun, 30 Aug 2020 23:06:28 -0700 Received: from hyd1588t430.marvell.com (unknown [10.29.52.204]) by maili.marvell.com (Postfix) with ESMTP id DDD093F703F; Sun, 30 Aug 2020 23:06:26 -0700 (PDT) From: Nithin Dabilpuram To: Jerin Jacob , Nithin Dabilpuram CC: , Date: Mon, 31 Aug 2020 11:36:22 +0530 Message-ID: <20200831060622.20916-1-ndabilpuram@marvell.com> X-Mailer: git-send-email 2.8.4 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-08-31_01:2020-08-28, 2020-08-31 signatures=0 Subject: [dpdk-dev] [PATCH] common/octeontx2: upgrade mbox definition to version 8 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Sync mail box data structures to version 0x0008 to that of kernel AF driver. Cc: stable@dpdk.org Signed-off-by: Nithin Dabilpuram --- drivers/common/octeontx2/otx2_mbox.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/common/octeontx2/otx2_mbox.h b/drivers/common/octeontx2/otx2_mbox.h index 34b1d06..f39c14e 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 (0x0007) +#define OTX2_MBOX_VERSION (0x0008) /* Version of msg's structure for this ID */ uint16_t __otx2_io ver; /* Offset of next msg within mailbox region */ @@ -767,6 +767,7 @@ struct nix_lf_alloc_rsp { uint8_t __otx2_io cgx_links; /* No. of CGX links present in HW */ uint8_t __otx2_io lbk_links; /* No. of LBK links present in HW */ uint8_t __otx2_io sdp_links; /* No. of SDP links present in HW */ + uint8_t __otx2_io tx_link; /* Transmit channel link number */ }; struct nix_lf_free_req {