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 BCC5243A3D; Mon, 5 Feb 2024 19:06:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1E03042D72; Mon, 5 Feb 2024 19:04:04 +0100 (CET) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id 61FB44161A for ; Mon, 5 Feb 2024 19:03:57 +0100 (CET) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1d73066880eso40763845ad.3 for ; Mon, 05 Feb 2024 10:03:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1707156236; x=1707761036; 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=lT/4FwNf0uq2QP0fvygzZtYOTCeo5EK/ZA8tz8D24Dw=; b=jXQPE/HWXfiotpBT6hnovlLMcpBnUUxUcaOa9kaLBcPBKp6MJ+ZVI421PBheYdyPzx WhFh5B7qjk5z3yVvnRz5f/A8RA++aYFZZ5YCUS+DcjCpfBOWnRCg5+gkrfhnjQQL12li xpHcOoU1oiNOLFucjkoX8NDqfuAop8PrL5HTwrBEC5dEVOkFFtGckQag3ksGPS/sD/5m pn/CabCIlPL+XrBIqy7zXYk9g9maAEIviYCEsuxNfYX3R4DB4USjvmfA9Qpf/8G1hvAN hUVB/5P5JpRF7ecZv65N6/zOBUiq0tD1HNk72Lanq7qgLbUpGU7wPsc7hI04bK06B3QC mAfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707156236; x=1707761036; 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=lT/4FwNf0uq2QP0fvygzZtYOTCeo5EK/ZA8tz8D24Dw=; b=YmB5/czdU2C5LNABsG9jRTXOi7leYVtVd+of30H/oWjBR1Ydq1yJIFehq0HmpUcfBD xnC8Rk1LuiEdtPaOjkc2evjogSRF5jH6HwGQtyBb3GT6GsDNcHMYjqjc2V1qpv0vOQT2 70nlIW9+uuz5P8pdayq7fJWrl+FsWrIOmSW0ypj3KWaVqMAviuwWDEmDMiHYAugAggre SsqOG5vLGkyZH5RRGRj48nT1riQTCcTvzYxvHFP3aaTRjovWOLFssVCH8PEV4HEBluoU gl0Ed0WKtJ0nEceQZFEja8wVbyoJXW2ukdYbrkf2RYib9yF4qNN/NpTgKmmKAVPFXK22 TiHA== X-Gm-Message-State: AOJu0YzF5cPNsJekw8VKmZLl4TVQty5k6uWI2KtrEJqfHTdiI4UWsN8h YTR5A/Vd6eIuokt+QjQyhNLgG4IL+/Y3Lepq96lotUsMc248F8wopiziQsCL8h1c3hd2JNvzqsN 35q8= X-Google-Smtp-Source: AGHT+IGZsFmsrmFfq5T2hcG2Xi9JewkKUyCXIYqX0Ws+fqcptwBXJ37Wi5YeexbB39p4M0pI/WpMIA== X-Received: by 2002:a17:902:e88f:b0:1d9:1359:75ec with SMTP id w15-20020a170902e88f00b001d9135975ecmr259519plg.30.1707156236674; Mon, 05 Feb 2024 10:03:56 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVczmsQavlEwXh2JiShXhVP+91seoRGjTkSSXImW5x6PomYw2Ef0zwwtKengb789HDHetLMv0b2EVgbr9/El4WDQk0NupdbkaXqtaGIPvk0oZCCjPWROwXkCjz6z+6hFn4= Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id x8-20020a170902b40800b001d9b0a15bbfsm144867plr.262.2024.02.05.10.03.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 10:03:56 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Jiawen Wu , Jian Wang Subject: [PATCH v9 20/23] net/txgbe: replace term sanity Date: Mon, 5 Feb 2024 09:43:48 -0800 Message-ID: <20240205180328.131019-21-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205180328.131019-1-stephen@networkplumber.org> References: <0230331200824.195294-1-stephen@networkplumber.org> <20240205180328.131019-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.43.0