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 72C3A44107; Thu, 30 May 2024 01:40:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7503040EDD; Thu, 30 May 2024 01:39:24 +0200 (CEST) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mails.dpdk.org (Postfix) with ESMTP id 930F340289 for ; Thu, 30 May 2024 01:38:26 +0200 (CEST) Received: by mail-pg1-f178.google.com with SMTP id 41be03b00d2f7-68197edc2d3so246595a12.2 for ; Wed, 29 May 2024 16:38:26 -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=q/Tv9IOz1FThj5ft4iemRxzx0yoUwF4B/otck3ReKgw=; b=awDPTNQIEDOGkQUNDBji6o56m84q0RjyIsz0zXqNDOuii2PQjmwtbLy/upDCQJ3yC8 Qu++FqmUh1dPK89mJEgJFBb9cFDHtR65UYHuucH2wJeBFJ5YX9LwURMyjwFJsCf+ypIa RGaI2lGfviBytb1g+orUmTU9OToM8+qK58C45YaGbykuzpk8xHG7fWXnpNoo8javVkJz txV35rYy5JWibVxOqlSJeZiBVWYt2NYeWm0UtRAwXxkVOpV1+c9c2UVkm9an1n1ujmZI r1Z9//VuplkpEhfHm28gLp2iWbzI+bcKXUb6s7eM5ln5d9ahaubeZkSfiIpHz34f8/UO uIUA== 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=q/Tv9IOz1FThj5ft4iemRxzx0yoUwF4B/otck3ReKgw=; b=qnYN+AMjjuYeBCilrLWFp6azjTA5aCWw5ouS7MAd8IRfQB/WLuHtG68bxWOyphJvE+ DU5A9yTq69VirBHy17L51LQM7GYUe9AA6728A9891aIrZdWNe0OnGE2/nKsaUA5Kcf4z 8R12uh7Suj8TJAJJhBrBmcF3JwmHs9l01qx47zPER3JrgTAUHYRIZ/+4fycajGmUeMDb 7XYmYswwnPBqquq90vIlCnF2cyk6XYD/Pcow2KVLwmBtmR2NIyXWieG6j1e21mZwvGyA RgkQRAh9pVBOh2MhLUNEa26ZRQNP5LVKtrsTjTnvecERlNOtE1nFg7gr0el0o+Tip2+z gyvQ== X-Gm-Message-State: AOJu0Yw7vMXkbEuCmuqRgG3cKC759n7Eh91SviR4gGKj2llV4yEkKHr2 jC+rbCWy78XwPt4dg4VBX/ruhBG4T0829AmUp5jimEqFUhM8DmT+tOcxh9Y6UavfYKHheJbMGe2 B X-Google-Smtp-Source: AGHT+IEy5qkH69TNlQaNOyuqUH+9t/uLES6XUhwxHEyZHGvUURdnIwFFSoCRLAZqJa1U+WPR23SS7A== X-Received: by 2002:a05:6a20:6a14:b0:1af:e624:b9b1 with SMTP id adf61e73a8af0-1b26454508dmr539034637.21.1717025905803; Wed, 29 May 2024 16:38:25 -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:25 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v10 15/20] net/txgbe: replace term sanity Date: Wed, 29 May 2024 16:33:49 -0700 Message-ID: <20240529233811.663211-16-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 Don't use term sanity. Signed-off-by: Stephen Hemminger --- drivers/net/txgbe/txgbe_ipsec.c | 2 +- drivers/net/txgbe/txgbe_rxtx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/txgbe/txgbe_ipsec.c b/drivers/net/txgbe/txgbe_ipsec.c index f9f8108fb8..cadb0943c8 100644 --- a/drivers/net/txgbe/txgbe_ipsec.c +++ b/drivers/net/txgbe/txgbe_ipsec.c @@ -595,7 +595,7 @@ txgbe_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 */ + /* offload checks */ 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/txgbe/txgbe_rxtx.c b/drivers/net/txgbe/txgbe_rxtx.c index 2568bf0b85..17c4449d93 100644 --- a/drivers/net/txgbe/txgbe_rxtx.c +++ b/drivers/net/txgbe/txgbe_rxtx.c @@ -4115,7 +4115,7 @@ txgbe_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