From patchwork Wed Jun 23 04:46:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nithin Dabilpuram X-Patchwork-Id: 94703 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 AC8B5A0C41; Wed, 23 Jun 2021 06:48:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A6EC8410E7; Wed, 23 Jun 2021 06:47:43 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 252714111F for ; Wed, 23 Jun 2021 06:47:42 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15N4jSuK026889 for ; Tue, 22 Jun 2021 21:47:41 -0700 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=jnYMTW8E7HY1cvj6/ds2IISFqAKajQpYT2eALhvuH60=; b=U0kXsCN8uW4qNIoa/kJz4Vj7vyxBgcL911oHA+1rKWgJ+rsPF3+BlvEQikE0o3TRlaSq Ebi+BcuD545zCREUUDDFJUX0ojvaRpq9gkAiwhlETRGzYQwT2lbr1k6l6QLkFcHGHVnz NJs+InSFlPFtuQZdqA3gZa33YAomonQrkCG68OBZdqQehkt7M2HGcu77ep35NHX7k7pI SNg2aicR/pxvKdf3VP8UZItt9n2P4KcRl1K1ra9fvnDMuZKAJCUf/g+DTgroFoWva7f2 yrmgZXrduYIlPIazlrUWqwKqRIVaoVaKNs1IilLhwvb04yMRC9z44p/pIAIA0SrHJc/g 8Q== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 39bx5j80n5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 22 Jun 2021 21:47:41 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 22 Jun 2021 21:47:39 -0700 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.18 via Frontend Transport; Tue, 22 Jun 2021 21:47:39 -0700 Received: from hyd1588t430.marvell.com (unknown [10.29.52.204]) by maili.marvell.com (Postfix) with ESMTP id C10195B693B; Tue, 22 Jun 2021 21:47:36 -0700 (PDT) From: Nithin Dabilpuram To: CC: , , , , , , , , "Nithin Dabilpuram" Date: Wed, 23 Jun 2021 10:16:07 +0530 Message-ID: <20210623044702.4240-8-ndabilpuram@marvell.com> X-Mailer: git-send-email 2.8.4 In-Reply-To: <20210623044702.4240-1-ndabilpuram@marvell.com> References: <20210306153404.10781-1-ndabilpuram@marvell.com> <20210623044702.4240-1-ndabilpuram@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: h535nscZymeqwdvBz43N6DLTtNAVJ7wM X-Proofpoint-GUID: h535nscZymeqwdvBz43N6DLTtNAVJ7wM X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-06-23_01:2021-06-22, 2021-06-23 signatures=0 Subject: [dpdk-dev] [PATCH v4 07/62] common/cnxk: change model API to not use camel case 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" Change model check API's to not use Camel case in function names. Signed-off-by: Nithin Dabilpuram --- drivers/common/cnxk/roc_model.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/common/cnxk/roc_model.h b/drivers/common/cnxk/roc_model.h index fb774ac..5aaad53 100644 --- a/drivers/common/cnxk/roc_model.h +++ b/drivers/common/cnxk/roc_model.h @@ -88,19 +88,19 @@ roc_model_is_cn10k(void) } static inline uint64_t -roc_model_is_cn96_A0(void) +roc_model_is_cn96_a0(void) { return roc_model->flag & ROC_MODEL_CN96xx_A0; } static inline uint64_t -roc_model_is_cn96_Ax(void) +roc_model_is_cn96_ax(void) { return (roc_model->flag & ROC_MODEL_CN96xx_Ax); } static inline uint64_t -roc_model_is_cn95_A0(void) +roc_model_is_cn95_a0(void) { return roc_model->flag & ROC_MODEL_CNF95xx_A0; }