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 28EB6A00C4; Tue, 26 Jul 2022 18:30:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 000D14281C; Tue, 26 Jul 2022 18:30:27 +0200 (CEST) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mails.dpdk.org (Postfix) with ESMTP id DA61740E0F for ; Tue, 26 Jul 2022 18:30:25 +0200 (CEST) Received: by mail-pf1-f180.google.com with SMTP id e16so13661000pfm.11 for ; Tue, 26 Jul 2022 09:30:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XKyv0hMJK3GCp4VCx3Uc4LSIi8qIpehs11wDkqucVGM=; b=8Nurn3zrWwu3qzae8n7nk1sqPKxqb8w7E8UQVK37ZRwm3H+z/9JQrppvoc11g3TGtZ wM9rZMEvx1Ziwp5mI7RllC4jLxM8JlmG3klVYhDFMvLY5xASzyZxWOgdbQm4QtBbJSv9 Tdc18q5i6mpFV85pKHob42xnHtoB2HPZVo2P1f/8YkaNHyJdxmMlcubP+GGo9gp56Cs+ bV+hItR/Q4M6ivgCyq122uVNKDD+hCB1DGiX+v29WWSRihMCoLFOArME3mmSbKMeQr/H pvW3SygJgDg5wT/v7SwDv2dfEJrwRPam8DLHSgUEsjHXdIwo6M0MC7HvUVpP0HCOC5O4 gMlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XKyv0hMJK3GCp4VCx3Uc4LSIi8qIpehs11wDkqucVGM=; b=Lg9zP7ey1sBIDG/prD85OH+6IBpxegEH5nmD3B3yU4oNWXM64Sw1dAzo0/XEhYf/ff sDWybuVqqQ+JPtM/CmctFqgIor1XOGSHmBwXwGJ027m7XCBKmfulNNxQAlRpZKq6EMwf KXNlvizb+9wJxY0E23MQm6q/GVTHqElcKi+ji9wdYtJsrHtRBkQjoRLr88yTwMMLsWDg v5uDH0vkE9Cs+FoovDZaahkVKBm8Yvq+OO2NNme1VesEgObGnvLQQOLnJ2kCDqjLIX02 fYvd6vWS3Kjmtd6MiWmk0bMNK+CTfB7HiIKrRi6sx+vmnr1ef0sAiplHFCghe+QJ55Aj PutA== X-Gm-Message-State: AJIora92JMNXu/tGuMR0Eev/OXk53sxVsumLmUux99oLRfxkAyS4DQP5 TX7Gt79YCGig6wtRQzWddhJrl9N34AnSLQ== X-Google-Smtp-Source: AGRyM1vMPy067e2IAFESaXjdlOlI/f3umX75gj/msDM1hK1V27bk+9ZQRzGTc/eH9g0lLRB6YndUjw== X-Received: by 2002:a63:6c87:0:b0:419:b667:6622 with SMTP id h129-20020a636c87000000b00419b6676622mr15147073pgc.495.1658853025268; Tue, 26 Jul 2022 09:30:25 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id y190-20020a6232c7000000b0051bbe085f16sm11844155pfy.104.2022.07.26.09.30.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 09:30:25 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko Subject: [PATCH v3 01/20] ethdev: reword dev_info_get description. Date: Tue, 26 Jul 2022 09:30:01 -0700 Message-Id: <20220726163020.15679-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220726163020.15679-1-stephen@networkplumber.org> References: <20220722214106.162640-1-stephen@networkplumber.org> <20220726163020.15679-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 | 33 +++++---------------------------- 1 file changed, 5 insertions(+), 28 deletions(-) diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index de9e970d4d11..d2eff20b8917 100644 --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -3356,34 +3356,11 @@ 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 = dev->device->driver->name - * nb_rx_queues = dev->data->nb_rx_queues - * nb_tx_queues = dev->data->nb_tx_queues - * dev_flags = &dev->data->dev_flags + * The device information about driver, descriptors limits, + * capabilities, flags, and queues is returned. + * + * The fields are populated with generic values that then are + * overridden by the device driver specific values. * * @param port_id * The port identifier of the Ethernet device. -- 2.35.1