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 8500443403; Wed, 29 Nov 2023 18:33:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 62E3342EAE; Wed, 29 Nov 2023 18:31:59 +0100 (CET) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id C980042E97 for ; Wed, 29 Nov 2023 18:31:52 +0100 (CET) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6cc2027f7a2so4014442b3a.2 for ; Wed, 29 Nov 2023 09:31:52 -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=qb7+8Iya9ZI8RjLLuGm0BRoU49bj6ugCn9hlkjRse4g=; b=VL1Hx+Uk3a2mjyzTbsThTy0ch3JqouT+mZslmop+Lxs5FunHvBmwc+fhpkHMnk+QRB /eRFQgndLgVed55LkS7uXGM0bB0TQ4ZE9aTujMCOnzs34R/zDV7IGNVSveMTi++qXBoK 0v2ZrHl2boXyfZExGKnwDkoD1SDqB1Zo+yacyNDhwZESh6AoXRTYjms5t67x0ZR2tqUi ISsCeec6bpXABrBQjZV5h4wqHCTNIONfI2/e+Gy1vROa0N5xyjvoS8mhjBCZ0IWBjg6E anbmIhebbvaTv8UfOQLWEMJ3kng5Ro9qC3UhsB+QAsLMiY1fAGjO5u5qxgZgH58NR0W7 Wtng== 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=qb7+8Iya9ZI8RjLLuGm0BRoU49bj6ugCn9hlkjRse4g=; b=cf34hb7ANFJxbSqPYipYl67YtfZQETvKNshRYbp95MKvCyiQKwhiUhz4DpJN39bB75 c+V8zDfsP1PMFrbpiJY7etxqSBVdjwGuWINxu5cKxCUi5Jp62SXOqXNGnknUgYVwsei3 6nVQUVpCApS39sAowL66ACJLtNxUQOiJfwEugV8C928hVZkw23nMjNuElpN1f1n4aqlr S+CrJpfdofCLdNgFljW1IY/VG8xonBKxmCzGcq4SEGWGN996awwXhBxcSlyzhecQVYie F98rt28zFttDhfgmvG7VNL+rlUmXPxE6m2PfaJIQViDvmXQLjl8ki3aELJXEq0o2xB1R 3Vyg== X-Gm-Message-State: AOJu0YwpcCjdBp3PP2NltNDN3bTlUV8pdekjipV/sR4FeSx/PTVOPvSo WLIOL/4P6rzE9m6rFH18q+aHbf9fYi28ckWp44mx9g== X-Google-Smtp-Source: AGHT+IEEVeFO4BOAtNt/7l0IrOefxRjhn4pS03R9b//2YEwoqaYBwwqpDm0Cd0Hipdv5Crv26elPqw== X-Received: by 2002:a05:6a00:244c:b0:6b7:18c1:c09a with SMTP id d12-20020a056a00244c00b006b718c1c09amr18944679pfj.5.1701279111806; Wed, 29 Nov 2023 09:31:51 -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.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 09:31:51 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Jiawen Wu , Jian Wang Subject: [PATCH v5 16/19] net/txgbe: replace term sanity Date: Wed, 29 Nov 2023 09:26:10 -0800 Message-ID: <20231129173122.126895-17-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 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 f9f8108fb894..cadb0943c82d 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 1cd4b25965b5..5d45d8763dc9 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.42.0