get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/114225/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 114225,
    "url": "https://patches.dpdk.org/api/patches/114225/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220726163020.15679-2-stephen@networkplumber.org/",
    "project": {
        "id": 1,
        "url": "https://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": "<20220726163020.15679-2-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220726163020.15679-2-stephen@networkplumber.org",
    "date": "2022-07-26T16:30:01",
    "name": "[v3,01/20] ethdev: reword dev_info_get description.",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c4ae978c44644d6b994cb658a5307f4a263ced0a",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220726163020.15679-2-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 24091,
            "url": "https://patches.dpdk.org/api/series/24091/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=24091",
            "date": "2022-07-26T16:30:00",
            "name": "Remove repeated words in comments and messages",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/24091/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/114225/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/114225/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 28EB6A00C4;\n\tTue, 26 Jul 2022 18:30:32 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 000D14281C;\n\tTue, 26 Jul 2022 18:30:27 +0200 (CEST)",
            "from mail-pf1-f180.google.com (mail-pf1-f180.google.com\n [209.85.210.180])\n by mails.dpdk.org (Postfix) with ESMTP id DA61740E0F\n for <dev@dpdk.org>; Tue, 26 Jul 2022 18:30:25 +0200 (CEST)",
            "by mail-pf1-f180.google.com with SMTP id e16so13661000pfm.11\n for <dev@dpdk.org>; Tue, 26 Jul 2022 09:30:25 -0700 (PDT)",
            "from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218])\n by smtp.gmail.com with ESMTPSA id\n y190-20020a6232c7000000b0051bbe085f16sm11844155pfy.104.2022.07.26.09.30.24\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 26 Jul 2022 09:30:25 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20210112.gappssmtp.com; s=20210112;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=XKyv0hMJK3GCp4VCx3Uc4LSIi8qIpehs11wDkqucVGM=;\n b=8Nurn3zrWwu3qzae8n7nk1sqPKxqb8w7E8UQVK37ZRwm3H+z/9JQrppvoc11g3TGtZ\n wM9rZMEvx1Ziwp5mI7RllC4jLxM8JlmG3klVYhDFMvLY5xASzyZxWOgdbQm4QtBbJSv9\n Tdc18q5i6mpFV85pKHob42xnHtoB2HPZVo2P1f/8YkaNHyJdxmMlcubP+GGo9gp56Cs+\n bV+hItR/Q4M6ivgCyq122uVNKDD+hCB1DGiX+v29WWSRihMCoLFOArME3mmSbKMeQr/H\n pvW3SygJgDg5wT/v7SwDv2dfEJrwRPam8DLHSgUEsjHXdIwo6M0MC7HvUVpP0HCOC5O4\n gMlg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=XKyv0hMJK3GCp4VCx3Uc4LSIi8qIpehs11wDkqucVGM=;\n b=Lg9zP7ey1sBIDG/prD85OH+6IBpxegEH5nmD3B3yU4oNWXM64Sw1dAzo0/XEhYf/ff\n sDWybuVqqQ+JPtM/CmctFqgIor1XOGSHmBwXwGJ027m7XCBKmfulNNxQAlRpZKq6EMwf\n KXNlvizb+9wJxY0E23MQm6q/GVTHqElcKi+ji9wdYtJsrHtRBkQjoRLr88yTwMMLsWDg\n v5uDH0vkE9Cs+FoovDZaahkVKBm8Yvq+OO2NNme1VesEgObGnvLQQOLnJ2kCDqjLIX02\n fYvd6vWS3Kjmtd6MiWmk0bMNK+CTfB7HiIKrRi6sx+vmnr1ef0sAiplHFCghe+QJ55Aj\n PutA==",
        "X-Gm-Message-State": "AJIora92JMNXu/tGuMR0Eev/OXk53sxVsumLmUux99oLRfxkAyS4DQP5\n TX7Gt79YCGig6wtRQzWddhJrl9N34AnSLQ==",
        "X-Google-Smtp-Source": "\n AGRyM1vMPy067e2IAFESaXjdlOlI/f3umX75gj/msDM1hK1V27bk+9ZQRzGTc/eH9g0lLRB6YndUjw==",
        "X-Received": "by 2002:a63:6c87:0:b0:419:b667:6622 with SMTP id\n h129-20020a636c87000000b00419b6676622mr15147073pgc.495.1658853025268;\n Tue, 26 Jul 2022 09:30:25 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Thomas Monjalon <thomas@monjalon.net>,\n Ferruh Yigit <ferruh.yigit@xilinx.com>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>",
        "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>\n <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 <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 | 33 +++++----------------------------\n 1 file changed, 5 insertions(+), 28 deletions(-)",
    "diff": "diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h\nindex de9e970d4d11..d2eff20b8917 100644\n--- a/lib/ethdev/rte_ethdev.h\n+++ b/lib/ethdev/rte_ethdev.h\n@@ -3356,34 +3356,11 @@ 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 = dev->device->driver->name\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+ * The device information about driver, descriptors limits,\n+ * capabilities, flags,  and queues is returned.\n+ *\n+ * The fields are populated with generic values that then are\n+ * overridden by the device driver specific values.\n  *\n  * @param port_id\n  *   The port identifier of the Ethernet device.\n",
    "prefixes": [
        "v3",
        "01/20"
    ]
}