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 4BC2242B34; Thu, 18 May 2023 18:47:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F0BF942FA2; Thu, 18 May 2023 18:46:12 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id 0FAE542F8A for ; Thu, 18 May 2023 18:46:10 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-64cfb8d33a5so1278844b3a.2 for ; Thu, 18 May 2023 09:46:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1684428369; x=1687020369; 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=MEPNHOOhXn0szyhjcYDZYu7OtGU9wHnxLqjSYgtWdt2jnwWWjwItGFKBEpohn+IAmH buXG2iiApH90Js+nCsPsSVFKymsG4rIvlu8BjNDuE33x5DOakwupXalJ+1i0ywL/mWmy XvBlxfcxJtJ8na+kq9kzSik5r57TG00oBteE/keqRCWShV1IMH19/wymwLWLp/IWc9nH CXFxDCnyU6VC4Dmax66R+k/mCOEH2ibqhwHEsUOWlXKYnLCpBMIJEKpTn0B10Y8Sntfy LhuT3OM/rwKO0vPL1A+Xuk78PE/DCvdRFLdw3WtH067sXsMyD3tHw87U42m4+5o86TrU lMtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684428369; x=1687020369; 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=CHvI+Zj3JoT/yc74XlU0NQzEvQhMKm0SCSGoQezJ2N0bR7XaNOMAg4LdprJ9Xiue2T MxyWKIzScc00q4Oz6cI2QvMta+beOpoZdHAkbQ7WIk13BqSSmSie1DBq8TcwYxMCjZMA vKcMJD/76BIomXUomPxk3jkqiZ8Xf6fHlof0EWaVQ3M0INgIw/GrKH1yqlqOts4HLX4P dyS+DH3XaCAfKHlQgo2A7YTsPpgVOPcWu++eXg2DQ9HKpaEaDcHQ3l57UqM0MefF0goC FLOwmmXN9Jl0umCvX7rtdMFHoiic5ZgKamm+sM3AlmofanjmQKNFOECTnwLqYarU8a3N Zkdg== X-Gm-Message-State: AC+VfDz/aQo3w+3HIJWDDd8ytYSgqICUfKLwqmOyZzoAjWE+BDYUm+oL UPRE66b7s0U3gsf4GO3UclV81T4VyiPpOf+St471llU8 X-Google-Smtp-Source: ACHHUZ7/pSTSZZCAZ986SZ6NnM0x/oPTZ3QOxtEFkCIPt+BOJ2Hi7GHF7Vn0rVTXCeRrEsSgdLpYlA== X-Received: by 2002:a05:6a00:1308:b0:648:1311:fbc4 with SMTP id j8-20020a056a00130800b006481311fbc4mr5407161pfu.33.1684428369263; Thu, 18 May 2023 09:46:09 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 May 2023 09:46:08 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Rahul Lakkireddy Subject: [PATCH v2 17/19] net/cxgbe: remove use of term sanity Date: Thu, 18 May 2023 09:45:44 -0700 Message-Id: <20230518164546.108105-18-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 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