get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 77243,
    "url": "http://patches.dpdk.org/api/patches/77243/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200910193400.15326-24-i.dyukov@samsung.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": "<20200910193400.15326-24-i.dyukov@samsung.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200910193400.15326-24-i.dyukov@samsung.com",
    "date": "2020-09-10T19:33:56",
    "name": "[v10,23/24] examples/server_nod*: new link status print format",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8a58ba21020f372889c60b0da33e9270a98d836c",
    "submitter": {
        "id": 783,
        "url": "http://patches.dpdk.org/api/people/783/?format=api",
        "name": "Ivan Dyukov",
        "email": "i.dyukov@samsung.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/20200910193400.15326-24-i.dyukov@samsung.com/mbox/",
    "series": [
        {
            "id": 12111,
            "url": "http://patches.dpdk.org/api/series/12111/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12111",
            "date": "2020-09-10T19:33:33",
            "name": "ethdev: allow unknown link speed",
            "version": 10,
            "mbox": "http://patches.dpdk.org/series/12111/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/77243/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/77243/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 0380DA04B5;\n\tThu, 10 Sep 2020 21:37:48 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C64ED1C1D7;\n\tThu, 10 Sep 2020 21:35:22 +0200 (CEST)",
            "from mailout1.w1.samsung.com (mailout1.w1.samsung.com\n [210.118.77.11]) by dpdk.org (Postfix) with ESMTP id 295B21C19B\n for <dev@dpdk.org>; Thu, 10 Sep 2020 21:35:21 +0200 (CEST)",
            "from eucas1p1.samsung.com (unknown [182.198.249.206])\n by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id\n 20200910193520euoutp010ebb452407cf38dd161fe190ade6deed~zgyzFkgmf0119101191euoutp01g;\n Thu, 10 Sep 2020 19:35:20 +0000 (GMT)",
            "from eusmges3new.samsung.com (unknown [203.254.199.245]) by\n eucas1p1.samsung.com (KnoxPortal) with ESMTP id\n 20200910193519eucas1p11eaf030c28b88c2bc78dd6a48448e7e5~zgyyEaNx90487904879eucas1p1w;\n Thu, 10 Sep 2020 19:35:19 +0000 (GMT)",
            "from eucas1p1.samsung.com ( [182.198.249.206]) by\n eusmges3new.samsung.com (EUCPMTA) with SMTP id 7F.42.06318.7FF7A5F5; Thu, 10\n Sep 2020 20:35:19 +0100 (BST)",
            "from eusmtrp2.samsung.com (unknown [182.198.249.139]) by\n eucas1p1.samsung.com (KnoxPortal) with ESMTPA id\n 20200910193519eucas1p10e3d3b0496590dfc30e41259f068c62f~zgyxtkr570322703227eucas1p1z;\n Thu, 10 Sep 2020 19:35:19 +0000 (GMT)",
            "from eusmgms1.samsung.com (unknown [182.198.249.179]) by\n eusmtrp2.samsung.com (KnoxPortal) with ESMTP id\n 20200910193519eusmtrp20f250d53e330878249d3824e2a46defd~zgyxsg16w1027210272eusmtrp2A;\n Thu, 10 Sep 2020 19:35:19 +0000 (GMT)",
            "from eusmtip2.samsung.com ( [203.254.199.222]) by\n eusmgms1.samsung.com (EUCPMTA) with SMTP id CE.19.06314.7FF7A5F5; Thu, 10\n Sep 2020 20:35:19 +0100 (BST)",
            "from idyukov.rnd.samsung.ru (unknown [106.109.129.29]) by\n eusmtip2.samsung.com (KnoxPortal) with ESMTPA id\n 20200910193517eusmtip29796d40e83728a03518708f3b2e13ec7~zgyv8czFo1654016540eusmtip2M;\n Thu, 10 Sep 2020 19:35:17 +0000 (GMT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com\n 20200910193520euoutp010ebb452407cf38dd161fe190ade6deed~zgyzFkgmf0119101191euoutp01g",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;\n s=mail20170921; t=1599766521;\n bh=j+whVyosWgx3tIoE9UeDWIlBQDtqfd9P5No4AWJHtMw=;\n h=From:To:Subject:Date:In-Reply-To:Reply-To:References:From;\n b=YuOjogYvanVmmGMhy3eIaQClHFg3eJ/odC5afxqfinz1i1RuCEJbaHzycGtlR+P9E\n nIBp+JBPbZI6+JOkW8/i+GQj0xaQwcRxScRCTytuXsR2ST0/2ApQuDTX9O30RX28R0\n wtT9Ath9iE3jKGqlzRU1ABas322o6k4984DFV88Y=",
        "X-AuditID": "cbfec7f5-38bff700000018ae-69-5f5a7ff7d7c0",
        "From": "Ivan Dyukov <i.dyukov@samsung.com>",
        "To": "dev@dpdk.org, i.dyukov@samsung.com, v.kuramshin@samsung.com,\n thomas@monjalon.net, david.marchand@redhat.com, ferruh.yigit@intel.com,\n arybchenko@solarflare.com, wei.zhao1@intel.com, jia.guo@intel.com,\n beilei.xing@intel.com, qiming.yang@intel.com, wenzhuo.lu@intel.com,\n mb@smartsharesystems.com, stephen@networkplumber.org,\n nicolas.chautru@intel.com, bruce.richardson@intel.com,\n konstantin.ananyev@intel.com, cristian.dumitrescu@intel.com,\n radu.nicolau@intel.com, akhil.goyal@nxp.com, declan.doherty@intel.com,\n skori@marvell.com, pbhagavatula@marvell.com, jerinj@marvell.com,\n kirankumark@marvell.com, david.hunt@intel.com, anatoly.burakov@intel.com,\n xiaoyun.li@intel.com, jingjing.wu@intel.com, john.mcnamara@intel.com,\n jasvinder.singh@intel.com, byron.marohn@intel.com, yipeng1.wang@intel.com",
        "Date": "Thu, 10 Sep 2020 22:33:56 +0300",
        "Message-Id": "<20200910193400.15326-24-i.dyukov@samsung.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200910193400.15326-1-i.dyukov@samsung.com>",
        "X-Brightmail-Tracker": [
            "\n H4sIAAAAAAAAA0WSa0wTaRSG/WamM0OlZqwmnFWDsXGD60bxsiYnuFEhmswP422jUTZSuzoB\n FSppxVV/7LKotdZaAesNSUGJIsUEUaBgWgIoIhZFiFrMAotkEwIKFQSlWlTqYPx3zvO+3zlv\n Tj6eVmexM/jd+v2SQa9L1rBKpuJ+4PGC93/Haxd1ti3AkiYHwe7OAhq77B0snnxzlMI250p0\n u3IVmP1fOoW27EEKXdctLL7uymBwYMhFYbvHy2FOawaHQ3U9HJ5qvkSwJ9hH48X8twSbHeUK\n DNTeYdEfvMKg7cMzgqfLHhBssA4yaK+qJGiyCPimqJDDgvZIHOp6wKD3xW0Ob4y00FjeNEYw\n q6GE4CPTZ8WqOeKH/KsKscDdS4lnLrfQ4v0X5zjR2uigxNKBSkr0Vz9jRVuZk4gPu0/SYvH/\n o+wGZbzy111S8u4DkiF6xQ5lktORkHpj8sFmT5BLJ6fCLCSMB+EXeH7sJmchSl4tXCfg7/AR\n uRkmUNXom1De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Zk4Vzrwg9zqr9PE\n CmaLxIcmm0VprXovC+EaNho04ZHRGjYiKiEmXKsOi4s9yKcY03ghLG6/JtlpTzxyZ/bRjgdT\n cis672dDfhRDRzK5j5pxG/KnlHQxYkomfiEboryAYYYG8BlPIDPVaSNnPBOI6X9bgnyApJcz\n nrN2zAeC6Dck8/LMScIHAuktzGRmxj8TQS9jrmQPy32hCjqGaZqmZkIXMaXlbtwn+3nl9z0J\n PllJGxl72zfZzBzCvM7/gmWjuQVolhMF8RbRZDCJrEbUm0RLqkFzwGy6i7yF1zz+WVmLXlRs\n b0Q0hdRzFO4YXZJSpk8T002NiKFwdZBiQ7snUak4qE8/xgvmJMGSwouNSOs97yKumnfA7H2f\n VCmJ1bJREM1GRURFrAF1sOIs3bBPSRv0En+Y54/wwv89jPJTWVFkWJ3jWcP+ojj/p833d4pL\n lzTtMdxAkyNS3rv3wRvL8+ta3WXdUjeR/+Ne5UnW+HK0Wjuwe1obmbAjsVOK7x013VwYvyBl\n 0/F+w5ChSxX0oSm0WXBvW+VM0NXviCgspQKOG1W7atLrXNYl962qzcGBuYf6Cm/ltcc/SQ74\n JYtdqSbEZD27AhdE/V/czTLLBgMAAA=="
        ],
        "X-CMS-MailID": "20200910193519eucas1p10e3d3b0496590dfc30e41259f068c62f",
        "X-Msg-Generator": "CA",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "X-RootMTR": "20200910193519eucas1p10e3d3b0496590dfc30e41259f068c62f",
        "X-EPHeader": "CA",
        "CMS-TYPE": "201P",
        "X-CMS-RootMailID": "20200910193519eucas1p10e3d3b0496590dfc30e41259f068c62f",
        "References": "<20200427095737.11082-1-i.dyukov@samsung.com>\n <20200910193400.15326-1-i.dyukov@samsung.com>\n <CGME20200910193519eucas1p10e3d3b0496590dfc30e41259f068c62f@eucas1p1.samsung.com>",
        "Subject": "[dpdk-dev] [PATCH v10 23/24] examples/server_nod*: new link status\n print format",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "Reply-To": "i.dyukov@samsung.com",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Add usage of rte_eth_link_to_str function to example\napplications\n\nSigned-off-by: Ivan Dyukov <i.dyukov@samsung.com>\n---\n examples/server_node_efd/server/init.c | 15 +++++----------\n 1 file changed, 5 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/examples/server_node_efd/server/init.c b/examples/server_node_efd/server/init.c\nindex 378a74fa5..347737cb9 100644\n--- a/examples/server_node_efd/server/init.c\n+++ b/examples/server_node_efd/server/init.c\n@@ -247,6 +247,7 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask)\n \tuint16_t portid;\n \tstruct rte_eth_link link;\n \tint ret;\n+\tchar link_status_text[RTE_ETH_LINK_MAX_STR_LEN];\n \n \tprintf(\"\\nChecking link status\");\n \tfflush(stdout);\n@@ -266,16 +267,10 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask)\n \t\t\t}\n \t\t\t/* print link status if flag set */\n \t\t\tif (print_flag == 1) {\n-\t\t\t\tif (link.link_status)\n-\t\t\t\t\tprintf(\n-\t\t\t\t\t\"Port%d Link Up. Speed %u Mbps - %s\\n\",\n-\t\t\t\t\t\tinfo->id[portid],\n-\t\t\t\t\t\tlink.link_speed,\n-\t\t\t\t(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?\n-\t\t\t\t\t(\"full-duplex\") : (\"half-duplex\"));\n-\t\t\t\telse\n-\t\t\t\t\tprintf(\"Port %d Link Down\\n\",\n-\t\t\t\t\t\tinfo->id[portid]);\n+\t\t\t\trte_eth_link_to_str(link_status_text,\n+\t\t\t\t\tsizeof(link_status_text), &link);\n+\t\t\t\tprintf(\"Port %d %s\\n\", info->id[portid],\n+\t\t\t\t       link_status_text);\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\t/* clear all_ports_up flag if any link down */\n",
    "prefixes": [
        "v10",
        "23/24"
    ]
}