get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 43954,
    "url": "http://patches.dpdk.org/api/patches/43954/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1535539660-20228-3-git-send-email-hemant.agrawal@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": "<1535539660-20228-3-git-send-email-hemant.agrawal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1535539660-20228-3-git-send-email-hemant.agrawal@nxp.com",
    "date": "2018-08-29T10:47:29",
    "name": "[02/13] net/dpaa: fix jumbo buffer config",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "e977c41b81288c17660ba8c91feaa1be5d079c47",
    "submitter": {
        "id": 477,
        "url": "http://patches.dpdk.org/api/people/477/?format=api",
        "name": "Hemant Agrawal",
        "email": "hemant.agrawal@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/1535539660-20228-3-git-send-email-hemant.agrawal@nxp.com/mbox/",
    "series": [
        {
            "id": 1090,
            "url": "http://patches.dpdk.org/api/series/1090/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1090",
            "date": "2018-08-29T10:47:27",
            "name": "driver/net: NXP DPAA driver enhancements",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1090/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/43954/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/43954/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Received-SPF": "None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Message-Id": "<1535539660-20228-3-git-send-email-hemant.agrawal@nxp.com>",
        "Cc": "dpdk-up@NXP1.onmicrosoft.com",
        "Subject": "[dpdk-dev] [PATCH 02/13] net/dpaa: fix jumbo buffer config",
        "From": "Hemant Agrawal <hemant.agrawal@nxp.com>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Mailer": "git-send-email 2.7.4",
        "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=Oa7k58WbnKSkfIojEAwcE7TJwSfdrFucaNdEbqv4CF0=;\n\tb=LUCCGlKPD1ZnlInK6BuH/OuKyshkGX1rFzg4rhGqBGzs0GDgkROCJvCC5mgljq9xVWy5mbB8UOox80Hlk2BuBmZZ36oG9UZZ7ZFPiSU7yiRrXq57GVB4ohVynP0VuCQwuxT12KfBgca3fWGNJsZ04IdE4vEIP0OYxD7PizCz9UM=",
        "Authentication-Results": "spf=none (sender IP is )\n\tsmtp.mailfrom=hemant.agrawal@nxp.com; ",
        "X-Mailman-Version": "2.1.15",
        "References": "<1535539660-20228-1-git-send-email-hemant.agrawal@nxp.com>",
        "In-Reply-To": "<1535539660-20228-1-git-send-email-hemant.agrawal@nxp.com>",
        "Precedence": "list",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "29 Aug 2018 10:49:43.9817\n\t(UTC)",
        "X-Exchange-Antispam-Report-Test": "UriScan:(185117386973197);",
        "X-MS-Office365-Filtering-HT": "Tenant",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-Originating-IP": "[14.143.30.134]",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "X-Forefront-PRVS": "077929D941",
        "SpamDiagnosticMetadata": "NSPM",
        "Content-Type": "text/plain",
        "X-Microsoft-Antispam-Message-Info": "NmG9UmUW/J5s0G+uWzczstVVJVK/ocPxYgHsZ7L4jGstgmI1H0gUkv0z0GEr/GFrQ+MXevuuqDbC7yhwo29XABgeu2YBYMPkVOubXhW8/0rNSU7kUO5QLWGF+6ynWFX9CWlTxRKEkNpxw6rMsD27XB2yoEjNNGM+5jHXIP2lQvkgVxLevMRpef/qGYJGYb6gdO0EwMINGt7Jh7W8JrZmtrnfAYGkxJhV+ECbc+T18ntntMJZuanOn4reFCUX9eZgQWzemOF42Su+3mLgK/MPduDpY2kcIeGwxmQgOBIJSaqZ8AFHELNr2MHoz41vZqRf+brSc8YukNIVk0rQQFucw3q8UV9TTt2mun5KFQCYeTo=",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(823301075)(3002001)(10201501046)(3231311)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699016);\n\tSRVR:VI1PR0401MB2543; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0401MB2543; ",
        "X-OriginatorOrg": "nxp.com",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-MS-Office365-Filtering-Correlation-Id": "c1c2e188-7303-4a9e-b1b9-08d60d9d21ce",
        "X-Original-To": "patchwork@dpdk.org",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; VI1PR0401MB2543;\n\t3:BZGiQr2WZ5k0524STj0kCfj2CY77j78zJP3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YdBWPpb/PdhZlLAz/xYnqOiej8yci7uoiIThNZNAzbTYGgGZQ+9WiHT4mNZO+rvDIHXtXMv4VsPH1SVT3Pud/7amc9Lo+ncwksASaqFHH9astHzyoR1GssW+Xb7kSDZF/D9fb5ENwrYKYdBQ8LLkvOSBp5+y9eLvcpjxtJvmLX+PTJs1VuU5vq9bAMOLBtPYwMFI62ereJR74STHlFh3zbyYaiCtYwA6K44N5OEBjKPg8gBU1JoTGt/7dM+sXRr5lYHtKL2gGneCstg/PXj/pdQrK+F75/KolZOQ==;\n\t5:yhfWycyv6/95HalP8NO8yriL+crVMvcVIWQbTU0aFlqy1ztOgRvWciXAuUTErCv1+XCXsJbecI9cuBMON/p58dzG1oPjxo91t+xhbuX4T/HglgDWjNeWnjcNpIjCjxspKS/8XuaKxN6zS6va//hp53wrHJq7z7s0uxcPeda7KDY=;\n\t7:luOX9TBP+1e6v9YRIMMSwvsLQO1GJPTZ3Gqogpqfv9WFrpFmvP9t39C6F9OdM+i1aVboQA1erLSpBdUXctj27qN97T24ivvDWNvEhw0AZKoHYfPRf6tvQ8pSyCqWppBrKFXi5rcrPSDmpT0kcnWgc55+LX/3ZCAhBMav1MgJQ27Qpyfp/GRCh97ZamanvZa/QcsOaJAMk/IWm6bNYQaRDEgXmwEZcW9rE9NYofohp2Lm450pAUNjAIpdVlR4dOLs"
        ],
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "VI1PR0401MB2543",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "c1c2e188-7303-4a9e-b1b9-08d60d9d21ce",
        "Date": "Wed, 29 Aug 2018 16:17:29 +0530",
        "SpamDiagnosticOutput": "1:99",
        "X-ClientProxiedBy": "BM1PR0101CA0071.INDPRD01.PROD.OUTLOOK.COM\n\t(2603:1096:b00:19::33) To VI1PR0401MB2543.eurprd04.prod.outlook.com\n\t(2603:10a6:800:56::21)",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4BA914CAD;\n\tWed, 29 Aug 2018 12:49:49 +0200 (CEST)",
            "from EUR02-AM5-obe.outbound.protection.outlook.com\n\t(mail-eopbgr00049.outbound.protection.outlook.com [40.107.0.49])\n\tby dpdk.org (Postfix) with ESMTP id D43144C8B\n\tfor <dev@dpdk.org>; Wed, 29 Aug 2018 12:49:45 +0200 (CEST)",
            "from bf-netperf1.ap.freescale.net (14.143.30.134) by\n\tVI1PR0401MB2543.eurprd04.prod.outlook.com (2603:10a6:800:56::21) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.17;\n\tWed, 29 Aug 2018 10:49:43 +0000"
        ],
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Microsoft-Antispam": "BCL:0; PCL:0;\n\tRULEID:(7020095)(4652040)(8989137)(5600074)(711020)(4618075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);\n\tSRVR:VI1PR0401MB2543; ",
        "Delivered-To": "patchwork@dpdk.org",
        "MIME-Version": "1.0",
        "X-MS-TrafficTypeDiagnostic": "VI1PR0401MB2543:",
        "X-MS-PublicTrafficType": "Email",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-Microsoft-Antispam-PRVS": "<VI1PR0401MB25433EA8C694272B59C19F9589090@VI1PR0401MB2543.eurprd04.prod.outlook.com>",
        "X-MS-Exchange-CrossTenant-Id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635",
        "X-Forefront-Antispam-Report": "SFV:NSPM;\n\tSFS:(10009020)(346002)(136003)(366004)(396003)(39860400002)(376002)(189003)(199004)(6512007)(6486002)(16526019)(53936002)(486006)(186003)(11346002)(105586002)(6116002)(106356001)(5660300001)(50466002)(68736007)(5009440100003)(2616005)(25786009)(48376002)(386003)(4326008)(55236004)(6666003)(73566003)(86362001)(956004)(107886003)(446003)(3846002)(26005)(6506007)(476003)(316002)(52116002)(50226002)(478600001)(47776003)(66066001)(8936002)(16586007)(76176011)(51416003)(97736004)(44832011)(81166006)(8676002)(7736002)(305945005)(36756003)(81156014)(2906002)(110426005);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2543;\n\tH:bf-netperf1.ap.freescale.net; \n\tFPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; ",
        "To": "dev@dpdk.org,\n\tferruh.yigit@intel.com"
    },
    "content": "Avoid return after the jumbo buffer config in dev config API\n\nFixes: 9658ac3a4ef6 (\"net/dpaa: set the correct frame size in device MTU\")\nCc: stable@dpdk.org\n\nSigned-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n drivers/net/dpaa/dpaa_ethdev.c | 10 ++++++++--\n 1 file changed, 8 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c\nindex 009ef84..dd1bc90 100644\n--- a/drivers/net/dpaa/dpaa_ethdev.c\n+++ b/drivers/net/dpaa/dpaa_ethdev.c\n@@ -196,11 +196,17 @@ dpaa_eth_dev_configure(struct rte_eth_dev *dev)\n \tif (rx_offloads & DEV_RX_OFFLOAD_JUMBO_FRAME) {\n \t\tif (dev->data->dev_conf.rxmode.max_rx_pkt_len <=\n \t\t    DPAA_MAX_RX_PKT_LEN) {\n+\t\t\tDPAA_PMD_DEBUG(\"enabling jumbo\");\n \t\t\tfman_if_set_maxfrm(dpaa_intf->fif,\n \t\t\t\tdev->data->dev_conf.rxmode.max_rx_pkt_len);\n-\t\t\treturn 0;\n+\t\t\tdev->data->mtu =\n+\t\t\t\tdev->data->dev_conf.rxmode.max_rx_pkt_len -\n+\t\t\t\tETHER_HDR_LEN - ETHER_CRC_LEN - VLAN_TAG_SIZE;\n \t\t} else {\n-\t\t\treturn -1;\n+\t\t\tDPAA_PMD_ERR(\"enabling jumbo err conf max len=%d \"\n+\t\t\t\t\"supported is %d\",\n+\t\t\t\tdev->data->dev_conf.rxmode.max_rx_pkt_len,\n+\t\t\t\tDPAA_MAX_RX_PKT_LEN);\n \t\t}\n \t}\n \treturn 0;\n",
    "prefixes": [
        "02/13"
    ]
}