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 5641A42B2C; Wed, 17 May 2023 18:17:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F39742DAA; Wed, 17 May 2023 18:16:30 +0200 (CEST) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTP id 6F42342D79 for ; Wed, 17 May 2023 18:16:24 +0200 (CEST) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-643465067d1so755080b3a.0 for ; Wed, 17 May 2023 09:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1684340183; x=1686932183; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ox2/1DyBdWFGOTpbAGYHhFIlWAE+SizGnBjAsFKISvE=; b=Fcsm8/ABx8nxv5rBHDTTp/DAAKDDZTQnV7uIoWmTs0ddI+TwghXSPAy7dWFWJn5KcB 0i8/Vvm0ntM+nQa1BO1D7+H2FDZvqenvKaJLZZB7yJ/e7SQ12t9avhK97zbuSfPdfS/t Ii5nNuLYsVANy0g+x6hlOuZ7G1gxuCmM5MRfgS2BXaZ6sQyVe4L2w10ygSMb8r4tVezX rp7lbNfEE2kJxIbftylNJHY8/VRgjnrRkRC6dzSUNV06zoJ+ikB3kd1MXiwg/yTo/XuB QAVhbT5F0zG2HO7lpDhlxBMziRsQHtwHphyCB68xVnlDbPDHpmMl/bs4+U5MAh98GHUM 4hYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684340183; x=1686932183; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ox2/1DyBdWFGOTpbAGYHhFIlWAE+SizGnBjAsFKISvE=; b=k1fM+QPv9NmHpQjH/PaalaqMzOz9lzQoBeCSYXkWGZuF8IELml+nxEYfN9LkWoeJtJ /ekGMFMWG/ze0GJ9wWGihZG+YdsIwlgN5f5Hp9iPUWBAfTne/nTWjoeVCpKcuMupNdJZ byQX1g3pMIVpsckrZczSOWR/sebehp7WyYNB8Z909fnNj/EZJ7DIju2I9p13ZtaN4R9t rt8M7ahX3p/SFTBtoVYh3yQjwRAovrhfFi4Lqa2affsfS323fH8h8LM5g0ZqiuPAuVIH bKKk++eoK74dIPjkDOza75q1t/LdS3VWYaO97OdSKnfWtV4kGRr7DETxw8XTyzhNzamX gxFQ== X-Gm-Message-State: AC+VfDz3D+tWQ0gzeGe+dZ++MTB9JQ+u7VthOhrP0RILAbbPYFlCwKtE aKZPPtniwHAvgS7TlMgQRmDbd8x0mwX0YMjtNzYaTw== X-Google-Smtp-Source: ACHHUZ5wjXTksLo1rBc9hMdSHZB+mIYzXBKx9cXoSDEhOVWSl5SXAqvreJH07mVMWc2DhHRfgmWNtg== X-Received: by 2002:a05:6a20:4658:b0:ef:95de:b877 with SMTP id eb24-20020a056a20465800b000ef95deb877mr41944372pzb.10.1684340183475; Wed, 17 May 2023 09:16:23 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id h5-20020a62b405000000b0063f33e216dasm15793009pfn.96.2023.05.17.09.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 09:16:23 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao Subject: [PATCH 15/20] cnxk: replace term sanity Date: Wed, 17 May 2023 09:15:58 -0700 Message-Id: <20230517161603.117728-16-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230517161603.117728-1-stephen@networkplumber.org> References: <20230517161603.117728-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Do not use non-inclusive naming. Signed-off-by: Stephen Hemminger --- drivers/common/cnxk/roc_nix_tm_ops.c | 2 +- drivers/common/cnxk/roc_npa.c | 4 ++-- drivers/net/cnxk/cnxk_ethdev.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/common/cnxk/roc_nix_tm_ops.c b/drivers/common/cnxk/roc_nix_tm_ops.c index 4e88ad1beb71..d837e2247634 100644 --- a/drivers/common/cnxk/roc_nix_tm_ops.c +++ b/drivers/common/cnxk/roc_nix_tm_ops.c @@ -527,7 +527,7 @@ roc_nix_tm_hierarchy_disable(struct roc_nix *roc_nix) node->flags &= ~NIX_TM_NODE_ENABLED; } - /* Verify sanity of all tx queues */ + /* Verify all tx queues */ for (i = 0; i < sq_cnt; i++) { sq = nix->sqs[i]; if (!sq) diff --git a/drivers/common/cnxk/roc_npa.c b/drivers/common/cnxk/roc_npa.c index 20637fbf657c..08e193e6118c 100644 --- a/drivers/common/cnxk/roc_npa.c +++ b/drivers/common/cnxk/roc_npa.c @@ -341,7 +341,7 @@ npa_aura_pool_pair_alloc(struct npa_lf *lf, const uint32_t block_size, char name[PLT_MEMZONE_NAMESIZE]; const struct plt_memzone *mz; - /* Sanity check */ + /* argument checks */ if (!lf || !block_size || !block_count || !pool || !aura || !aura_handle) return NPA_ERR_PARAM; @@ -769,7 +769,7 @@ npa_dev_init(struct npa_lf *lf, uintptr_t base, struct mbox *mbox) uint8_t aura_sz; int rc; - /* Sanity checks */ + /* Input checks */ if (!lf || !base || !mbox) return NPA_ERR_PARAM; diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c index 1cae3084e184..8fdc3d5a9a96 100644 --- a/drivers/net/cnxk/cnxk_ethdev.c +++ b/drivers/net/cnxk/cnxk_ethdev.c @@ -633,7 +633,7 @@ cnxk_nix_rx_queue_setup(struct rte_eth_dev *eth_dev, uint16_t qid, struct rte_mempool *lpb_pool = mp; struct rte_mempool *spb_pool = NULL; - /* Sanity checks */ + /* input checks */ if (rx_conf->rx_deferred_start == 1) { plt_err("Deferred Rx start is not supported"); goto fail; @@ -1195,7 +1195,7 @@ cnxk_nix_configure(struct rte_eth_dev *eth_dev) rc = -EINVAL; - /* Sanity checks */ + /* baseline checks */ if (rte_eal_has_hugepages() == 0) { plt_err("Huge page is not configured"); goto fail_configure; -- 2.39.2