get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 112319,
    "url": "http://patchwork.dpdk.org/api/patches/112319/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220604162651.3503338-9-tduszynski@marvell.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": "<20220604162651.3503338-9-tduszynski@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220604162651.3503338-9-tduszynski@marvell.com",
    "date": "2022-06-04T16:26:49",
    "name": "[08/10] common/cnxk: remove unused constants",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "c09ea33a3a67ba139c97d980260049d50dc98d9b",
    "submitter": {
        "id": 2215,
        "url": "http://patchwork.dpdk.org/api/people/2215/?format=api",
        "name": "Tomasz Duszynski",
        "email": "tduszynski@marvell.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20220604162651.3503338-9-tduszynski@marvell.com/mbox/",
    "series": [
        {
            "id": 23325,
            "url": "http://patchwork.dpdk.org/api/series/23325/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=23325",
            "date": "2022-06-04T16:26:41",
            "name": "Sync BPHY changes",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/23325/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/112319/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/112319/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 58F09A034C;\n\tSat,  4 Jun 2022 18:27:48 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3DA4B42B74;\n\tSat,  4 Jun 2022 18:27:40 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id AA52542B71\n for <dev@dpdk.org>; Sat,  4 Jun 2022 18:27:37 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 254GRF5w032547;\n Sat, 4 Jun 2022 09:27:37 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3gg6wq0dhe-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Sat, 04 Jun 2022 09:27:37 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Sat, 4 Jun 2022 09:27:35 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Sat, 4 Jun 2022 09:27:35 -0700",
            "from localhost.localdomain (unknown [10.28.34.39])\n by maili.marvell.com (Postfix) with ESMTP id 915753F7097;\n Sat,  4 Jun 2022 09:27:32 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=O65wB9iJJ7jrZLGORHeR6xfp4A02/qUJEtVrVPakrV4=;\n b=HP9etKW/ppz8iDtnYAP12CFc7lzLjuQZSHL90hw8gKFxYG0FH5EeuJgH5FzXZc5G4bcG\n ZX0/RXGTzMImcUKzmsFsK+dMVNwEJutrG7xCEStigGBres+lyOjsRAqR5Tst6uviXfFv\n 5n451BIaDvhkS6nUNYCx+2aHfFnEm4X8jwquVpkRSRel07o4Fm4p1TJg8k6bJq+3gNr2\n 1i+mE3qBHw4lp437nL7j+hlpCjS09SMpo1qy8Ficerta/1Sb0mNkpPx/eJzsO01duJA9\n CPvGOxGMWKYJA3MKH2vONR048Y/T/eqc9b5BQ9/OX+gu8mVhi11r5pC47vO+eIL7/6O8 HA==",
        "From": "Tomasz Duszynski <tduszynski@marvell.com>",
        "To": "<dev@dpdk.org>, Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>",
        "CC": "<thomas@monjalon.net>, <jerinj@marvell.com>, Tomasz Duszynski\n <tduszynski@marvell.com>, Jakub Palider <jpalider@marvell.com>",
        "Subject": "[PATCH 08/10] common/cnxk: remove unused constants",
        "Date": "Sat, 4 Jun 2022 18:26:49 +0200",
        "Message-ID": "<20220604162651.3503338-9-tduszynski@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220604162651.3503338-1-tduszynski@marvell.com>",
        "References": "<20220604162651.3503338-1-tduszynski@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "H5LGJol5kozn-NFtLufvjxZidz5bqA6n",
        "X-Proofpoint-GUID": "H5LGJol5kozn-NFtLufvjxZidz5bqA6n",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.517,FMLib:17.11.64.514\n definitions=2022-06-04_05,2022-06-03_01,2022-02-23_01",
        "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"
    },
    "content": "Some constants are redundant hence remove them.\n\nSigned-off-by: Tomasz Duszynski <tduszynski@marvell.com>\nReviewed-by: Jakub Palider <jpalider@marvell.com>\nReviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>\n---\n drivers/common/cnxk/roc_bphy_cgx_priv.h | 53 -------------------------\n 1 file changed, 53 deletions(-)",
    "diff": "diff --git a/drivers/common/cnxk/roc_bphy_cgx_priv.h b/drivers/common/cnxk/roc_bphy_cgx_priv.h\nindex a1a4239cbe..c8c406439c 100644\n--- a/drivers/common/cnxk/roc_bphy_cgx_priv.h\n+++ b/drivers/common/cnxk/roc_bphy_cgx_priv.h\n@@ -5,59 +5,6 @@\n #ifndef _ROC_BPHY_CGX_PRIV_H_\n #define _ROC_BPHY_CGX_PRIV_H_\n \n-/* LINK speed types */\n-enum eth_link_speed {\n-\tETH_LINK_NONE,\n-\tETH_LINK_10M,\n-\tETH_LINK_100M,\n-\tETH_LINK_1G,\n-\tETH_LINK_2HG, /* 2.5 Gbps */\n-\tETH_LINK_5G,\n-\tETH_LINK_10G,\n-\tETH_LINK_20G,\n-\tETH_LINK_25G,\n-\tETH_LINK_40G,\n-\tETH_LINK_50G,\n-\tETH_LINK_80G,\n-\tETH_LINK_100G,\n-\tETH_LINK_MAX,\n-};\n-\n-/* Supported LINK MODE enums\n- * Each link mode is a bit mask of these\n- * enums which are represented as bits\n- */\n-enum eth_mode {\n-\tETH_MODE_SGMII_BIT = 0,\n-\tETH_MODE_1000_BASEX_BIT,\n-\tETH_MODE_QSGMII_BIT,\n-\tETH_MODE_10G_C2C_BIT,\n-\tETH_MODE_10G_C2M_BIT,\n-\tETH_MODE_10G_KR_BIT, /* = 5 */\n-\tETH_MODE_20G_C2C_BIT,\n-\tETH_MODE_25G_C2C_BIT,\n-\tETH_MODE_25G_C2M_BIT,\n-\tETH_MODE_25G_2_C2C_BIT,\n-\tETH_MODE_25G_CR_BIT, /* = 10 */\n-\tETH_MODE_25G_KR_BIT,\n-\tETH_MODE_40G_C2C_BIT,\n-\tETH_MODE_40G_C2M_BIT,\n-\tETH_MODE_40G_CR4_BIT,\n-\tETH_MODE_40G_KR4_BIT, /* = 15 */\n-\tETH_MODE_40GAUI_C2C_BIT,\n-\tETH_MODE_50G_C2C_BIT,\n-\tETH_MODE_50G_C2M_BIT,\n-\tETH_MODE_50G_4_C2C_BIT,\n-\tETH_MODE_50G_CR_BIT, /* = 20 */\n-\tETH_MODE_50G_KR_BIT,\n-\tETH_MODE_80GAUI_C2C_BIT,\n-\tETH_MODE_100G_C2C_BIT,\n-\tETH_MODE_100G_C2M_BIT,\n-\tETH_MODE_100G_CR4_BIT, /* = 25 */\n-\tETH_MODE_100G_KR4_BIT,\n-\tETH_MODE_MAX_BIT /* = 27 */\n-};\n-\n /* REQUEST ID types. Input to firmware */\n enum eth_cmd_id {\n \tETH_CMD_GET_LINK_STS = 4,\n",
    "prefixes": [
        "08/10"
    ]
}