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 A005C42B4B; Fri, 19 May 2023 19:48:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D32B642DC2; Fri, 19 May 2023 19:46:36 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id 4089342DA5 for ; Fri, 19 May 2023 19:46:33 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1ae4c5e1388so35699495ad.1 for ; Fri, 19 May 2023 10:46:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1684518392; x=1687110392; 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=jWCMBbyPLEd6FHHYRJoKZLieSIsSHVpPEytLTFuBq+UJlM9qfe0qSIddqOQ4o+E7m8 0B0oUzXnqajRDOr6CkDH5wLcrZGFTGNxvrGhpxr5kJ8k/VhJdM9qbsP2G7ZTvdY6b8j/ XV7fz4BEiMfyThhZWvCSSrWH8dEcXQGeOUE0XKY2hG0Qulg596XxIZ26lAS0uTahMikd bJ05sLfwA2d+BXrnD+Lopgb4rPSf03r7dXtM7ZL0yHSsgmfEqIUC3rDrRGkgpNI9LztY xh7sKcX/YjKes6ky0mRV0ouJE4A//H59gsCXEmqpSXLJNKx8wLLQddqUIGedz+hi2uUx hwfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684518392; x=1687110392; 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=kvYfJwGhWQMWyb50MIQ314kuBHzr4TkO0H0KK5u8mYfhVVmLG2lV+l/bYzOXTGTQXX uhK/ksEXtaskYm5AAUw/II8zNO21/qhE7MJ05EOlwfLGoGIKHIT/VVJNhcBJC+Dxnctz XoI1DUtiyqL9efbv3qBktWC+AKpRI2FygEpUSlZRLSnvlPsV2vEk73+FgB6GwXUtH3xt ay78LuS0+jtR6X6RSEOw4KkbLXJGOvn4v+NtoGRLY4puj1fsA6y9iYS1gXXbrMBBXNtn mymtjdEqYWF4a5t3uTvrK+sw3dpULpxaqFa/0Wi/I2x3ypnRKA9HoRn85+l467gIrKY5 /qLA== X-Gm-Message-State: AC+VfDxLZ1DgAkKXMm2ZJYNLT3kwQAhPgNdQ6aQHdjp+7MYbJt+lkfPD jq8+l9mbDloSTlCUQw3ZwbYmBlc01eHhfJ19/tB1BA== X-Google-Smtp-Source: ACHHUZ7Agvp1vlD+HJL2R6eLKCaIWgYxX1+mrZNOjqyWm32/e3duhjexBAWR8eOtGjM8R+QAZuzeTg== X-Received: by 2002:a17:903:2584:b0:1ab:d6f:51b0 with SMTP id jb4-20020a170903258400b001ab0d6f51b0mr3476954plb.18.1684518392559; Fri, 19 May 2023 10:46:32 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id e3-20020a170902744300b001aaf2e7b06csm3713101plt.132.2023.05.19.10.46.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 10:46:32 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Jiawen Wu , Jian Wang Subject: [PATCH v3 16/19] net/txgbe: replace term sanity Date: Fri, 19 May 2023 10:46:08 -0700 Message-Id: <20230519174611.11232-17-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230519174611.11232-1-stephen@networkplumber.org> References: <20230517161603.117728-1-stephen@networkplumber.org> <20230519174611.11232-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