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 CC8D142B2C; Wed, 17 May 2023 18:18:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 52EB642F84; Wed, 17 May 2023 18:16:34 +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 9451A42D94 for ; Wed, 17 May 2023 18:16:27 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-643990c5373so916656b3a.1 for ; Wed, 17 May 2023 09:16:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1684340186; x=1686932186; 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=e8Avn0foi1tEmuX0lGMBRV6nC1t1xCS/bUsDbXwA5suDZAebWG/S5pZh/1Y6wZEw3a B3vaeWxFwjWSoZf/PE6MGK2HswbABf6TtG07mcS9a8eJ9vS/dipBuKUM+7YW4nVaK6o8 ZTogrPslG0rX0PGcl7qlD5CaVGf1MqfZ7RfvrKisdASVKzqF5e25wr7xIiH1a5xe6fQq uC9DKj8U1hnMlCUMkZ8dKMVwm4grRReRPBF1uwKBDOUgRKyBE7VGVo5/xObbgH5gIYoI +SkSr3GsV0/dJq153kGNNjA7rblnSyDDgjS6Evk5t6j/k1y/kdPsyqVwLZcQGqnOIpzk 78Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684340186; x=1686932186; 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=kP0Jd5Fq+vt/j+BkP7G69zPUOwyxxxZOBYUhQsS9ngOBInEduVQVKTnmWShWdWfTi6 1T+6rjAWNCfov7/MvAK6rlJZuOZdXB8xjs/cqXzswDd0AtF3fvfZ8QdDJkYSrfORGeYZ vdDvW0iI3unwKEpr19QveN7TRc1l5AMvYPY1QgLvWwBal7ESuIoM2gKZH1IOvstg3Gmd FryqeUAJmJmCV6jAQerlpBC2UTxnoOAqymOPxFTrJoS/60eTxdp8G6/1PPKriTXzZayO RD4e5xhMl/xmMsec/06DgGwBUOhCluW+JCtxfetnc+fwK/BUoZ0jOeYgq6+afz4KQvui 6ATg== X-Gm-Message-State: AC+VfDyte1lOrM+ZboERZkzCvco5AG6wzrwMtCRVwWg3I9yeI/HFcdeG JDlm3TWaMKy257rY4PzVpn2uDmTL+gMHIjx08sFjtA== X-Google-Smtp-Source: ACHHUZ574WD2Sq081TAFNgFhyP3C4R5cCoFJdG+dlzp9rUKgmrKh/E/pHRq0HtZlH18llpNdM8tcag== X-Received: by 2002:a05:6a00:2ea3:b0:62a:d752:acc5 with SMTP id fd35-20020a056a002ea300b0062ad752acc5mr160454pfb.32.1684340186608; Wed, 17 May 2023 09:16:26 -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:26 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Rahul Lakkireddy Subject: [PATCH 18/20] net/cxgbe: remove use of term sanity Date: Wed, 17 May 2023 09:16:01 -0700 Message-Id: <20230517161603.117728-19-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 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