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 A058043A3D; Mon, 5 Feb 2024 19:06:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0237542831; Mon, 5 Feb 2024 19:04:05 +0100 (CET) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mails.dpdk.org (Postfix) with ESMTP id 23AD6427DB for ; Mon, 5 Feb 2024 19:03:58 +0100 (CET) Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-5c229dabbb6so3040089a12.0 for ; Mon, 05 Feb 2024 10:03:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1707156237; x=1707761037; 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=6YqyIHEczoDsNiea26GNzlsErxCIo0MJI7s9o1RXckA=; b=j7QxTvpo7Gb+ht1mc3rVyXksV7Upkb/LV8D/X00RAfFTQzSA/yU8BTE1+u8OALVwMQ gfNcZ8xapNQqX26Hw6+fKrcQJq4AwbFY3pWv2DI6DAH/jHzNc8VydPinITjIfgexaf37 KcXw7unNlXuSyHD9TBrfkM0bQJF0+x4Bp+MRQQZslnnaowIZqlUIyKV7Gg36dQkxB0yG hqwJ+hkFN4smQhpAvm4tGpLMxAVBdZUuxlEfnnCOneYAgmW6i6aqMrT55cqvg1a5jpL1 xzEaXosHPLlbC/Ft12TpIpv8a4l2bBwSSvXcD7gTE5G4g8vYv45K9J6AgfapN51GDlqo 2cyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707156237; x=1707761037; 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=6YqyIHEczoDsNiea26GNzlsErxCIo0MJI7s9o1RXckA=; b=rrpzDzU55PpXx8KMKLbqOoctBWw5y54DWDY3JGInMn1VvvKACjfLoOLTWl7CTOH1z0 Gusjg1KKKU3p7cYR74RgC4H0WuB7I7mBP7kWPGOmG8iy/bKEAPdxRPm7eH4oN4SLSVvv 7PUO7hzezWWe8X2qCWZbWt2pLrCPUlmb6g8H/SKSCeNZrcetH0DYaX4M2qPycZwTbPa3 vd7CxxBbnPYwhh3QWts8QX7RjcK36tR972LGgs81p6xfFzP5Nbdr+hyr4HH1gActnKFB dZH0R2rVjPRJ3M4GUJ7adPlsc77swQEePmnCw/sXVB2d7IoBHvXF+UDkBk713hydl1QP k8Hw== X-Gm-Message-State: AOJu0Yx5es3TBiHudYK1gcWKAGZlEK8PTM9XRYjbyVITr2WbKvvT6mQW BlwblhFjyyfBT2GRE41x2LSbPN9lFR6jbQ3hXXIEDkCFkBHTLwUw9MjGV+j/2jdXySkMfB7ddHJ 2mlM= X-Google-Smtp-Source: AGHT+IGFna99CNUhNJwEIJ5wYJfX4m6bPZmD8PVAx4Ugl/dvRG9SWYDjWz7qzGmtFly2I06mgTShgA== X-Received: by 2002:a17:90b:1052:b0:296:3804:c380 with SMTP id gq18-20020a17090b105200b002963804c380mr168359pjb.46.1707156237377; Mon, 05 Feb 2024 10:03:57 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUi5S/PxvcI7TblNOxwDaR1jB5umDb7PHcfq9COLDbqreYaErUPO18APgVOX5Cqr1T5V0qgAUbKZbrEKR3qyGjT43B4axIzEn7TVdwr Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id x8-20020a170902b40800b001d9b0a15bbfsm144867plr.262.2024.02.05.10.03.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 10:03:57 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Rahul Lakkireddy Subject: [PATCH v9 21/23] net/cxgbe: remove use of term sanity Date: Mon, 5 Feb 2024 09:43:49 -0800 Message-ID: <20240205180328.131019-22-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205180328.131019-1-stephen@networkplumber.org> References: <0230331200824.195294-1-stephen@networkplumber.org> <20240205180328.131019-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.43.0