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 2A4E242B4B; Fri, 19 May 2023 19:48:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4831E42F8C; Fri, 19 May 2023 19:46:38 +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 8319D42D8D for ; Fri, 19 May 2023 19:46:34 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-64d30ab1ef2so771518b3a.2 for ; Fri, 19 May 2023 10:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1684518393; x=1687110393; 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=v4tNKJa6uzBIfiJ3kQOypqOWtAeUTVEF9snpsGE1yfv/egqp7TOvascMbU8BBKXHAZ bM1G6HB9n/fRZmGpoijnl0IUmChGA3N1vS+hGZxrD6l6WYusSwtKYI1x93a+rTnl0WeV Sr7ClARf0EwjfLdcDch9QPiQq6BGvjhlv0T2IoKD0+e/efGqX8pbprUrs42nBZPBTRr3 NT+a6+siHGtoLrO2jzHCy5KfyT4kDH/WzWleHWTUXk2GJtlyQMmUDqr4OrjMMvjzDVlz gP50riOyMKuPKJMKbMFpunpAG/H/WEVleuUfrc9vU+MRMTb8HqF9B0qq2PguRbMTh0R4 bp0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684518393; x=1687110393; 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=YI20t5euWA0uZnKYT51erzM9EamQ9x1kuGH1ep7bmzp1ZEuRk76G9a8cT6KIaeJ4gn xHsWa9vt6JrQ4yM6q3am2XrchkOCTkTCfxr3XZtIcLg+7rGu7akyDr6zcGTmR4w24nRN 0K3y+duU2K/slZJwzWIyow/ACBEOWl73ud/G5dzCiYwifQxQM3wkaF3FjSPA5hZI2CaW nbDbgTbtpf94K3VKdzco2yY/tnMLkwxV1ZIDh9BSEzg97LO+RJk6dFcp3TcVbO6z9CSD /Wcilujc063M4/v96e67C9Yfm0T8LvkxyCV+INJmuhyGzjgr3Er3N+o0BXgdT2sDIYtT QqkQ== X-Gm-Message-State: AC+VfDxv7P/wtZEWPdWhCwTVmY28mGzfzcnS8jk30cBXlEOr34l9tQBv kqKsbPHCZ8ZWsx/bVe+tBu2kDrv3v6BH+aocsaeKSA== X-Google-Smtp-Source: ACHHUZ7PAYIQf0p1gqKk0J4iJlmspNla8imDfyX8Y1oUDJvhAHL/ZMCn5/X20DljIqk//IjoMWCcNw== X-Received: by 2002:a17:902:7c97:b0:1ae:3e5b:31b1 with SMTP id y23-20020a1709027c9700b001ae3e5b31b1mr3299547pll.9.1684518393517; Fri, 19 May 2023 10:46:33 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id e3-20020a170902744300b001aaf2e7b06csm3713101plt.132.2023.05.19.10.46.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 10:46:33 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Rahul Lakkireddy Subject: [PATCH v3 17/19] net/cxgbe: remove use of term sanity Date: Fri, 19 May 2023 10:46:09 -0700 Message-Id: <20230519174611.11232-18-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230519174611.11232-1-stephen@networkplumber.org> References: <20230517161603.117728-1-stephen@networkplumber.org> <20230519174611.11232-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