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 3E6EE42FBA; Thu, 3 Aug 2023 01:27:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B3F5432B0; Thu, 3 Aug 2023 01:26:22 +0200 (CEST) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id D999243299 for ; Thu, 3 Aug 2023 01:26:17 +0200 (CEST) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1bb7b8390e8so3035735ad.2 for ; Wed, 02 Aug 2023 16:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691018777; x=1691623577; 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=QbPW5NlN/oktrtXO/Djd0dV/g9YCo5upuw7v3/N0IxI=; b=BgxKyPtenKC3lz+UIpveqJI+Fq1IWiazlEjcBZITrgjW/Hb0k7v2zYPM9WOD5sosHG 2wxvtrGgg1MiThXfEMxlYf/Fku5E3nm/f/jlKD0zdhaX4x08Gd94NnTolLzYBAu05CQp g4uJPs4JNCXm6FLbDzzbkgTwM8T0Y8DdAVP4uLCdnmFPPeZrLkLbghywXLF6BmiPv0KZ SpY2GXjidGahBhpcnXYOu9er9lOdSpFB4SLE0ucCJwHqXaYcV2vom6GlmbQBjVz2LHgD gZQew0uWNF6gj5PhE0OIvLdgpfgCgJ6jnorH62vBlvfTiqAsaKoEt5vYaSBguX1vZ8ua DVBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691018777; x=1691623577; 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=QbPW5NlN/oktrtXO/Djd0dV/g9YCo5upuw7v3/N0IxI=; b=YVdaH5kym9urwQaGciZzCMaLbX8Ybd7bYFF00vDFNHQ6RZV1pzjWC28VSPtJtH5F7M phz8kK3gHQJuwF30WI1QoBsxhDKK1onGNADRWCP/I6vPLRoHsYMHwI8crZvqmQPB9YQQ Vfc+FMnDXWWfQK6zAJy+j6Kd5KwckZFdbWPGez624Scd1AMKO6OXtms4MJnLG+Rr6cFZ fK2h3RiFLnGUsK+krwULuxIbdS4Zjonz4JdtIoG06HJKgHGTf5Fp0YILmmj1q6PMfxH1 BIB6S0ciXETtycZAOA+SCdjdtk2vq5qUNd5OQRm2VZ5JSFGhnGjCBDnJr5Db1a5mml+7 +63A== X-Gm-Message-State: ABy/qLYtu2yETP2CnZpna1hzfjDB2XcuBj0GgvX3U/H3f3yw0TMkrCqO M16QYMrQ+/JFT8LE0hk1CuhDi3ceAXCgWDkPobJzfw== X-Google-Smtp-Source: APBJJlENYFVGY76tTzno8stTR3smJ8IEy5mJ44D/lPDshENlQhPBk10xfDYU94q7+pHYvx2zErQF9g== X-Received: by 2002:a17:903:18c:b0:1b9:e481:ef3f with SMTP id z12-20020a170903018c00b001b9e481ef3fmr18854024plg.9.1691018776851; Wed, 02 Aug 2023 16:26:16 -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.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 16:26:16 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Rahul Lakkireddy Subject: [PATCH v4 17/19] net/cxgbe: remove use of term sanity Date: Wed, 2 Aug 2023 16:25:48 -0700 Message-Id: <20230802232550.125487-18-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 Remove non-inclusive terminolgy. Signed-off-by: Stephen Hemminger --- drivers/net/cxgbe/cxgbe_ethdev.c | 10 ++-------- drivers/net/cxgbe/cxgbevf_main.c | 4 ++-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c index 45bbeaef0ceb..2abb721afda1 100644 --- a/drivers/net/cxgbe/cxgbe_ethdev.c +++ b/drivers/net/cxgbe/cxgbe_ethdev.c @@ -518,10 +518,7 @@ int cxgbe_dev_tx_queue_setup(struct rte_eth_dev *eth_dev, eth_dev->data->tx_queues[queue_idx] = (void *)txq; - /* Sanity Checking - * - * nb_desc should be > 1023 and <= CXGBE_MAX_RING_DESC_SIZE - */ + /* nb_desc should be > 1023 and <= CXGBE_MAX_RING_DESC_SIZE */ temp_nb_desc = nb_desc; if (nb_desc < CXGBE_MIN_RING_DESC_SIZE) { dev_warn(adapter, "%s: number of descriptors must be >= %d. Using default [%d]\n", @@ -642,10 +639,7 @@ int cxgbe_dev_rx_queue_setup(struct rte_eth_dev *eth_dev, eth_dev->data->rx_queues[queue_idx] = (void *)rxq; - /* Sanity Checking - * - * nb_desc should be > 0 and <= CXGBE_MAX_RING_DESC_SIZE - */ + /* nb_desc should be > 0 and <= CXGBE_MAX_RING_DESC_SIZE */ temp_nb_desc = nb_desc; if (nb_desc < CXGBE_MIN_RING_DESC_SIZE) { dev_warn(adapter, "%s: number of descriptors must be >= %d. Using default [%d]\n", diff --git a/drivers/net/cxgbe/cxgbevf_main.c b/drivers/net/cxgbe/cxgbevf_main.c index d0c93f8ac3a5..dfb12b4ed5c9 100644 --- a/drivers/net/cxgbe/cxgbevf_main.c +++ b/drivers/net/cxgbe/cxgbevf_main.c @@ -137,7 +137,7 @@ static int adap_init0vf(struct adapter *adapter) /* * Grab our Virtual Interface resource allocation, extract the - * features that we're interested in and do a bit of sanity testing on + * features that we're interested in and do a bit of testing on * what we discover. */ err = t4vf_get_vfres(adapter); @@ -148,7 +148,7 @@ static int adap_init0vf(struct adapter *adapter) } /* - * Check for various parameter sanity issues. + * Check for various parameter issues. */ if (adapter->params.vfres.pmask == 0) { dev_err(adapter->pdev_dev, "no port access configured\n" -- 2.39.2