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 1F52343A3D; Mon, 5 Feb 2024 19:05:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A584141109; Mon, 5 Feb 2024 19:03:54 +0100 (CET) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mails.dpdk.org (Postfix) with ESMTP id 5F654410D5 for ; Mon, 5 Feb 2024 19:03:50 +0100 (CET) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1d8da50bffaso21490475ad.2 for ; Mon, 05 Feb 2024 10:03:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1707156229; x=1707761029; 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=zz3tDcheU2yYlmgbDe3+gRqcQeGPzvC2YvqPJk/WnKA=; b=DsMFcBEKtT0xGPKLmMvVdY0u3MdNnxFJili5NqoS30f4HeXI3QbVILl0/aXmJgvgSn 8mYF/j2RJb9wEvm/cRCBsuxGdClo/FGzpaV/vB2LdLS4ZdIuR1fMaVlqMD93MmjXx5Vs sQi95p5Zgp3AbtmSwEJ50Lbhf5qic9CNBLvc0vwh/WKwnWsqd+5RzUoc09crSDX9NQTv ctCIydBxOWE2tUYmGW5hiH2tnHPSKj1cJrYK6J+URkEEOwQtffojn162EUstbeRMcpfq D+AmCB3ynQloMQqmsvc1Qva4GJR6inprcJg8jBRb5e2WjpACxITkyBPvgrCGFgIvetgh 4XyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707156229; x=1707761029; 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=zz3tDcheU2yYlmgbDe3+gRqcQeGPzvC2YvqPJk/WnKA=; b=bfCxWeSehAf/S8nKJfHYNW+zgfze46mP1aNzXmiUEymIv+W78zC1hsHoVyKeTAikeu W3jLHe82lC7Ro6L+XFISAAUZgf4AXY+a2KRSG4gi7KDkPF7PTYeiNoRh7n0b37p9DQbN gYaua7LZq/KPlrIjWlLU/6y04HyKSowB6/bl0tJP04iHWPApHHAGGQmWOvud22nYa5nP fN8CuRIJrrHuB5cD6Lf+kd+oRLP+4RAhStJYHMlfwkOhdESkLUR4Y0wIXJlLVoe2Xf7V IIbIBRvv4jmFBeTmrgiRH4EG+fJR2X9B6ozRpZRiuvS6etx171sgTSw/B+L/eWl30jnY vSVw== X-Gm-Message-State: AOJu0YyWp4xjZCZWc0/AkhbqViztAMc20J2Z+MNcYvO+UFBPJuvY8Bn7 ao+nRbxegeBt7KsnRAOetWeJGcxRsx7FzMB7t1yvOW5IAZ0pmEWoMz9DbPJEzUbWezS9oKpBeMS bgtM= X-Google-Smtp-Source: AGHT+IHspkyodY0dTJsQy1UbZxMJqbzVJ1pYJO5EbwKfGQGlBKCknf3vFcyEkbMnUf2Pu0Vo6zz+gw== X-Received: by 2002:a17:903:32d0:b0:1d9:b8cf:795 with SMTP id i16-20020a17090332d000b001d9b8cf0795mr340721plr.58.1707156229583; Mon, 05 Feb 2024 10:03:49 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVUP+NZyFuO9sX3H6Etc0tUSsox6z7WmN41szHoMs1/7+q+FNYvpHX1J7rLtqh47HllJWjbniSqqlJz6upv89GbMojz19c= 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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 10:03:49 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Xiao Wang Subject: [PATCH v9 12/23] net/fm10k, net/ixgbe: remove word sanity Date: Mon, 5 Feb 2024 09:43:40 -0800 Message-ID: <20240205180328.131019-13-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 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 4d3c4c10cfa4..894cf8c8a6b5 100644 --- a/drivers/net/fm10k/fm10k_ethdev.c +++ b/drivers/net/fm10k/fm10k_ethdev.c @@ -1757,7 +1757,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 c0841ab8cb34..94345299b22a 100644 --- a/drivers/net/fm10k/fm10k_rxtx.c +++ b/drivers/net/fm10k/fm10k_rxtx.c @@ -647,7 +647,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 06d6e2126de5..51bbf577e3fe 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 d3313085560d..d4aa3e9ede8e 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 90b0a7004f50..0e53b8a73a18 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