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 A99A844107; Thu, 30 May 2024 01:40:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CBFA40EE6; Thu, 30 May 2024 01:39:25 +0200 (CEST) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mails.dpdk.org (Postfix) with ESMTP id 6915740289 for ; Thu, 30 May 2024 01:38:27 +0200 (CEST) Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-2c1a5913777so246686a91.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=1717025906; x=1717630706; 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=UfPxKQW4bN9g8JzuRkGjtvJT+boQkdJkMK3fzGSWpLY=; b=biIlxzlxZaYW22bk5Zugz5dQb3MVQGAcHf2QZzhZdIuve1aSHixgPtfkfBzfeBXRta /dByBjVc5vlIBDHArnTR52rs01yglLAS6pe65FygveYsS2YPKJGpJVmx3FNlyMBexnrK JHMZ8gtcizcuZ+r5SDioift9sVprhLDzJaqGUlYaGXsBhm6iXm/PFb5I4oiVmZogkKvW wwmDGMiWDEEiz7wC8XnstNJQQ3iglJd0nMRQRsBvQLkSCpgD0gjYnd3m+IB3Jnw+/jmD cll6hLqoXzlUuwmWFjA0x0qXb7lrwrCrnOf7oDnIdOMSQ0vgt0+ZQwAbJBdwnc0dqNWH F5zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717025906; x=1717630706; 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=UfPxKQW4bN9g8JzuRkGjtvJT+boQkdJkMK3fzGSWpLY=; b=V95/pnPXf7uFZzwPwDKMcIF6HLPKZH5abnn3rnEDChR4RtvS6FQ5KRQ+NF7phzy3RE qJUvn+QSsgw3tydZY9oMl4E+O6dionJ77UHAZOKSpEuku1qo4D3ByxxYAj7gZ67PS+0+ Uw85fxEH+/J1bHX33i+xC51ysfW1OAqz7tpoEgmV6EssC0ORAvyXtg3BZN6C/JT79LHR q0m0nAlO+LGmpHr4d5xtTJMdC19ICv3+tjnUaJiAdP+IeVF9oZc8UYrxxdfBRrvDaN2R uP6SMGWfvMtWOcemYLu/VAJ7/l5dPjSKW0WkJ+4458VMH0GDK7zEQ6K3YuZcxy5ZU0rG bz7g== X-Gm-Message-State: AOJu0YxL4GTLfe5KBOc75nCzxeRWr6k6vHQJSC4153ze8QaHGsvwM8he iMBniq+FGk+ExrZRwdHUtlww7WOF0iAfZyUC/0AGCLYQzZLAfkEyw7/QmwPG7YJ77aZcwHbH25g p X-Google-Smtp-Source: AGHT+IGHGcfs+c0YytsuYBRQqtcbUvZb0Vf8a96EpObawXsQGEuXG0TPsJKRP5Ll1Q4zMpA6q946/A== X-Received: by 2002:a17:90a:a897:b0:2bd:d6d1:c54a with SMTP id 98e67ed59e1d1-2c1abc468b0mr604225a91.40.1717025906432; Wed, 29 May 2024 16:38:26 -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.25 (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 16/20] net/cxgbe: remove use of term sanity Date: Wed, 29 May 2024 16:33:50 -0700 Message-ID: <20240529233811.663211-17-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 Remove non-inclusive terminolgy. Signed-off-by: Stephen Hemminger --- drivers/net/cxgbe/cxgbe_ethdev.c | 10 ++-------- drivers/net/cxgbe/cxgbevf_main.c | 4 ++-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c index a27b9b266e..31a65430f6 100644 --- a/drivers/net/cxgbe/cxgbe_ethdev.c +++ b/drivers/net/cxgbe/cxgbe_ethdev.c @@ -524,10 +524,7 @@ int cxgbe_dev_tx_queue_setup(struct rte_eth_dev *eth_dev, eth_dev->data->tx_queues[queue_idx] = (void *)txq; - /* Sanity Checking - * - * nb_desc should be > 1023 and <= CXGBE_MAX_RING_DESC_SIZE - */ + /* nb_desc should be > 1023 and <= CXGBE_MAX_RING_DESC_SIZE */ temp_nb_desc = nb_desc; if (nb_desc < CXGBE_MIN_RING_DESC_SIZE) { dev_warn(adapter, "%s: number of descriptors must be >= %d. Using default [%d]\n", @@ -648,10 +645,7 @@ int cxgbe_dev_rx_queue_setup(struct rte_eth_dev *eth_dev, eth_dev->data->rx_queues[queue_idx] = (void *)rxq; - /* Sanity Checking - * - * nb_desc should be > 0 and <= CXGBE_MAX_RING_DESC_SIZE - */ + /* nb_desc should be > 0 and <= CXGBE_MAX_RING_DESC_SIZE */ temp_nb_desc = nb_desc; if (nb_desc < CXGBE_MIN_RING_DESC_SIZE) { dev_warn(adapter, "%s: number of descriptors must be >= %d. Using default [%d]\n", diff --git a/drivers/net/cxgbe/cxgbevf_main.c b/drivers/net/cxgbe/cxgbevf_main.c index d0c93f8ac3..dfb12b4ed5 100644 --- a/drivers/net/cxgbe/cxgbevf_main.c +++ b/drivers/net/cxgbe/cxgbevf_main.c @@ -137,7 +137,7 @@ static int adap_init0vf(struct adapter *adapter) /* * Grab our Virtual Interface resource allocation, extract the - * features that we're interested in and do a bit of sanity testing on + * features that we're interested in and do a bit of testing on * what we discover. */ err = t4vf_get_vfres(adapter); @@ -148,7 +148,7 @@ static int adap_init0vf(struct adapter *adapter) } /* - * Check for various parameter sanity issues. + * Check for various parameter issues. */ if (adapter->params.vfres.pmask == 0) { dev_err(adapter->pdev_dev, "no port access configured\n" -- 2.43.0