Message ID | 20220207072932.22409-1-ndabilpuram@marvell.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Delegated to: | Jerin Jacob |
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 C62B7A034F; Mon, 7 Feb 2022 08:30:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5693240685; Mon, 7 Feb 2022 08:30:12 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id DC60B4067C for <dev@dpdk.org>; Mon, 7 Feb 2022 08:30:10 +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 216LsOhC030467 for <dev@dpdk.org>; Sun, 6 Feb 2022 23:30:08 -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-type; s=pfpt0220; bh=hJHhXwfnAnqHPWAP9/xCVQpvyBlyCywGGy7I/nGhWAg=; b=Q0O2p3D/FKtmQIYhEB0b2bthbEtmsiInekKyA+JhUK2jChU+cgbhBPJDv6EhMoT5tUW4 YTEuSTBfLsX+Xi0n6CGjcz2iGjwo1yD7r1xkk4ZIjMY4hnBaDNIEEO4SeI/LeGcJB5lx DBhNnYVzsXOzEPs5bmoTNhJMDqeKQrkY7CPruH1pAwy2pBOngaFcdwSxP8vvlduxtbw4 Htm2aEw4ij6Jwm+XvM3OZc7KM/fZLpUja9jFyoGi09Iifotrgf0SZMeAIeAR3uuD0Onn mkS4NIe2eS/HEDwz5ELbtn9C/Vfx0K0UYm0l2ALgrUkGylMjpSK314Q83KVf77z9E2F8 bg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3e1smr4p28-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <dev@dpdk.org>; Sun, 06 Feb 2022 23:30:08 -0800 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.18; Sun, 6 Feb 2022 23:29:49 -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; Sun, 6 Feb 2022 23:29:49 -0800 Received: from hyd1588t430.marvell.com (unknown [10.29.52.204]) by maili.marvell.com (Postfix) with ESMTP id 2ED493F705C; Sun, 6 Feb 2022 23:29:46 -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> CC: <dev@dpdk.org> Subject: [PATCH 01/20] common/cnxk: increase resource count for bitmap alloc Date: Mon, 7 Feb 2022 12:59:13 +0530 Message-ID: <20220207072932.22409-1-ndabilpuram@marvell.com> X-Mailer: git-send-email 2.8.4 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-GUID: DoSDly1atVzS_-iDq59DaBC0SZf4omfM X-Proofpoint-ORIG-GUID: DoSDly1atVzS_-iDq59DaBC0SZf4omfM 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-07_02,2022-02-03_01,2021-12-02_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 |
[01/20] common/cnxk: increase resource count for bitmap alloc
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
ci/iol-testing | warning | apply patch failure |
Commit Message
Nithin Dabilpuram
Feb. 7, 2022, 7:29 a.m. UTC
From: Satha Rao <skoteshwar@marvell.com> CN10K supports up to 832 resources at SMQ level, so increase bitmap count to 1024. Signed-off-by: Satha Rao <skoteshwar@marvell.com> --- Depends-on: Series-20935 ("common/cnxk: use XAQ create API for inline device") Depends-on: Series-20934 ("common/cnxk: add workaround for vWQE flush") drivers/common/cnxk/roc_nix_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Mon, Feb 7, 2022 at 1:00 PM Nithin Dabilpuram <ndabilpuram@marvell.com> wrote: > > From: Satha Rao <skoteshwar@marvell.com> > > CN10K supports up to 832 resources at SMQ level, so increase > bitmap count to 1024. > > Signed-off-by: Satha Rao <skoteshwar@marvell.com> Please rebase to next-net-mrvl and fix the following checkpatch issues. [for-next-net]dell[dpdk-next-net-mrvl] $ git pw series apply 21483 Failed to apply patch: Applying: common/cnxk: increase resource count for bitmap alloc Applying: common/cnxk: realloc inline device XAQ AURA Applying: common/cnxk: adjust shaper rates to lower boundaries Applying: common/cnxk: support inline device API without ROC NIX Applying: common/cnxk: use common SA init API for default options error: sha1 information is lacking or useless (drivers/common/cnxk/version.map). error: could not build fake ancestor hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0005 common/cnxk: use common SA init API for default options When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". check patch issues: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #2065: FILE: drivers/net/cnxk/cn10k_rx.h:963: + roc_npa_aura_handle_to_aura( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #2092: FILE: drivers/net/cnxk/cn10k_rx.h:987: + roc_npa_aura_handle_to_aura( total: 0 errors, 0 warnings, 3 checks, 2235 lines checked > --- > > Depends-on: Series-20935 ("common/cnxk: use XAQ create API for inline device") > Depends-on: Series-20934 ("common/cnxk: add workaround for vWQE flush") > 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 */ > -- > 2.8.4 >
On Mon, Feb 7, 2022 at 1:00 PM Nithin Dabilpuram <ndabilpuram@marvell.com> wrote: > > From: Satha Rao <skoteshwar@marvell.com> > > CN10K supports up to 832 resources at SMQ level, so increase > bitmap count to 1024. > > Signed-off-by: Satha Rao <skoteshwar@marvell.com> > --- Please change the subject as common/cnxk: increase SMQ resource count > Depends-on: Series-20935 ("common/cnxk: use XAQ create API for inline device") > Depends-on: Series-20934 ("common/cnxk: add workaround for vWQE flush") > 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 */ > -- > 2.8.4 >
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 */