Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/124381/?format=api
http://patches.dpdk.org/api/patches/124381/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230222162539.127103-2-stephen@networkplumber.org/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20230222162539.127103-2-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20230222162539.127103-2-stephen@networkplumber.org", "date": "2023-02-22T16:25:21", "name": "[v4,01/19] ethdev: reword dev_info_get description.", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "e0f27c26ff7de69b2f2399c765480e2092694803", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230222162539.127103-2-stephen@networkplumber.org/mbox/", "series": [ { "id": 27141, "url": "http://patches.dpdk.org/api/series/27141/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27141", "date": "2023-02-22T16:25:20", "name": "Remove repeated words in comments and messages", "version": 4, "mbox": "http://patches.dpdk.org/series/27141/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/124381/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/124381/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 8433A41D40;\n\tWed, 22 Feb 2023 17:25:50 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E5E6343024;\n\tWed, 22 Feb 2023 17:25:48 +0100 (CET)", "from mail-pl1-f177.google.com (mail-pl1-f177.google.com\n [209.85.214.177])\n by mails.dpdk.org (Postfix) with ESMTP id D965343013\n for <dev@dpdk.org>; Wed, 22 Feb 2023 17:25:45 +0100 (CET)", "by mail-pl1-f177.google.com with SMTP id u14so5431135ple.7\n for <dev@dpdk.org>; Wed, 22 Feb 2023 08:25:45 -0800 (PST)", "from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218])\n by smtp.gmail.com with ESMTPSA id\n p5-20020a170902a40500b0019adfb96084sm1510781plq.36.2023.02.22.08.25.43\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 22 Feb 2023 08:25:44 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20210112.gappssmtp.com; s=20210112;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=D/+pXAfan3vWjP6CbAJ2Q5YZYvDbCZd3VC1VlL6hP3Y=;\n b=Am6EC5/rBOlSPnk76FQNTLZQ9b5QCpKkLOVX0y/NbKMmjmwhtBqYhq1Kdqk1AfkcRm\n Clu2pt8EOPrc6T68PPTsR7abnfbuEDYz2LSV+yRygBZGaD6/qoSNm08vr5Wg5wtnHWA+\n ZCBVN4NDbHy/k2o3vDe2oEtKgKTD9KlZP6e2IJ9NtevA7sk67Os0E8NWoPnqZ4ot/Fzv\n XWbDTM0BTlXTyyBn0Jq2d8l3rbQ/btpHX9c9+nV0m8/FIgmc4hAADL0KCYKnbRHlopB9\n E7o0e+WAViSMEvM9Ny4UXmsR8AyGb4J6/VqNQKCdQXqx8F5w70a0xFfNBoSUnvN9Za0l\n 8hjQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=D/+pXAfan3vWjP6CbAJ2Q5YZYvDbCZd3VC1VlL6hP3Y=;\n b=b259NT5GTgNsHrkViB7VpAJWoH4iqEbOfH6nkJbKnN57v9blJUHIupioYiJOA+iNUU\n STHiShfcdET/ZgZ9CUxoYfaTmnU/t+ig2cDvWu2jlwLrvYFg2F9S9Eu6tto6CVV6kuEm\n tGohg54d4oE7i/MKUP5LicBNqkpPQq/alEJiu6TKVGtPWf5gwK+CvTD9h30TrIo/hrHH\n ejG9B9hzmQj5yAm7RoCZcXNx8819AAtx1GgQM/bHsIBo1M9bCm0F/zs8aZ6iQzgcKnYI\n LbggXFTaKP1Qv+tqxVNGlMb8Pyup+e67GMhBV6jXP1kpWoZw1UIS09lJvEDkILX1kAGv\n Br5Q==", "X-Gm-Message-State": "AO0yUKVtamYzOaqAph44kPvwYX2FYLuelj3uwEvE9/kwdi5OiqFRLgCx\n qi4YiBhQbdizx4SGNi3COC9ZL0sWmqp8TUX1rHY=", "X-Google-Smtp-Source": "\n AK7set/RVtai5GOt7gaxnW0e4ZEX4Ag4T8YC5AHB8V5WQt4VwqCwRjZxBOPaeXKdiChq9N52Sblbjw==", "X-Received": "by 2002:a17:902:fa10:b0:19a:b35d:dde5 with SMTP id\n la16-20020a170902fa1000b0019ab35ddde5mr7131129plb.6.1677083144587;\n Wed, 22 Feb 2023 08:25:44 -0800 (PST)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Thomas Monjalon <thomas@monjalon.net>, Ferruh Yigit <ferruh.yigit@amd.com>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>", "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>\n <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 <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "The original comment was redundant and had duplicate word 'of'.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/ethdev/rte_ethdev.h | 32 ++++----------------------------\n 1 file changed, 4 insertions(+), 28 deletions(-)", "diff": "diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h\nindex 049641d57c66..14b8fa8402f1 100644\n--- a/lib/ethdev/rte_ethdev.h\n+++ b/lib/ethdev/rte_ethdev.h\n@@ -3275,34 +3275,10 @@ int rte_eth_macaddrs_get(uint16_t port_id, struct rte_ether_addr *ma,\n /**\n * Retrieve the contextual information of an Ethernet device.\n *\n- * As part of this function, a number of of fields in dev_info will be\n- * initialized as follows:\n- *\n- * rx_desc_lim = lim\n- * tx_desc_lim = lim\n- *\n- * Where lim is defined within the rte_eth_dev_info_get as\n- *\n- * const struct rte_eth_desc_lim lim = {\n- * .nb_max = UINT16_MAX,\n- * .nb_min = 0,\n- * .nb_align = 1,\n- *\t.nb_seg_max = UINT16_MAX,\n- *\t.nb_mtu_seg_max = UINT16_MAX,\n- * };\n- *\n- * device = dev->device\n- * min_mtu = RTE_ETHER_MIN_LEN - RTE_ETHER_HDR_LEN - RTE_ETHER_CRC_LEN\n- * max_mtu = UINT16_MAX\n- *\n- * The following fields will be populated if support for dev_infos_get()\n- * exists for the device and the rte_eth_dev 'dev' has been populated\n- * successfully with a call to it:\n- *\n- * driver_name = rte_driver_name(rte_dev_driver(dev->device));\n- * nb_rx_queues = dev->data->nb_rx_queues\n- * nb_tx_queues = dev->data->nb_tx_queues\n- * dev_flags = &dev->data->dev_flags\n+ * This function returns the Ethernet device information based\n+ * on the values stored internally in the device specific data.\n+ * For example: number of queues, descriptor limits, device\n+ * capabilities and offload flags.\n *\n * @param port_id\n * The port identifier of the Ethernet device.\n", "prefixes": [ "v4", "01/19" ] }{ "id": 124381, "url": "