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 E705A42B2C; Wed, 17 May 2023 18:17:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6679242DB5; Wed, 17 May 2023 18:16:32 +0200 (CEST) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mails.dpdk.org (Postfix) with ESMTP id 966F242D94 for ; Wed, 17 May 2023 18:16:26 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-64359d9c531so712920b3a.3 for ; Wed, 17 May 2023 09:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1684340185; x=1686932185; 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=oYAJ0Ca3WyuCl7E8QbT6Pm5WKrFz5YRKCzJPxQnyEUTHi/B+5abr0sfj/KQR3Kw1+o L9Lmlkknd/Q4uF8eJbXC6Pq7SZVW6PWb/cxZ+FRbt9/sNSJsr60sH9eFY8bBg1DxngNy gOrbKhRLqLJMXwyzAW2oZ8L2daELgiqOB1A/0srfa6UM0YMFWhVLCZlNgrozR/q5EMST NFGVARc2H/KVAqDPSYyJ0FwY5pNtCB4zvBWdX08FfSmhx2dEhFlgw45CfAEU4LTI1R40 ibLjBT48bhijWMHDNBG7R2SbNqG+i8Fh+OWWF7VymEyypjHY9laHPFfzHKP/f+LRTR+D IBzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684340185; x=1686932185; 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=HzvgKBnSUW366GdYrgmG2Nz1MxdgpE4tNIDtLmoP8j5OOa6ypkt38ZwDKfHVPj3nqD +f5ilM2OCz8xx7pCEZd09e1hKmDVT9SQDIQhjsZwOA56tIOwwz1CcYtKKA4/l53tbDX4 50/qAX4/4oL8qRk2O9UXUpHbrxyPTgDU/sYu7hpmyYT/yZYvh9cf6nCitvLNRM6Sqzm6 lSn7okNbx8QMAlSIIKtDZ8qEgpktKpbymnRO+wdRFrlcp3G327YLFM6dPeeLBCFy9BRU qV4XLF/PPbPDhu9cdV84UrAxcDvUmmFbt4KTj/kq9BJ4ieMU6PzUfh/oO71f2x9lz3b8 GDjA== X-Gm-Message-State: AC+VfDzMpdcrfOZyF4H/eaG6VOTtOEAH9rsnDnXrh3/IgtiOEC6qaGV9 0hj7CQyqtOoHsX3o4qWBBWXICZ9bZa0WK02/FKFBLw== X-Google-Smtp-Source: ACHHUZ7ov9YRxzELfmnhBTVSmp7wenW2kAuv5uIL+R/9M6cSGm0OHvWshNgthm3iLa7Potscbn/iJg== X-Received: by 2002:a05:6a00:1311:b0:63b:5c82:e209 with SMTP id j17-20020a056a00131100b0063b5c82e209mr336730pfu.10.1684340185579; Wed, 17 May 2023 09:16:25 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id h5-20020a62b405000000b0063f33e216dasm15793009pfn.96.2023.05.17.09.16.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 09:16:25 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Jiawen Wu , Jian Wang Subject: [PATCH 17/20] net/txgbe: replace term sanity Date: Wed, 17 May 2023 09:16:00 -0700 Message-Id: <20230517161603.117728-18-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230517161603.117728-1-stephen@networkplumber.org> References: <20230517161603.117728-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