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 8433A41D40; Wed, 22 Feb 2023 17:25:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E5E6343024; Wed, 22 Feb 2023 17:25:48 +0100 (CET) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id D965343013 for ; Wed, 22 Feb 2023 17:25:45 +0100 (CET) Received: by mail-pl1-f177.google.com with SMTP id u14so5431135ple.7 for ; Wed, 22 Feb 2023 08:25:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; 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=D/+pXAfan3vWjP6CbAJ2Q5YZYvDbCZd3VC1VlL6hP3Y=; b=Am6EC5/rBOlSPnk76FQNTLZQ9b5QCpKkLOVX0y/NbKMmjmwhtBqYhq1Kdqk1AfkcRm Clu2pt8EOPrc6T68PPTsR7abnfbuEDYz2LSV+yRygBZGaD6/qoSNm08vr5Wg5wtnHWA+ ZCBVN4NDbHy/k2o3vDe2oEtKgKTD9KlZP6e2IJ9NtevA7sk67Os0E8NWoPnqZ4ot/Fzv XWbDTM0BTlXTyyBn0Jq2d8l3rbQ/btpHX9c9+nV0m8/FIgmc4hAADL0KCYKnbRHlopB9 E7o0e+WAViSMEvM9Ny4UXmsR8AyGb4J6/VqNQKCdQXqx8F5w70a0xFfNBoSUnvN9Za0l 8hjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=D/+pXAfan3vWjP6CbAJ2Q5YZYvDbCZd3VC1VlL6hP3Y=; b=b259NT5GTgNsHrkViB7VpAJWoH4iqEbOfH6nkJbKnN57v9blJUHIupioYiJOA+iNUU STHiShfcdET/ZgZ9CUxoYfaTmnU/t+ig2cDvWu2jlwLrvYFg2F9S9Eu6tto6CVV6kuEm tGohg54d4oE7i/MKUP5LicBNqkpPQq/alEJiu6TKVGtPWf5gwK+CvTD9h30TrIo/hrHH ejG9B9hzmQj5yAm7RoCZcXNx8819AAtx1GgQM/bHsIBo1M9bCm0F/zs8aZ6iQzgcKnYI LbggXFTaKP1Qv+tqxVNGlMb8Pyup+e67GMhBV6jXP1kpWoZw1UIS09lJvEDkILX1kAGv Br5Q== X-Gm-Message-State: AO0yUKVtamYzOaqAph44kPvwYX2FYLuelj3uwEvE9/kwdi5OiqFRLgCx qi4YiBhQbdizx4SGNi3COC9ZL0sWmqp8TUX1rHY= X-Google-Smtp-Source: AK7set/RVtai5GOt7gaxnW0e4ZEX4Ag4T8YC5AHB8V5WQt4VwqCwRjZxBOPaeXKdiChq9N52Sblbjw== X-Received: by 2002:a17:902:fa10:b0:19a:b35d:dde5 with SMTP id la16-20020a170902fa1000b0019ab35ddde5mr7131129plb.6.1677083144587; Wed, 22 Feb 2023 08:25:44 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id p5-20020a170902a40500b0019adfb96084sm1510781plq.36.2023.02.22.08.25.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 08:25:44 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko Subject: [PATCH v4 01/19] ethdev: reword dev_info_get description. Date: Wed, 22 Feb 2023 08:25:21 -0800 Message-Id: <20230222162539.127103-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230222162539.127103-1-stephen@networkplumber.org> References: <0220722214106.162640-1-stephen@networkplumber.org> <20230222162539.127103-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 The original comment was redundant and had duplicate word 'of'. Signed-off-by: Stephen Hemminger --- lib/ethdev/rte_ethdev.h | 32 ++++---------------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index 049641d57c66..14b8fa8402f1 100644 --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -3275,34 +3275,10 @@ int rte_eth_macaddrs_get(uint16_t port_id, struct rte_ether_addr *ma, /** * Retrieve the contextual information of an Ethernet device. * - * As part of this function, a number of of fields in dev_info will be - * initialized as follows: - * - * rx_desc_lim = lim - * tx_desc_lim = lim - * - * Where lim is defined within the rte_eth_dev_info_get as - * - * const struct rte_eth_desc_lim lim = { - * .nb_max = UINT16_MAX, - * .nb_min = 0, - * .nb_align = 1, - * .nb_seg_max = UINT16_MAX, - * .nb_mtu_seg_max = UINT16_MAX, - * }; - * - * device = dev->device - * min_mtu = RTE_ETHER_MIN_LEN - RTE_ETHER_HDR_LEN - RTE_ETHER_CRC_LEN - * max_mtu = UINT16_MAX - * - * The following fields will be populated if support for dev_infos_get() - * exists for the device and the rte_eth_dev 'dev' has been populated - * successfully with a call to it: - * - * driver_name = rte_driver_name(rte_dev_driver(dev->device)); - * nb_rx_queues = dev->data->nb_rx_queues - * nb_tx_queues = dev->data->nb_tx_queues - * dev_flags = &dev->data->dev_flags + * This function returns the Ethernet device information based + * on the values stored internally in the device specific data. + * For example: number of queues, descriptor limits, device + * capabilities and offload flags. * * @param port_id * The port identifier of the Ethernet device. -- 2.39.1