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 2B05EA034C; Thu, 24 Feb 2022 21:36:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA0A041143; Thu, 24 Feb 2022 21:36:08 +0100 (CET) Received: from mail-il1-f178.google.com (mail-il1-f178.google.com [209.85.166.178]) by mails.dpdk.org (Postfix) with ESMTP id 6254F4113D for ; Thu, 24 Feb 2022 21:36:07 +0100 (CET) Received: by mail-il1-f178.google.com with SMTP id z7so2701280ilb.6 for ; Thu, 24 Feb 2022 12:36:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ft60yCmbiQNlsktGa8bKeX1VSz8PRmDS0H86NXD7q+0=; b=LImv+wuBsNCIXGQh/a98eWmMZTiNBy/9d+k5vUm3LCqQOlssrhY+Gljhy3FVYrXm8l ZL7+kop6v0RxE0/dQmahUoCfDpbL/h8pRHzxDQZ4TZVhcdSP8rAhGFEFA2XEg9AirpGM HAy2rViDF/xUMs4e0f3WJ5ZAm4FuUD5AMrElH5UzqHYhbYKxhqXYXxpbuwa6Bp36Iopv PF+gz1IL1OgGf4LjXvZWRZ7BlHSnLs5VGjre6NTpJAbMuxYUWNd5NM6Ivv26fZQFFcN1 2YTfPRsz8621H4l8XZT3t9z1GJJtmyUOhRoy2Pcu39+ArZVBAO/n8fs2Bvx42R9RKJEf ZLjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ft60yCmbiQNlsktGa8bKeX1VSz8PRmDS0H86NXD7q+0=; b=vFmCGod1512V5vEan38mu8dDAmGXU5yrX132WNAS4RZCC68qJ6r3WXH2qa4BNqpR+s QmdnMHAy62GTly5KHGm0gsQMvoHJCVuttDorMswpwBy12K4NQMhOiIMxCEN4U1tqPlxW yxzFB2BR0HoyBSYFXjcpXHxXDrzCG4fVhmb8abIveMBaBg3AtKGUYSrVVnP6b4VUQBlM W+hbr0Yul71KIHzqfg/NYM01NDZy7h3aEKa/yV86HNJoUwKlHuxzu/bsxi/51QUsZ2pA SSWL+y/rIijRZoXGFlyZa1f90x5pZkNNj2BperFBWj0IuZ/rZbV2GgUEvsi7AzyZBV1B 63Vw== X-Gm-Message-State: AOAM533ii+jBL6dxK7akbn7SPN+Qy0Vmocr6GiUM8k1NXVSXyTlQ5frr 9ZfGOJzGHh4lakOGyhF4TRQu644znxts017F9o0= X-Google-Smtp-Source: ABdhPJwIsXJx+944rscfZRRGUYKVe+JvRLqdk4RPQ8+1NbX/AWbGfO9UX1wgecC+HY4doabqm1vxtoQczqyxFxbqXaw= X-Received: by 2002:a92:2603:0:b0:2bf:86bc:f860 with SMTP id n3-20020a922603000000b002bf86bcf860mr3797016ile.75.1645734966587; Thu, 24 Feb 2022 12:36:06 -0800 (PST) MIME-Version: 1.0 References: <20220224104236.1425812-1-tduszynski@marvell.com> In-Reply-To: <20220224104236.1425812-1-tduszynski@marvell.com> From: Jerin Jacob Date: Fri, 25 Feb 2022 02:05:40 +0530 Message-ID: Subject: Re: [PATCH] common/cnxk: support B0 variant To: Tomasz Duszynski Cc: dpdk-dev , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Thomas Monjalon , Jerin Jacob Content-Type: text/plain; charset="UTF-8" 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 On Thu, Feb 24, 2022 at 4:13 PM Tomasz Duszynski wrote: > > Add B0 variant to the list of supported models. > > Signed-off-by: Tomasz Duszynski > Reviewed-by: Jerin Jacob Kollanukkaran 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 Reviewed-by: Jerin Jacob > 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 >