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 0E5A842FBA; Thu, 3 Aug 2023 01:27:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F40D2432A0; Thu, 3 Aug 2023 01:26:20 +0200 (CEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id D5BDD43295 for ; Thu, 3 Aug 2023 01:26:16 +0200 (CEST) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1bc02bd4eafso3807315ad.1 for ; Wed, 02 Aug 2023 16:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691018776; x=1691623576; 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=4h4rys5G+IxB/bimWPFOuIYwFdYnGtqo83jxYvm/eY8=; b=TQcF+F5WeZDvPXxdt0Xg3ATrrmQBSWdmP3vihzRpaXXZKki4jkg2b7OtbnltsoRwzo oqa2w+3oVuuZlq3CGdg63g0sFp4UhYL0nb4UDCuq8uvKXWOClz8jGmMdkBStNbzcFVbG rpdILpqD6stcxDtPB+peQ+X5nxdDowd9i99VQDbQ7LmGhL2PPPEwUbLgqPDIITVOHsBD ZhMj/orT36a1HbhP5PuY4R+2YnO7N5IFjqqrSdOFNXKK88180HOl3g4CPyFHG7rl4aIt TkUV0ly+KJT+keDSCYsheN80CfIBrwEemDthCf51s1TPCn/qbbOlSm7jeYuXJ7nB+QKr bYIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691018776; x=1691623576; 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=4h4rys5G+IxB/bimWPFOuIYwFdYnGtqo83jxYvm/eY8=; b=BtgBTHmex9nxjuiQfpOjzKnL6/jXr6e1Jts9wSSOlkQ+GLyYwbHJ24Rf3gJh409wsb mBU9ka6tRjn8x5sUap65zc0NzbGR5rYC/KuuCflQokoNDzzWdToiwS3Pq7pmpJEuhJEy Lf8eh7T47r0Fu2Z3G3HBTa6xf7P3TP5n9qv6rOxiwMUrHNXjfabP/fiKGgQNCnieBxrQ SnEpdXza1giRIUaNSVEXRutQ3NeER9K+H1t/mOoETOCMA6HkWxnJrPAOk2W6qTHvfxNP L6sx3Q6/0ZC/KgDK6sIVFRQpmZcv5dsFWFiYPUAZdcQSOV0fKttN8M8ppZso3BKbqL5M igHA== X-Gm-Message-State: ABy/qLb1+nwrIFrwymQvU5gsvZ/IO1ielkC8Le2w1e1fQH86RD7MAiVi hMQelZPHK9NBuiiK8UVactlnAmfRZBoCSMqBeHQYiQ== X-Google-Smtp-Source: APBJJlF2w5D+5PENUz8PVMe9qFsGFMmelBsti7Mm6oZsZgsZRZbL4dneQMvBtelud9RCFZMkecC6Zw== X-Received: by 2002:a17:902:e542:b0:1b8:4f93:b210 with SMTP id n2-20020a170902e54200b001b84f93b210mr21222667plf.45.1691018775886; Wed, 02 Aug 2023 16:26:15 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id jd20-20020a170903261400b001b8b0ac2258sm12960870plb.174.2023.08.02.16.26.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 16:26:15 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Jiawen Wu , Jian Wang Subject: [PATCH v4 16/19] net/txgbe: replace term sanity Date: Wed, 2 Aug 2023 16:25:47 -0700 Message-Id: <20230802232550.125487-17-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230802232550.125487-1-stephen@networkplumber.org> References: <20230517161603.117728-1-stephen@networkplumber.org> <20230802232550.125487-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 427f8b82ac80..ef6478b8a5c8 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.39.2