get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 87480,
    "url": "https://patches.dpdk.org/api/patches/87480/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1611837805-42429-2-git-send-email-oulijun@huawei.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": "<1611837805-42429-2-git-send-email-oulijun@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1611837805-42429-2-git-send-email-oulijun@huawei.com",
    "date": "2021-01-28T12:43:21",
    "name": "[v2,1/5] doc: add FEC in NIC features",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "9fc910b543be083221d9153bb410173bb4f0f0d9",
    "submitter": {
        "id": 1675,
        "url": "https://patches.dpdk.org/api/people/1675/?format=api",
        "name": "Lijun Ou",
        "email": "oulijun@huawei.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/1611837805-42429-2-git-send-email-oulijun@huawei.com/mbox/",
    "series": [
        {
            "id": 15001,
            "url": "https://patches.dpdk.org/api/series/15001/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=15001",
            "date": "2021-01-28T12:43:20",
            "name": "update doc for hns3",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/15001/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/87480/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/87480/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 C9E7DA09E4;\n\tThu, 28 Jan 2021 13:44:25 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2749E40698;\n\tThu, 28 Jan 2021 13:44:02 +0100 (CET)",
            "from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191])\n by mails.dpdk.org (Postfix) with ESMTP id 396154067E\n for <dev@dpdk.org>; Thu, 28 Jan 2021 13:43:56 +0100 (CET)",
            "from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60])\n by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4DRKr06pDfzjFYl;\n Thu, 28 Jan 2021 20:42:40 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id\n 14.3.498.0; Thu, 28 Jan 2021 20:43:50 +0800"
        ],
        "From": "Lijun Ou <oulijun@huawei.com>",
        "To": "<thomas@monjalon.net>, <ferruh.yigit@intel.com>,\n <arybchenko@solarflare.com>",
        "CC": "<dev@dpdk.org>, <linuxarm@openeuler.org>",
        "Date": "Thu, 28 Jan 2021 20:43:21 +0800",
        "Message-ID": "<1611837805-42429-2-git-send-email-oulijun@huawei.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1611837805-42429-1-git-send-email-oulijun@huawei.com>",
        "References": "<1611150232-609-1-git-send-email-oulijun@huawei.com>\n <1611837805-42429-1-git-send-email-oulijun@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.69.192.56]",
        "X-CFilter-Loop": "Reflected",
        "Subject": "[dpdk-dev] [PATCH v2 1/5] doc: add FEC in NIC features",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: \"Min Hu (Connor)\" <humin29@huawei.com>\n\nDocument FEC in NIC features, add information about FEC and add\nimplementation related support.\n\nFixes: b7ccfb09da95 (\"ethdev: introduce FEC API\")\nCc: stable@dpdk.org\n\nSigned-off-by: Min Hu (Connor) <humin29@huawei.com>\nSigned-off-by: Lijun Ou <oulijun@huawei.com>\n---\nV1->V2:\n- Add Fixes for indicating that the driver is updated synchronously.\n---\n doc/guides/nics/features.rst         | 14 ++++++++++++++\n doc/guides/nics/features/default.ini |  1 +\n 2 files changed, 15 insertions(+)",
    "diff": "diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst\nindex 59beb47..fed98bf 100644\n--- a/doc/guides/nics/features.rst\n+++ b/doc/guides/nics/features.rst\n@@ -908,6 +908,20 @@ Supports to get Rx/Tx packet burst mode information.\n * **[implements] eth_dev_ops**: ``rx_burst_mode_get``, ``tx_burst_mode_get``.\n * **[related] API**: ``rte_eth_rx_burst_mode_get()``, ``rte_eth_tx_burst_mode_get()``.\n \n+.. _nic_features_fec:\n+\n+FEC\n+---\n+\n+Supports Forward error correction. Forward error correction (FEC) is a bit error correction mode.\n+It adds error correction information to data packets at the transmit end, and uses the error correction\n+information to correct the bit errors generated during data packet transmission at the receive end. This\n+improves signal quality but also brings a delay to signals. This function can be enabled or disabled as required.\n+\n+* **[implements] eth_dev_ops**: ``fec_get_capability``, ``fec_get``, ``fec_set``.\n+* **[provides]   rte_eth_fec_capa**: ``speed:ETH_SPEED_NUM_*``, ``capa:RTE_ETH_FEC_MODE_TO_CAPA()``.\n+* **[related]    API**: ``rte_eth_fec_get_capability()``, ``rte_eth_fec_get()``, ``rte_eth_fec_set()``.\n+\n .. _nic_features_other:\n \n Other dev ops not represented by a Feature\ndiff --git a/doc/guides/nics/features/default.ini b/doc/guides/nics/features/default.ini\nindex 8d89278..f0d89da 100644\n--- a/doc/guides/nics/features/default.ini\n+++ b/doc/guides/nics/features/default.ini\n@@ -65,6 +65,7 @@ Module EEPROM dump   =\n Registers dump       =\n LED                  =\n Multiprocess aware   =\n+FEC                  =\n FreeBSD              =\n Linux                =\n Windows              =\n",
    "prefixes": [
        "v2",
        "1/5"
    ]
}