get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 85566,
    "url": "https://patches.dpdk.org/api/patches/85566/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1608504422-29220-1-git-send-email-rahul.lakkireddy@chelsio.com/",
    "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": "<1608504422-29220-1-git-send-email-rahul.lakkireddy@chelsio.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1608504422-29220-1-git-send-email-rahul.lakkireddy@chelsio.com",
    "date": "2020-12-20T22:47:01",
    "name": "app/testpmd: fix start index for showing FEC array",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "8f5c45ed96fa6853925089c9b378bb5eb1e9d6aa",
    "submitter": {
        "id": 241,
        "url": "https://patches.dpdk.org/api/people/241/?format=api",
        "name": "Rahul Lakkireddy",
        "email": "rahul.lakkireddy@chelsio.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1608504422-29220-1-git-send-email-rahul.lakkireddy@chelsio.com/mbox/",
    "series": [
        {
            "id": 14392,
            "url": "https://patches.dpdk.org/api/series/14392/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14392",
            "date": "2020-12-20T22:47:01",
            "name": "app/testpmd: fix start index for showing FEC array",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/14392/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/85566/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/85566/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 36B95A09FD;\n\tMon, 21 Dec 2020 00:03:28 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0A32DCB76;\n\tMon, 21 Dec 2020 00:03:26 +0100 (CET)",
            "from stargate.chelsio.com (stargate.chelsio.com [12.32.117.8])\n by dpdk.org (Postfix) with ESMTP id 90DF1CACA;\n Mon, 21 Dec 2020 00:03:23 +0100 (CET)",
            "from localhost (scalar.blr.asicdesigners.com [10.193.185.94])\n by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id 0BKN3JXk011874;\n Sun, 20 Dec 2020 15:03:20 -0800"
        ],
        "From": "Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>",
        "To": "dev@dpdk.org",
        "Cc": "kaara.satwik@chelsio.com, stable@dpdk.org",
        "Date": "Mon, 21 Dec 2020 04:17:01 +0530",
        "Message-Id": "<1608504422-29220-1-git-send-email-rahul.lakkireddy@chelsio.com>",
        "X-Mailer": "git-send-email 2.5.3",
        "Subject": "[dpdk-dev] [PATCH] app/testpmd: fix start index for showing FEC\n\tarray",
        "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 <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": "From: Karra Satwik <kaara.satwik@chelsio.com>\n\nStart from index 0 when going through the FEC array. This will allow\n\"off\" to get printed for RTE_ETH_FEC_NOFEC mode.\n\nFixes: b19da32e3151 (\"app/testpmd: add FEC command\")\nCc: stable@dpdk.org\n\nSigned-off-by: Karra Satwik <kaara.satwik@chelsio.com>\nSigned-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>\n---\n app/test-pmd/config.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c\nindex 3f6c8642b..a6a5baa4e 100644\n--- a/app/test-pmd/config.c\n+++ b/app/test-pmd/config.c\n@@ -3701,7 +3701,7 @@ show_fec_capability(unsigned int num, struct rte_eth_fec_capa *speed_fec_capa)\n \t\tprintf(\"%s : \",\n \t\t\trte_eth_link_speed_to_str(speed_fec_capa[i].speed));\n \n-\t\tfor (j = RTE_ETH_FEC_AUTO; j < RTE_DIM(fec_mode_name); j++) {\n+\t\tfor (j = 0; j < RTE_DIM(fec_mode_name); j++) {\n \t\t\tif (RTE_ETH_FEC_MODE_TO_CAPA(j) &\n \t\t\t\t\t\tspeed_fec_capa[i].capa)\n \t\t\t\tprintf(\"%s \", fec_mode_name[j].name);\n",
    "prefixes": []
}