From: Jerin Jacob <jerinjacobk@gmail.com>
To: Tomasz Duszynski <tduszynski@marvell.com>
Cc: dpdk-dev <dev@dpdk.org>,
Nithin Dabilpuram <ndabilpuram@marvell.com>,
Kiran Kumar K <kirankumark@marvell.com>,
Sunil Kumar Kori <skori@marvell.com>,
Satha Rao <skoteshwar@marvell.com>,
Thomas Monjalon <thomas@monjalon.net>,
Jerin Jacob <jerinj@marvell.com>
Subject: Re: [PATCH] common/cnxk: support B0 variant
Date: Fri, 25 Feb 2022 02:05:40 +0530 [thread overview]
Message-ID: <CALBAE1OSDeu39CQWvuxHhTYsBanMFhfLedf_oPf5z7px=jXhow@mail.gmail.com> (raw)
In-Reply-To: <20220224104236.1425812-1-tduszynski@marvell.com>
On Thu, Feb 24, 2022 at 4:13 PM Tomasz Duszynski <tduszynski@marvell.com> wrote:
>
> Add B0 variant to the list of supported models.
>
> Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
> Reviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
Updated the git commit as follows and applied to
dpdk-next-net-mrvl/for-next-net. Thanks
common/cnxk: support CNF95xx B0 variant
Add CNF95xx B0 variant to the list of supported models.
Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
> drivers/common/cnxk/roc_model.c | 1 +
> drivers/common/cnxk/roc_model.h | 6 ++++--
> 2 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/common/cnxk/roc_model.c b/drivers/common/cnxk/roc_model.c
> index 49617c02b7..4120029541 100644
> --- a/drivers/common/cnxk/roc_model.c
> +++ b/drivers/common/cnxk/roc_model.c
> @@ -56,6 +56,7 @@ static const struct model_db {
> {VENDOR_CAVIUM, PART_95xx, 1, 0, ROC_MODEL_CNF95xx_B0, "cnf95xx_b0"},
> {VENDOR_CAVIUM, PART_95xxN, 0, 0, ROC_MODEL_CNF95xxN_A0, "cnf95xxn_a0"},
> {VENDOR_CAVIUM, PART_95xxN, 0, 1, ROC_MODEL_CNF95xxN_A0, "cnf95xxn_a1"},
> + {VENDOR_CAVIUM, PART_95xxN, 1, 0, ROC_MODEL_CNF95xxN_B0, "cnf95xxn_b0"},
> {VENDOR_CAVIUM, PART_95O, 0, 0, ROC_MODEL_CNF95xxO_A0, "cnf95O_a0"},
> {VENDOR_CAVIUM, PART_95xxMM, 0, 0, ROC_MODEL_CNF95xxMM_A0,
> "cnf95xxmm_a0"}};
> diff --git a/drivers/common/cnxk/roc_model.h b/drivers/common/cnxk/roc_model.h
> index cee06779bc..4567566169 100644
> --- a/drivers/common/cnxk/roc_model.h
> +++ b/drivers/common/cnxk/roc_model.h
> @@ -19,6 +19,7 @@ struct roc_model {
> #define ROC_MODEL_CNF95xxN_A0 BIT_ULL(12)
> #define ROC_MODEL_CNF95xxO_A0 BIT_ULL(13)
> #define ROC_MODEL_CNF95xxN_A1 BIT_ULL(14)
> +#define ROC_MODEL_CNF95xxN_B0 BIT_ULL(15)
> #define ROC_MODEL_CN98xx_A0 BIT_ULL(16)
> #define ROC_MODEL_CN106xx_A0 BIT_ULL(20)
> #define ROC_MODEL_CNF105xx_A0 BIT_ULL(21)
> @@ -39,11 +40,12 @@ struct roc_model {
> (ROC_MODEL_CN96xx_Ax | ROC_MODEL_CN96xx_C0 | ROC_MODEL_CNF95xx_A0 | \
> ROC_MODEL_CNF95xx_B0 | ROC_MODEL_CNF95xxMM_A0 | \
> ROC_MODEL_CNF95xxO_A0 | ROC_MODEL_CNF95xxN_A0 | ROC_MODEL_CN98xx_A0 | \
> - ROC_MODEL_CNF95xxN_A1)
> + ROC_MODEL_CNF95xxN_A1 | ROC_MODEL_CNF95xxN_B0)
> #define ROC_MODEL_CNF9K \
> (ROC_MODEL_CNF95xx_A0 | ROC_MODEL_CNF95xx_B0 | \
> ROC_MODEL_CNF95xxMM_A0 | ROC_MODEL_CNF95xxO_A0 | \
> - ROC_MODEL_CNF95xxN_A0 | ROC_MODEL_CNF95xxN_A1)
> + ROC_MODEL_CNF95xxN_A0 | ROC_MODEL_CNF95xxN_A1 | \
> + ROC_MODEL_CNF95xxN_B0)
>
> #define ROC_MODEL_CN106xx (ROC_MODEL_CN106xx_A0)
> #define ROC_MODEL_CNF105xx (ROC_MODEL_CNF105xx_A0)
> --
> 2.25.1
>
next prev parent reply other threads:[~2022-02-24 20:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-24 10:42 Tomasz Duszynski
2022-02-24 20:35 ` Jerin Jacob [this message]
2022-02-25 10:03 ` Ferruh Yigit
2022-02-25 10:34 ` [dpdk-dev] [PATCH v2] common/cnxk: support CNF95xx " Tomasz Duszynski
2022-02-25 10:36 ` Jerin Jacob
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALBAE1OSDeu39CQWvuxHhTYsBanMFhfLedf_oPf5z7px=jXhow@mail.gmail.com' \
--to=jerinjacobk@gmail.com \
--cc=dev@dpdk.org \
--cc=jerinj@marvell.com \
--cc=kirankumark@marvell.com \
--cc=ndabilpuram@marvell.com \
--cc=skori@marvell.com \
--cc=skoteshwar@marvell.com \
--cc=tduszynski@marvell.com \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).