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 AED81A034F; Wed, 31 Mar 2021 19:58:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6CBBE140F1F; Wed, 31 Mar 2021 19:58:35 +0200 (CEST) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mails.dpdk.org (Postfix) with ESMTP id 50AC3140F1D for ; Wed, 31 Mar 2021 19:58:34 +0200 (CEST) Received: by mail-pj1-f43.google.com with SMTP id s21so9926548pjq.1 for ; Wed, 31 Mar 2021 10:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Yxb1cjQh8eTto4VCnScALWgaUv/mvFW09b+wRe8GTUg=; b=o8WF9EMNvjjimo5WUrTyj2WHX6mOiZFfFqUP01YFbS8uSlEFQ7nbR1Hy0uVDbq/+ow UMdH2gdl5BpZH9Y5VmKFoivC1/fCuUUGiWDb3mtG8al/XEQFg+JyI0WNZ1BjKHbnyemr +6IVRPSe3XcwqYdzzB1I1KTuW+SNUyczBjW7xONQ+vu4T8U2/oGC43v+hyJelhCRXDva ASh2bnQxIP9qMjCZ1kG9AQy4Zewes7hR3dok/BKqVI5kJu0jvD+01A4l4qTsvdHaZ7Y1 aikdf/Glu5ejyJVbMBfyANdvrZYB59lIaO9jGa549PEnBIUDdaCHf7y0O1+xfPp1wq0b ActQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Yxb1cjQh8eTto4VCnScALWgaUv/mvFW09b+wRe8GTUg=; b=YH30WH5rSudMaHHxfdEnbA9m4jJCGXiRBOK+FRVt8wvxIpAHfxl5Wd6/g8CV/GUScD zK+8OTofLYMnA36uCcbqo07dSDIc8X08G/gb6ag6epn1idZd35rgZkTZwHtRliL3BaV0 RtBhxHQ8/1Dfmb5A39vaAuNXuYk3EC191JEJX+qPkZokg0+/L0A76fSZoNIU9tQnIS8n N66Prnz899p+135Mi84jEq6YjEo6GPtUKv8SbIFQGiMRNJdCC7NStOZywR2HZFpYEdFG O6B8x46yWXxOvRcxQPt09YAae97Jqik/FcCMyTpuifJSFB3qgHFqnxFPemJflb8PMf0F Bd2A== X-Gm-Message-State: AOAM530KGPs+45wPtOV6myd8LHu2nisiDVEYf8Bh7psD0m29TGjhmClp Nx/qHL+a+Pt/cTH8JEKBSgY= X-Google-Smtp-Source: ABdhPJyHs3XyR8t8n6nhNAcuVy5/DN9eT4cvfjFpLCLlvtqttD5Or0KrRfvfdbW3Ol9lhugPLL1QRQ== X-Received: by 2002:a17:902:e889:b029:e6:4c9:ef02 with SMTP id w9-20020a170902e889b02900e604c9ef02mr4378054plg.1.1617213513427; Wed, 31 Mar 2021 10:58:33 -0700 (PDT) Received: from gmail.com ([1.6.215.26]) by smtp.gmail.com with ESMTPSA id f135sm2953294pfa.102.2021.03.31.10.58.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Mar 2021 10:58:32 -0700 (PDT) Date: Wed, 31 Mar 2021 23:27:53 +0530 From: Nithin Dabilpuram To: Jerin Jacob Cc: dpdk-dev , Jerin Jacob , Sunil Kumar Kori , Satha Koteswara Rao Kottidi , Pavan Nikhilesh , Kiran Kumar K , Satheesh Paul , Ashwin Sekhar Thalakalath Kottilveetil Message-ID: References: <20210305133918.8005-1-ndabilpuram@marvell.com> <20210305133918.8005-4-ndabilpuram@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dpdk-dev] [PATCH 03/52] common/cnxk: add model init and IO handling API 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 Sender: "dev" On Fri, Mar 26, 2021 at 07:18:35PM +0530, Jerin Jacob wrote: > On Fri, Mar 5, 2021 at 7:10 PM Nithin Dabilpuram > wrote: > > > > From: Jerin Jacob > > > > Add routines for SoC model identification and HW IO handling > > routines specific to CN9K and CN10K Marvell SoC's. > > These are based on arm64 ISA and behaviour specific to > > Marvell SoC's. > > > > Signed-off-by: Jerin Jacob > > --- > > drivers/common/cnxk/meson.build | 4 +- > > drivers/common/cnxk/roc_api.h | 13 +++ > > drivers/common/cnxk/roc_io.h | 187 +++++++++++++++++++++++++++++++++++ > > drivers/common/cnxk/roc_io_generic.h | 122 +++++++++++++++++++++++ > > drivers/common/cnxk/roc_model.c | 148 +++++++++++++++++++++++++++ > > drivers/common/cnxk/roc_model.h | 103 +++++++++++++++++++ > > drivers/common/cnxk/roc_platform.c | 21 ++++ > > drivers/common/cnxk/roc_platform.h | 10 ++ > > drivers/common/cnxk/roc_priv.h | 11 +++ > > drivers/common/cnxk/roc_util_priv.h | 14 +++ > > drivers/common/cnxk/roc_utils.c | 35 +++++++ > > drivers/common/cnxk/roc_utils.h | 13 +++ > > drivers/common/cnxk/version.map | 5 + > > 13 files changed, 685 insertions(+), 1 deletion(-) > > + > > +#endif /* _ROC_UTIL_PRIV_H_ */ > > diff --git a/drivers/common/cnxk/roc_utils.c b/drivers/common/cnxk/roc_utils.c > > new file mode 100644 > > index 0000000..bcba7b2 > > --- /dev/null > > +++ b/drivers/common/cnxk/roc_utils.c > > @@ -0,0 +1,35 @@ > > +/* SPDX-License-Identifier: BSD-3-Clause > > + * Copyright(C) 2020 Marvell. > > Please update the year to 2021 in all the files. Ack. > > > +#endif /* _ROC_UTILS_H_ */ > > diff --git a/drivers/common/cnxk/version.map b/drivers/common/cnxk/version.map > > index dc012a1..227f2ce 100644 > > --- a/drivers/common/cnxk/version.map > > +++ b/drivers/common/cnxk/version.map > > @@ -1,4 +1,9 @@ > > INTERNAL { > > + global: > > + > > + plt_init; > > plt_init() is internal one. We dont need to expose that. plt_init() is being used by net/cnxk, event/cnxk and mempool/cnxk PMD's hence I added it to version.map. To maintain similarity, I'll change it to roc_plt_init(). > > > + roc_error_msg_get; > > + roc_model; > > > > local: *; > > }; > > -- > > 2.8.4 > >