From patchwork Tue Feb 22 19:34:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nithin Dabilpuram X-Patchwork-Id: 108052 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: 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 B989CA034C; Tue, 22 Feb 2022 20:35:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 904D740DF6; Tue, 22 Feb 2022 20:35:22 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 5F65D40DF4 for ; Tue, 22 Feb 2022 20:35:21 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21MIavgq019942 for ; Tue, 22 Feb 2022 11:35:19 -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-type; s=pfpt0220; bh=f20UQvDx/frlwpUiR9iFfHLCSYeXavDR9sAKlpBW7to=; b=J+lIit0Lg5zruxVmkmQkQ9Zu9eAHUxisQWXXfbtIyJSbPzEMEpxeQBI73mhU2FOaT8Vn jLuwAQJpXzIA03tcIxNNFIisROWO9/UIwbhcoxtDKR9BTXLbnbGE/JJJSJD0A7NIdvxf BdEHLK8AiYY6kq5VMGFP5VltHJP0ZTD84VCD8lMIuH01yjKwrwLMFYnbmlxZPLvfhZng le5ctosge60SwWlt266ExBU5+KXeUbNQ2pivMsDEGUB0nOH5K2/EOlurabwylMcCqgPl x3vLKzN0+gz7yVf2wBVMTVE7xTjW+JG/ukxga82FOMlz77tOKdjFcNtohNToOZnQZvxH +w== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3ecwaxar0r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 22 Feb 2022 11:35:19 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 22 Feb 2022 11:35:18 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 22 Feb 2022 11:35:18 -0800 Received: from hyd1588t430.marvell.com (unknown [10.29.52.204]) by maili.marvell.com (Postfix) with ESMTP id 0A35B3F7092; Tue, 22 Feb 2022 11:35:15 -0800 (PST) From: Nithin Dabilpuram To: , Nithin Dabilpuram , "Kiran Kumar K" , Sunil Kumar Kori , Satha Rao CC: Subject: [PATCH v2 01/21] common/cnxk: increase SMQ resource count Date: Wed, 23 Feb 2022 01:04:52 +0530 Message-ID: <20220222193512.19292-1-ndabilpuram@marvell.com> X-Mailer: git-send-email 2.8.4 In-Reply-To: <20220207072932.22409-1-ndabilpuram@marvell.com> References: <20220207072932.22409-1-ndabilpuram@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: yj0TzVkyf98kWvahvfJIElVy9CSDhhl0 X-Proofpoint-ORIG-GUID: yj0TzVkyf98kWvahvfJIElVy9CSDhhl0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-22_06,2022-02-21_02,2021-12-02_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 From: Satha Rao CN10K supports up to 832 resources at SMQ level, so increase bitmap count to 1024. Signed-off-by: Satha Rao --- v2: - Addressed comments from Jerin on patches 1/20, 3/20, 7/20, 8/20, 10/20, 11/20, 15/20 and 20/20. - Added another patch to update documentation on environment variables - Fixed functional issues with patch 18/20. drivers/common/cnxk/roc_nix_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_nix_priv.h b/drivers/common/cnxk/roc_nix_priv.h index deb2a6b..4d2a7d8 100644 --- a/drivers/common/cnxk/roc_nix_priv.h +++ b/drivers/common/cnxk/roc_nix_priv.h @@ -31,7 +31,7 @@ struct nix_qint { }; /* Traffic Manager */ -#define NIX_TM_MAX_HW_TXSCHQ 512 +#define NIX_TM_MAX_HW_TXSCHQ 1024 #define NIX_TM_HW_ID_INVALID UINT32_MAX /* TM flags */