get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 48493,
    "url": "http://patchwork.dpdk.org/api/patches/48493/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1543830844-30343-1-git-send-email-ybrustin@cisco.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1543830844-30343-1-git-send-email-ybrustin@cisco.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1543830844-30343-1-git-send-email-ybrustin@cisco.com",
    "date": "2018-12-03T09:54:04",
    "name": "librte_ethdev: Fix typo in error message of invalid nb_rx_desc or nb_tx_desc",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ffcbff4bcd3b35d60b7967d8c5b89db28c436769",
    "submitter": {
        "id": 1092,
        "url": "http://patchwork.dpdk.org/api/people/1092/?format=api",
        "name": "Yaroslav Brustinov",
        "email": "ybrustin@cisco.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patchwork.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1543830844-30343-1-git-send-email-ybrustin@cisco.com/mbox/",
    "series": [
        {
            "id": 2643,
            "url": "http://patchwork.dpdk.org/api/series/2643/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=2643",
            "date": "2018-12-03T09:54:04",
            "name": "librte_ethdev: Fix typo in error message of invalid nb_rx_desc or nb_tx_desc",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/2643/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/48493/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/48493/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9384B1B4CE;\n\tMon,  3 Dec 2018 10:55:41 +0100 (CET)",
            "from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52])\n\tby dpdk.org (Postfix) with ESMTP id 7B1BB1B4CA\n\tfor <dev@dpdk.org>; Mon,  3 Dec 2018 10:55:40 +0100 (CET)",
            "from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com)\n\t([173.38.203.22])\n\tby aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 Dec 2018 09:55:40 +0000",
            "from csi-trex-18.cisco.com (csi-trex-18.cisco.com [10.56.216.151])\n\t(authenticated bits=0)\n\tby aer-core-1.cisco.com (8.15.2/8.15.2) with ESMTPSA id\n\twB39tXCw019583\n\t(version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);\n\tMon, 3 Dec 2018 09:55:39 GMT"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n\td=cisco.com; i=@cisco.com; l=1348; q=dns/txt; s=iport;\n\tt=1543830940; x=1545040540;\n\th=from:to:cc:subject:date:message-id;\n\tbh=PVqbJCsWiOkQJQHhJ9/ur4ztvvkzhHEj48iSKxKjOrE=;\n\tb=Buedbe1x0L3GXoSmNcWs8XwWA0HqPz3IS/EtNCkdA9sFjUJXFwgEv2Zb\n\tqaNddZ4pzXwQi5G3c6wzS3jKsdkTg33YT5Xi3QJ5E/0awAWMPr2NnwTN6\n\tzCcjWZdkX3cJbVXI4f4HEXQ17YCaWOgy7MZb/e7teATQKAsyNx6YBnyMO E=;",
        "X-IronPort-AV": "E=Sophos;i=\"5.56,310,1539648000\"; d=\"scan'208\";a=\"8544196\"",
        "From": "Yaroslav Brustinov <ybrustin@cisco.com>",
        "To": "thomas@monjalon.net, ferruh.yigit@intel.com, arybchenko@solarflare.com",
        "Cc": "dev@dpdk.org, Yaroslav Brustinov <ybrustin@cisco.com>",
        "Date": "Mon,  3 Dec 2018 11:54:04 +0200",
        "Message-Id": "<1543830844-30343-1-git-send-email-ybrustin@cisco.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "X-Authenticated-User": "ybrustin@cisco.com",
        "X-Outbound-SMTP-Client": "10.56.216.151, csi-trex-18.cisco.com",
        "X-Outbound-Node": "aer-core-1.cisco.com",
        "Subject": "[dpdk-dev] [PATCH] librte_ethdev: Fix typo in error message of\n\tinvalid nb_rx_desc or nb_tx_desc",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>\n---\n lib/librte_ethdev/rte_ethdev.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c\nindex 5f85817..9d5107d 100644\n--- a/lib/librte_ethdev/rte_ethdev.c\n+++ b/lib/librte_ethdev/rte_ethdev.c\n@@ -1594,7 +1594,7 @@ rte_eth_rx_queue_setup(uint16_t port_id, uint16_t rx_queue_id,\n \t\t\tnb_rx_desc % dev_info.rx_desc_lim.nb_align != 0) {\n \n \t\tRTE_ETHDEV_LOG(ERR,\n-\t\t\t\"Invalid value for nb_rx_desc(=%hu), should be: <= %hu, = %hu, and a product of %hu\\n\",\n+\t\t\t\"Invalid value for nb_rx_desc(=%hu), should be: <= %hu, >= %hu, and a product of %hu\\n\",\n \t\t\tnb_rx_desc, dev_info.rx_desc_lim.nb_max,\n \t\t\tdev_info.rx_desc_lim.nb_min,\n \t\t\tdev_info.rx_desc_lim.nb_align);\n@@ -1698,7 +1698,7 @@ rte_eth_tx_queue_setup(uint16_t port_id, uint16_t tx_queue_id,\n \t    nb_tx_desc < dev_info.tx_desc_lim.nb_min ||\n \t    nb_tx_desc % dev_info.tx_desc_lim.nb_align != 0) {\n \t\tRTE_ETHDEV_LOG(ERR,\n-\t\t\t\"Invalid value for nb_tx_desc(=%hu), should be: <= %hu, = %hu, and a product of %hu\\n\",\n+\t\t\t\"Invalid value for nb_tx_desc(=%hu), should be: <= %hu, >= %hu, and a product of %hu\\n\",\n \t\t\tnb_tx_desc, dev_info.tx_desc_lim.nb_max,\n \t\t\tdev_info.tx_desc_lim.nb_min,\n \t\t\tdev_info.tx_desc_lim.nb_align);\n",
    "prefixes": []
}