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 8B80344107; Thu, 30 May 2024 01:40:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA31040EF0; Thu, 30 May 2024 01:39:26 +0200 (CEST) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mails.dpdk.org (Postfix) with ESMTP id 0ABA440289 for ; Thu, 30 May 2024 01:38:28 +0200 (CEST) Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-2bfdae7997aso215230a91.2 for ; Wed, 29 May 2024 16:38:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1717025907; x=1717630707; darn=dpdk.org; 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=/z0dndd2a0BY1CbkfjHepoRC+A1Eb1MqK15oA9kd9co=; b=P9pt4Iw2UoDZM6/kc2fLhJKIh1D1huke9qxUd5sslTFCl+ddrQ+F6FndUeUMHJxKC2 5iLgX1NJC87nXh8YgSV9ToXQ0EmP72N/BfKRlt19WcQL1b9gbCGaHX2GIzaVNrBsWR3a gBgh4NNolRUQe1sc07vEWMim+peWp+aNbSi9iwFN/Et4ntaGHpamFLawlF6eUcFCqgNL O+pl3n4s9HvNc2DzHEAKIeVmZ69nQV+nMIQApZXKry0zrzFciLArIwfjDUjj0rfG9klZ uEPDvY2Nkf9rm/LIcsJACmjM4EdOwbnos9G3fzfgFBy3VB7hJJRtNkqaYjd9v1cs3iRn mgXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717025907; x=1717630707; 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=/z0dndd2a0BY1CbkfjHepoRC+A1Eb1MqK15oA9kd9co=; b=eYdSE9TD2CRcSQXmVpI72dwzwVtT2rVSea/dUDdv6jQnJkmwg6vyFLZCzlvNRaKwVR 8dG5vEMsQau+kKMVys6+vcnox1M621hCVkRUTwGTioD9B6AxDKSYj+qxQdbF7m2J5bYp pp8zem78ZSW2irrcvdo5/9DHalcnRiY+JnoZ/89gr5pypBpIOtqESiaC5+LvztV/tRJ9 dzuYpnIdOxrfUSpc0/ezrsGyh52Okzwm55UvKTRF0oNJL8HaG5YLejSk7GANwxpCxwAh cfddK/rkqHh2rMzEs9Kjr83MphiPxE6eOlCUMUsMBS5ZU3qf9RAqqXetSH7ks2IeeK4G 5EmQ== X-Gm-Message-State: AOJu0YwOxn56B1Hr/wwJHUWf254jgjGzKLMCnGfB9oEVEU3CaKO12BcX IBAUnWjQUq5emLPmcCdNfOPeVneaH/PsEo6Fh0YPnjKxGdqsMMaOlbknmiqS1jynHs5sYBx4Rvz 6 X-Google-Smtp-Source: AGHT+IFOoZPpqHavDosULk46QA4KpZATyuc2IhOwSn6h5NAvfHZ5N9Ejm/FAuVVrUCc0irV66jGS0g== X-Received: by 2002:a17:90a:c981:b0:2bf:7ade:a7dc with SMTP id 98e67ed59e1d1-2c1ab9dfe06mr596561a91.10.1717025907156; Wed, 29 May 2024 16:38:27 -0700 (PDT) Received: from hermes.lan (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c1a7761d78sm353955a91.12.2024.05.29.16.38.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 16:38:26 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v10 17/20] cnxk: replace term sanity Date: Wed, 29 May 2024 16:33:51 -0700 Message-ID: <20240529233811.663211-18-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240529233811.663211-1-stephen@networkplumber.org> References: <20240529233811.663211-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 9f3870a311..6cf329eee2 100644 --- a/drivers/common/cnxk/roc_nix_tm_ops.c +++ b/drivers/common/cnxk/roc_nix_tm_ops.c @@ -528,7 +528,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 6c14c49901..5e38ecf041 100644 --- a/drivers/common/cnxk/roc_npa.c +++ b/drivers/common/cnxk/roc_npa.c @@ -458,7 +458,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; @@ -1096,7 +1096,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 6b37bd877f..da9716c3c9 100644 --- a/drivers/net/cnxk/cnxk_ethdev.c +++ b/drivers/net/cnxk/cnxk_ethdev.c @@ -636,7 +636,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; @@ -1205,7 +1205,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.43.0