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 8E9AE43403; Wed, 29 Nov 2023 18:33:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A460542EB4; Wed, 29 Nov 2023 18:32:00 +0100 (CET) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTP id AD8D742E97 for ; Wed, 29 Nov 2023 18:31:53 +0100 (CET) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6cd89f2af9dso3833582b3a.1 for ; Wed, 29 Nov 2023 09:31:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1701279112; x=1701883912; 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=7YCB8gC+yvziIgpan71CixglVLlLEKZdS46a004TGyc=; b=kNomn3Ap4OjdAhDdZ+NTNej0OHWzzar6TmFYVgN5il4SgdhtRkM/EPFG7Dnc9ChxJ7 k7v/RpPQhjp/uO2JlOBau/L12XENwKbAcVFdpLa0c/x0GwGNgkjmshIGN1SWI4Kmheen EvHzGyeUA97RqxUKrQXTok+yHpeFDXbEe7sBxseEcFT6VL/s/NJz9rguLqnjO2/CFaQy FodAgpssQHfrc6BfzzVal6NuMpdAmW6are9txnwPCdsuAuGdBL7/CJuUF9r3AmsmKCCd W2J6/YHho5TPuxkR0QnaSrhvfTT+jEKPXcZHF4IjEWGWoHmXzbjbHzHYiAO9VIznLTTt eFZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701279112; x=1701883912; 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=7YCB8gC+yvziIgpan71CixglVLlLEKZdS46a004TGyc=; b=mh58+StFKmP7YYUFv8Cft8llOrq24i9ck9PjnbsuaZdPr0GocrNADg+tyG6HkEFvXc ancOrfsNReoghiOa3Yk4sdxsJKP8XOMa0jdfUrpFwXlMBD24E/zlIId5GyxlQ5+neNGd P/Y9cPlqdQax42sEWpVVSzX0KQfud3N0ahvSVAF0H4/uv9n7OInWgOsPwksE5/Q3805I ooahL0oc+YJuPXVYgiTKg/1ZaGO/UjdM/SACtNboXt9EiALh4ujpUUQXQkQKRANN1hui 5jQXTLFk14LmPnXGh9qfiZFrquiP0svjyiKCOesCgcED1G8HWNF4khQ/AodaBOwFuQM8 cqwg== X-Gm-Message-State: AOJu0Yza3XQwKLTMQFHWsGAJRBdByq4in/PwcaU6Q5csGJ3hwg6zYGYq JCZOfUE08TwhYpEH71QjNS2Dcjy+0Ky60B+WS945cg== X-Google-Smtp-Source: AGHT+IHlz/wxE3SXtm2MroltjrT7vhRBzwJClLQTJi29ypcBf7Hn9YVGGAH1JYqTrzr6E861zAmqjA== X-Received: by 2002:a05:6a20:8f0f:b0:188:2b6:316b with SMTP id b15-20020a056a208f0f00b0018802b6316bmr27079864pzk.38.1701279112688; Wed, 29 Nov 2023 09:31:52 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id y42-20020a056a0003aa00b006baa1cf561dsm10950435pfs.0.2023.11.29.09.31.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 09:31:52 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Rahul Lakkireddy Subject: [PATCH v5 17/19] net/cxgbe: remove use of term sanity Date: Wed, 29 Nov 2023 09:26:11 -0800 Message-ID: <20231129173122.126895-18-stephen@networkplumber.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231129173122.126895-1-stephen@networkplumber.org> References: <20230802232550.125487-1-stephen@networkplumber.org> <20231129173122.126895-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 8cc3d9f257a0..c7c745fee495 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 d0c93f8ac3a5..dfb12b4ed5c9 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.42.0