get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56476,
    "url": "http://patches.dpdk.org/api/patches/56476/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1563265771-24647-1-git-send-email-viacheslavo@mellanox.com/",
    "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": "<1563265771-24647-1-git-send-email-viacheslavo@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1563265771-24647-1-git-send-email-viacheslavo@mellanox.com",
    "date": "2019-07-16T08:29:31",
    "name": "app/testpmd: show max number of segments",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c0757972f1be795a6febbf51174360f8a1610589",
    "submitter": {
        "id": 1102,
        "url": "http://patches.dpdk.org/api/people/1102/?format=api",
        "name": "Slava Ovsiienko",
        "email": "viacheslavo@mellanox.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1563265771-24647-1-git-send-email-viacheslavo@mellanox.com/mbox/",
    "series": [
        {
            "id": 5516,
            "url": "http://patches.dpdk.org/api/series/5516/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5516",
            "date": "2019-07-16T08:29:31",
            "name": "app/testpmd: show max number of segments",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/5516/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/56476/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/56476/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 3E5462BF4;\n\tTue, 16 Jul 2019 10:29:38 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id 78E412BE1\n\tfor <dev@dpdk.org>; Tue, 16 Jul 2019 10:29:36 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE2 (envelope-from\n\tviacheslavo@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 16 Jul 2019 11:29:35 +0300",
            "from pegasus12.mtr.labs.mlnx. (pegasus12.mtr.labs.mlnx\n\t[10.210.17.40])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x6G8TZ7w029237;\n\tTue, 16 Jul 2019 11:29:35 +0300"
        ],
        "From": "Viacheslav Ovsiienko <viacheslavo@mellanox.com>",
        "To": "dev@dpdk.org",
        "Cc": "bernard.iremonger@intel.com",
        "Date": "Tue, 16 Jul 2019 08:29:31 +0000",
        "Message-Id": "<1563265771-24647-1-git-send-email-viacheslavo@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [PATCH] app/testpmd: show max number of segments",
        "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": "This patch updates \"show port info [port_id]\" command, it shows\nthe tx_desc_lim.nb_seg_max and tx_desc_lim.nb_mtu_seg_max fields\nof rte_eth_dev_info structure.\n\nSigned-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>\n---\n app/test-pmd/config.c | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c\nindex 1d80470..ba43be5 100644\n--- a/app/test-pmd/config.c\n+++ b/app/test-pmd/config.c\n@@ -509,6 +509,10 @@\n \tprintf(\"Min possible number of TXDs per queue: %hu\\n\",\n \t\tdev_info.tx_desc_lim.nb_min);\n \tprintf(\"TXDs number alignment: %hu\\n\", dev_info.tx_desc_lim.nb_align);\n+\tprintf(\"Max segment number per packet: %hu\\n\",\n+\t\tdev_info.tx_desc_lim.nb_seg_max);\n+\tprintf(\"Max segment number per MTU/TSO: %hu\\n\",\n+\t\tdev_info.tx_desc_lim.nb_mtu_seg_max);\n \n \t/* Show switch info only if valid switch domain and port id is set */\n \tif (dev_info.switch_info.domain_id !=\n",
    "prefixes": []
}