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 CA971A00C4; Tue, 26 Jul 2022 05:35:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 016BC42685; Tue, 26 Jul 2022 05:35:12 +0200 (CEST) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mails.dpdk.org (Postfix) with ESMTP id 6635040695 for ; Tue, 26 Jul 2022 05:35:10 +0200 (CEST) Received: by mail-pg1-f176.google.com with SMTP id q16so12084876pgq.6 for ; Mon, 25 Jul 2022 20:35:10 -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=uIV2MEZ5KLFuV0hrOiPI5NRwkhM0KPUVEfbhi6d/ePc=; b=vaE5ofsGleyEKHSFG6sMW6si7neTxJ56tn2s3+r3hQBCNU5VU3iLi7FXolFNnp6cDR Hv8pNu3D1B4tvhAWo9MyifykU1YfnSUNaSJxLcIfwa1GuKxhVoMu/93OMm2hRsrt315c mW3b6CxSu0gc+8RqeS5Z+UIQnE/j4+Ze6qqHKSAMgCt+u2JWd0/L91Utk30+rg7BKTIa aG3r0aNCM95e2s8l4sTR2rq/QU0zlQuaI2/IBtW7q28o6GBdQJlWGgVDFBSkXaLOsINz RQf1VNgjcruiQLyPtDGWZJYfAgNehLTBmNdwlMaalAWad5WhmZdLNyexx/Htn5iOOUaD tuWA== 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=uIV2MEZ5KLFuV0hrOiPI5NRwkhM0KPUVEfbhi6d/ePc=; b=fW/bJ5OT9KbhlIxXrhZoZg/9/A3nylHCBM2ZkdSo/K+uqMORtnkDhIKP9jD+0yik3z XJtdBRKhwEygAbpF+JfVj4gEwouRqvdJsPL91oFA+6tP4JOkIxaWYZJ0RRLOdZ41fpTp Ojm1we2rLJEC5ZgqzrM6HhEqOuS8GMJXnyyEtp60R1mQVl7QEkOEzLioX/ml+i3pfsCe 28gYPM7ZfxhWZYQjraMX74cxT5Jef9PVFIuDnDRQGADAx24NwM6HkGpPV+Kqw4jhYxVm TMo1eQIUl7pFNyk/j9eBxoSxzWCeu9YsNscQXPtnN/IjZpNL8pkqbdEK/qBUog51SZSK Fp0A== X-Gm-Message-State: AJIora+XhGKSarUHQFEFsS+M9PPnsy9kVgvr2cHVnoiBPk6RRlD6Brfz ZwT2BQ7/rB9cg54fCccrJaksdYM624eTyQ== X-Google-Smtp-Source: AGRyM1sxcdmYz3Hj105tc609ZKkZ9I3rwv4/SQQE59DW9wAxunkY42yu36bCKwaDrFq85UJ0ecpyyw== X-Received: by 2002:a63:ff66:0:b0:412:6f4c:1e11 with SMTP id s38-20020a63ff66000000b004126f4c1e11mr13532833pgk.396.1658806509261; Mon, 25 Jul 2022 20:35:09 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id a199-20020a621ad0000000b0052bead2183asm5674534pfa.159.2022.07.25.20.35.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 20:35:08 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko Subject: [PATCH v2 01/20] ethdev: reword dev_info_get description. Date: Mon, 25 Jul 2022 20:34:44 -0700 Message-Id: <20220726033503.65407-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220726033503.65407-1-stephen@networkplumber.org> References: <20220722214106.162640-1-stephen@networkplumber.org> <20220726033503.65407-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..48e0814f2535 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 + * overriden by the device driver specific values. * * @param port_id * The port identifier of the Ethernet device. -- 2.35.1