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 0FBB742B34; Thu, 18 May 2023 18:47:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E549242F96; Thu, 18 May 2023 18:46:11 +0200 (CEST) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id DCC5E42F82 for ; Thu, 18 May 2023 18:46:08 +0200 (CEST) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-643a1fed360so1619074b3a.3 for ; Thu, 18 May 2023 09:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1684428368; x=1687020368; 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=2+M/fhA72Xfy7F8hNeoJdHaLyFVtKCbB9f9dLC2G1EzjGe6bI7gRMs9NMpRUvYyplh SFTHp8BfwwUlpZ0WxF6WvFWJZ7jHRRf20PsWJTCC+tAfV10v2cFXbzF52YCPqNmV7ClX zQZAYBZb2vmpjRpPbLBY0no2hctTmV1JbS5w+WgbA04JGbWsg7+gkKA75Tnn6CRxwCa6 JF8CSCUBGxg/jeu6tUoz9iZAo5s0dVC23Q4XyC80vC6Gf/yqy4hyO6RtS7YdgrhzLj95 Z5+rMv/a0og/Qlc44mNhJ30Lk13h7asH2y2GmVyhhyGkqlwUQLbKklsM+r1VyD0N9GRL qRFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684428368; x=1687020368; 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=kKQ9Va5hNNyHcaExPdV8K/oMeIrglxnu+Pt+nUS6hcarES/C1XyWuiJvrjPXgvY6Qa sf6u6JtDVN1f1RGH0AhQ+vkBpUKgcq72PNPPIi5AslCt0se02EELFcOcERm6SjH1mMAU miRwvEv+gvmNDi9TKr+/CE62RnkYrlCsErisRLNxhg7TXaQGqM+ELrW89GDrtKWgHzjU fzkc2nLphdvQH9ZW7kXLrR34Gg60DfFQKXsk4flilNO2NgKC7L49KNvYzBdENpouBYyQ 3Qw2oeCBEj+PSaDUT2WH9FsOirU3bcRPP35/jdQbay7RlxJdCBrQs+nNH6s+uhtdv6JE ATrw== X-Gm-Message-State: AC+VfDwlV4pkfMce/BkpeEC9ZdPqcuwhwuruVMkl0prq/bZCit6kq+GH GR9qb3N7aJRV/jxLHhBlHyUbKzhEn0KCvMK0A0YOatRo X-Google-Smtp-Source: ACHHUZ7/dwRuvfkgTSMvj1uwP2aVZmUdjP1Os3ongKzcrgcEZ7ODjBuLbYPFiY/dRllR03Gfu7u4Pw== X-Received: by 2002:a05:6a00:15c1:b0:64c:ae1c:3385 with SMTP id o1-20020a056a0015c100b0064cae1c3385mr5895100pfu.32.1684428367881; Thu, 18 May 2023 09:46:07 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id j7-20020a62e907000000b005e0699464e3sm1513579pfh.206.2023.05.18.09.46.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 May 2023 09:46:07 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Jiawen Wu , Jian Wang Subject: [PATCH v2 16/19] net/txgbe: replace term sanity Date: Thu, 18 May 2023 09:45:43 -0700 Message-Id: <20230518164546.108105-17-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230518164546.108105-1-stephen@networkplumber.org> References: <20230517161603.117728-1-stephen@networkplumber.org> <20230518164546.108105-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