get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 52686,
    "url": "http://patches.dpdk.org/api/patches/52686/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190412105105.24351-3-g.singh@nxp.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": "<20190412105105.24351-3-g.singh@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190412105105.24351-3-g.singh@nxp.com",
    "date": "2019-04-12T11:01:18",
    "name": "[v3,02/13] net/enetc: fix SMMU unhandled context fault",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "55f6cf9278d1f0b06404505c920350b1420f31da",
    "submitter": {
        "id": 1068,
        "url": "http://patches.dpdk.org/api/people/1068/?format=api",
        "name": "Gagandeep Singh",
        "email": "g.singh@nxp.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@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190412105105.24351-3-g.singh@nxp.com/mbox/",
    "series": [
        {
            "id": 4280,
            "url": "http://patches.dpdk.org/api/series/4280/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4280",
            "date": "2019-04-12T11:01:11",
            "name": "ENETC PMD basic features and bug fixes",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/4280/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/52686/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/52686/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "X-BeenThere": "dev@dpdk.org",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "MIME-Version": "1.0",
        "X-MS-TNEF-Correlator": "",
        "Subject": "[dpdk-dev] [PATCH v3 02/13] net/enetc: fix SMMU unhandled context\n\tfault",
        "Message-ID": "<20190412105105.24351-3-g.singh@nxp.com>",
        "Accept-Language": "en-US",
        "received-spf": "None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "References": "<1555075598-4988-1-git-send-email-g.singh@nxp.com>\n\t<20190412105105.24351-1-g.singh@nxp.com>",
        "In-Reply-To": "<20190412105105.24351-1-g.singh@nxp.com>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "VE1PR04MB6510",
        "X-MS-Exchange-CrossTenant-id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "CC": "Gagandeep Singh <G.Singh@nxp.com>, \"stable@dpdk.org\" <stable@dpdk.org>",
        "X-MS-Exchange-CrossTenant-fromentityheader": "Hosted",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "x-forefront-antispam-report": "SFV:NSPM;\n\tSFS:(10009020)(366004)(396003)(346002)(136003)(376002)(39860400002)(189003)(199004)(4326008)(14454004)(6486002)(2501003)(71200400001)(53936002)(6512007)(71190400001)(5660300002)(86362001)(6436002)(106356001)(52116002)(105586002)(2906002)(97736004)(3846002)(99286004)(6116002)(446003)(54906003)(68736007)(316002)(50226002)(476003)(2616005)(11346002)(81156014)(81166006)(6506007)(478600001)(186003)(26005)(102836004)(8676002)(386003)(36756003)(110136005)(486006)(7736002)(8936002)(305945005)(76176011)(1076003)(25786009)(72206003)(256004)(66066001);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6510;\n\tH:VE1PR04MB6365.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en;\n\tPTR:InfoNoRecords; MX:1; A:1; ",
        "Content-Transfer-Encoding": "base64",
        "Thread-Index": "AQHU8R8OE/C5LXfbgkqetnQXmGnoAA==",
        "X-OriginatorOrg": "nxp.com",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "59f61dd9-167b-43c1-0655-08d6bf363073",
        "Date": "Fri, 12 Apr 2019 11:01:18 +0000",
        "From": "Gagandeep Singh <G.Singh@nxp.com>",
        "x-ms-exchange-messagesentrepresentingtype": "1",
        "X-MS-Exchange-CrossTenant-originalarrivaltime": "12 Apr 2019 11:01:18.8112\n\t(UTC)",
        "X-Mailman-Version": "2.1.15",
        "List-Post": "<mailto:dev@dpdk.org>",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=LdndbigwSJ4N1aKDZnR7kgB4LdQTvSTAowQ+vgENn5Y=;\n\tb=cIJuxUOq9cECN5CDqThlfoM4NB5vBN/WtfbTacfc8SbkwvMpk9qXAnMnhVb4Ekpxl0whkUmQpFJL4rqKZHkxwQUy+nhLYfemd5F5xyLBK1Gqm//yzTY10q9gUkrbpeSEeYf1ER9jIVOyzX8UJcdnxYjDRoDFhFxLRVX7oYzZMxE=",
        "x-ms-exchange-senderadcheck": "1",
        "To": "\"dev@dpdk.org\" <dev@dpdk.org>, \"ferruh.yigit@intel.com\"\n\t<ferruh.yigit@intel.com>",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id AF34E5F36;\n\tFri, 12 Apr 2019 13:01:23 +0200 (CEST)",
            "from EUR04-DB3-obe.outbound.protection.outlook.com\n\t(mail-eopbgr60051.outbound.protection.outlook.com [40.107.6.51])\n\tby dpdk.org (Postfix) with ESMTP id DC9435F2E;\n\tFri, 12 Apr 2019 13:01:19 +0200 (CEST)",
            "from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by\n\tVE1PR04MB6510.eurprd04.prod.outlook.com (20.179.233.160) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.1792.17; Fri, 12 Apr 2019 11:01:18 +0000",
            "from VE1PR04MB6365.eurprd04.prod.outlook.com\n\t([fe80::f5ad:f178:4c55:13e0]) by\n\tVE1PR04MB6365.eurprd04.prod.outlook.com\n\t([fe80::f5ad:f178:4c55:13e0%3]) with mapi id 15.20.1792.016;\n\tFri, 12 Apr 2019 11:01:18 +0000"
        ],
        "X-MS-Has-Attach": "",
        "x-microsoft-antispam-message-info": "oZLfbKhrkdwL1WLl68QXcp8b5h5oXrRsYUg3nqnRuRsmKYY1m/diUU8pUa1B7OMigQtWEKD+aK0EFDmN4U5X0JNQ9O6YEl+SWvtYmqbn+LC34Yy3npZxB1oQLoQNhZ8YUP7vJPtjuuMNcyVP1oVjLN7m6vwGskMDHnO3PFmbsrafjgSgEtAiahHnnbNYnUXAAhQ8h50Laf5F8EJZKy3wu1p53bBs1Nnsj+5Djhxlby6BSBOTGvV7HTapbV15uW9bN1gA6icx1oeAzSqJq2dZledSOh505XtIKgD6QqAPEy9hMWKNscyUaw4GzgomIFdtBfHAakMvkfG7orwgQ+7596iwpB0Xh4wGLr9QIiuJCIdrNuTPcolyCfADMh/VhPHUAmIDrwh2ufl1ZgH2MI93x6Ric+aERmyB9w+kNDIaT5k=",
        "x-microsoft-antispam": "BCL:0; PCL:0;\n\tRULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);\n\tSRVR:VE1PR04MB6510; ",
        "Errors-To": "dev-bounces@dpdk.org",
        "x-clientproxiedby": "TYAPR01CA0204.jpnprd01.prod.outlook.com\n\t(2603:1096:404:29::24) To VE1PR04MB6365.eurprd04.prod.outlook.com\n\t(2603:10a6:803:12a::14)",
        "x-ms-traffictypediagnostic": "VE1PR04MB6510:",
        "x-originating-ip": "[92.120.1.68]",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Original-To": "patchwork@dpdk.org",
        "x-forefront-prvs": "0005B05917",
        "x-ms-office365-filtering-ht": "Tenant",
        "x-ms-publictraffictype": "Email",
        "x-microsoft-antispam-prvs": "<VE1PR04MB651068950DB4F6D80CCADF8FE1280@VE1PR04MB6510.eurprd04.prod.outlook.com>",
        "X-MS-Exchange-CrossTenant-mailboxtype": "HOSTED",
        "x-mailer": "git-send-email 2.17.1",
        "authentication-results": "spf=none (sender IP is )\n\tsmtp.mailfrom=G.Singh@nxp.com; ",
        "Thread-Topic": "[PATCH v3 02/13] net/enetc: fix SMMU unhandled context fault",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Content-Language": "en-US",
        "x-ms-office365-filtering-correlation-id": "59f61dd9-167b-43c1-0655-08d6bf363073",
        "Precedence": "list"
    },
    "content": "First configure ring with BDs properly then enable\nthe ring.\n\nFixes: 469c6111a799 (\"net/enetc: enable Rx and Tx\")\nCc: stable@dpdk.org\n\nSigned-off-by: Gagandeep Singh <g.singh@nxp.com>\n---\n drivers/net/enetc/enetc_ethdev.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/enetc/enetc_ethdev.c b/drivers/net/enetc/enetc_ethdev.c\r\nindex 7a9a97d..f1807b9 100644\r\n--- a/drivers/net/enetc/enetc_ethdev.c\r\n+++ b/drivers/net/enetc/enetc_ethdev.c\r\n@@ -492,15 +492,15 @@ static int enetc_tx_queue_setup(struct rte_eth_dev *dev, uint16_t tx_queue_id,\r\n \t\t       ENETC_RTBLENR_LEN(rx_ring->bd_count));\r\n \r\n \trx_ring->mb_pool = mb_pool;\r\n-\t/* enable ring */\r\n-\tenetc_rxbdr_wr(hw, idx, ENETC_RBMR, ENETC_RBMR_EN);\r\n-\tenetc_rxbdr_wr(hw, idx, ENETC_RBPIR, 0);\r\n \trx_ring->rcir = (void *)((size_t)hw->reg +\r\n \t\t\tENETC_BDR(RX, idx, ENETC_RBCIR));\r\n \tenetc_refill_rx_ring(rx_ring, (enetc_bd_unused(rx_ring)));\r\n \tbuf_size = (uint16_t)(rte_pktmbuf_data_room_size(rx_ring->mb_pool) -\r\n \t\t   RTE_PKTMBUF_HEADROOM);\r\n \tenetc_rxbdr_wr(hw, idx, ENETC_RBBSR, buf_size);\r\n+\t/* enable ring */\r\n+\tenetc_rxbdr_wr(hw, idx, ENETC_RBMR, ENETC_RBMR_EN);\r\n+\tenetc_rxbdr_wr(hw, idx, ENETC_RBPIR, 0);\r\n }\r\n \r\n static int\r\n",
    "prefixes": [
        "v3",
        "02/13"
    ]
}