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 396F044107; Thu, 30 May 2024 01:39:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 938AB40DF6; Thu, 30 May 2024 01:39:07 +0200 (CEST) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mails.dpdk.org (Postfix) with ESMTP id D657140289 for ; Thu, 30 May 2024 01:38:21 +0200 (CEST) Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-68194ee2174so253540a12.3 for ; Wed, 29 May 2024 16:38:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1717025901; x=1717630701; 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=HpaeMRq2qfG+tENQk0ClTJ+bTURIssBL//hAV3p6UHY=; b=Pf/yHo8Sp9qYK9/LouRk3SCfjFv41fSWCxRojetk1OOqmm0ny1VdhpAeyereZtxqGS 8TlhT/MuziX7AmlHLTN8aAl6NZW+tJHknML6GhAteS26tyruSEduDc6xZB0DJwq9w4ev ijzccbVWg91JwzhaH8czwxftNxDJw83rA3xvS8nmoHguSdcBp3UoU5mV1NSpHSpzIYLi tjAwl5HLZWPDx9A/9oO7OomGwQm9dRMAjZ376TbVmJw4x9RcKaotrstuwwVyYRBT88sn GW6jQA3UXaysmiaw8nE2hYhRY9oClrQUlscEsh8zUhVHwFNX2BKKwkTLNJkBatKOU95U uDcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717025901; x=1717630701; 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=HpaeMRq2qfG+tENQk0ClTJ+bTURIssBL//hAV3p6UHY=; b=jki7rFQP29Fq/GJCsnrkMugaeD7wmXBZsXNPsLFjwDKM0JN3KOEMiLymcAHe7YCKKo s20lbPcE7VkYmZvfCcUhO2LwkzbU8oxO9yTz4xRdL5H7la8X/Op13Mv6HAQEbKVGoXgP ijCT+yiwwkhUPcC+XoD+tAbgInW50lv2TYwNyXZiU2f9zN7hfiZySAlOEl1qqaRZETcc W+5HONlSV+BCIfa7OM47tXhzI25FwUXhBTrZEGobfPsegkaUV1bc5xctq91K2Wv8lAGP 6r6tIN1BadGiaXgidDWBpFFkvYdDAnvk/jYyjOtc55Jxah3xo53Yl+Ih40Bk7X2QuGpx 19kA== X-Gm-Message-State: AOJu0YwPFvn4wJrwCxx2wJ6m3nBhXVa228b1lmN+UsZl+LypF/La/BsS sXiVQD85pxI+dxBghF/Y+RL4rYcjDZZyye9Qvh1Lh5RLz5j9NiwMVINhRYDNlumOskdwJJP5Gjb S X-Google-Smtp-Source: AGHT+IF5A7z6Au2q15wXabYv0R/ITeXn/dR03HeWenFOSn0I1M1Zg+4zuuIf7UKmasqiW+VmSkAehA== X-Received: by 2002:a17:90b:a4d:b0:2b3:28be:ddfa with SMTP id 98e67ed59e1d1-2c1abc6a03dmr570760a91.38.1717025900901; Wed, 29 May 2024 16:38:20 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 16:38:20 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v10 08/20] net/fm10k, net/ixgbe: remove word sanity Date: Wed, 29 May 2024 16:33:42 -0700 Message-ID: <20240529233811.663211-9-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 term sanity from these Intel drivers. Signed-off-by: Stephen Hemminger --- drivers/net/fm10k/fm10k_ethdev.c | 2 +- drivers/net/fm10k/fm10k_rxtx.c | 2 +- drivers/net/ixgbe/ixgbe_fdir.c | 2 +- drivers/net/ixgbe/ixgbe_ipsec.c | 2 +- drivers/net/ixgbe/ixgbe_rxtx.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index fa0d16277e..a415c2c46d 100644 --- a/drivers/net/fm10k/fm10k_ethdev.c +++ b/drivers/net/fm10k/fm10k_ethdev.c @@ -1758,7 +1758,7 @@ mempool_element_size_valid(struct rte_mempool *mp) /* account for up to 512B of alignment */ min_size -= FM10K_RX_DATABUF_ALIGN; - /* sanity check for overflow */ + /* check for overflow */ if (min_size > mp->elt_size) return 0; diff --git a/drivers/net/fm10k/fm10k_rxtx.c b/drivers/net/fm10k/fm10k_rxtx.c index 690142b357..c2940901fe 100644 --- a/drivers/net/fm10k/fm10k_rxtx.c +++ b/drivers/net/fm10k/fm10k_rxtx.c @@ -646,7 +646,7 @@ fm10k_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, if (q->nb_free < mb->nb_segs) break; - /* sanity check to make sure the mbuf is valid */ + /* check to make sure the mbuf is valid */ if ((mb->nb_segs == 0) || ((mb->nb_segs > 1) && (mb->next == NULL))) break; diff --git a/drivers/net/ixgbe/ixgbe_fdir.c b/drivers/net/ixgbe/ixgbe_fdir.c index 06d6e2126d..51bbf577e3 100644 --- a/drivers/net/ixgbe/ixgbe_fdir.c +++ b/drivers/net/ixgbe/ixgbe_fdir.c @@ -1130,7 +1130,7 @@ ixgbe_fdir_filter_program(struct rte_eth_dev *dev, return -ENOTSUP; /* - * Sanity check for x550. + * Check for x550. * When adding a new filter with flow type set to IPv4, * the flow director mask should be configed before, * and the L4 protocol and ports are masked. diff --git a/drivers/net/ixgbe/ixgbe_ipsec.c b/drivers/net/ixgbe/ixgbe_ipsec.c index d331308556..d4aa3e9ede 100644 --- a/drivers/net/ixgbe/ixgbe_ipsec.c +++ b/drivers/net/ixgbe/ixgbe_ipsec.c @@ -615,7 +615,7 @@ ixgbe_crypto_enable_ipsec(struct rte_eth_dev *dev) rx_offloads = dev->data->dev_conf.rxmode.offloads; tx_offloads = dev->data->dev_conf.txmode.offloads; - /* sanity checks */ + /* input validation */ if (rx_offloads & RTE_ETH_RX_OFFLOAD_TCP_LRO) { PMD_DRV_LOG(ERR, "RSC and IPsec not supported"); return -1; diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c index 0d42fd8a3b..5e6aebe3e9 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx.c +++ b/drivers/net/ixgbe/ixgbe_rxtx.c @@ -4983,7 +4983,7 @@ ixgbe_set_rsc(struct rte_eth_dev *dev) uint32_t rdrxctl; uint32_t rfctl; - /* Sanity check */ + /* Offload check */ dev->dev_ops->dev_infos_get(dev, &dev_info); if (dev_info.rx_offload_capa & RTE_ETH_RX_OFFLOAD_TCP_LRO) rsc_capable = true; -- 2.43.0