get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 115623,
    "url": "http://patches.dpdk.org/api/patches/115623/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1661796438-204861-8-git-send-email-nicolas.chautru@intel.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": "<1661796438-204861-8-git-send-email-nicolas.chautru@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1661796438-204861-8-git-send-email-nicolas.chautru@intel.com",
    "date": "2022-08-29T18:07:18",
    "name": "[v7,7/7] bbdev: remove unnecessary if-check",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "cf04218cdee8ccebf47165fd1e8c2dc5c23afa24",
    "submitter": {
        "id": 1314,
        "url": "http://patches.dpdk.org/api/people/1314/?format=api",
        "name": "Chautru, Nicolas",
        "email": "nicolas.chautru@intel.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1661796438-204861-8-git-send-email-nicolas.chautru@intel.com/mbox/",
    "series": [
        {
            "id": 24459,
            "url": "http://patches.dpdk.org/api/series/24459/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24459",
            "date": "2022-08-29T18:07:15",
            "name": "bbdev changes for 22.11",
            "version": 7,
            "mbox": "http://patches.dpdk.org/series/24459/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/115623/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/115623/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 432D6A0542;\n\tMon, 29 Aug 2022 20:28:29 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 85065427F7;\n\tMon, 29 Aug 2022 20:28:23 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 7AE324003C\n for <dev@dpdk.org>; Mon, 29 Aug 2022 20:28:19 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Aug 2022 11:28:18 -0700",
            "from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210])\n by orsmga002.jf.intel.com with ESMTP; 29 Aug 2022 11:28:17 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1661797699; x=1693333699;\n h=from:to:cc:subject:date:message-id:in-reply-to: references;\n bh=85ENNCoTFxdB3kixzEQ4zG/DVP1B7DUtRS1kd3VIHCI=;\n b=OBMa5n6ddh2gS3dwpRTIvKKlOWPgziqkha7T3aH/9HPeeFVgM15bFt0G\n 0omtLQvdLhtU6corOThZ4oTDZPRsNp42KB93dtfAgyQqMTw6Md1vLlPxU\n 3Tv0tXGi7GrLjLjMd205uKh0H2jAzzjBbgR/xjRvr2Ik+qiiKuYwQEvBc\n 6gfIwGONW1hCBJFbV5Th+KVw+iB0GsrdLhxo8zxOPzHjpJIBQ0tBsrHwP\n IBR1T1z7O1LoGtTQ80RUF0ZWUwof4zZ9SVcZC/6EsO3Z0KXeP/zSzBszS\n YyigEeAVd7bna4Febt2RHqqJ+1I9JVPY7sr0tx1/QOj9wm5EOjTh5D+Es w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10454\"; a=\"275369541\"",
            "E=Sophos;i=\"5.93,273,1654585200\"; d=\"scan'208\";a=\"275369541\"",
            "E=Sophos;i=\"5.93,273,1654585200\"; d=\"scan'208\";a=\"611396768\""
        ],
        "X-ExtLoop1": "1",
        "From": "Nicolas Chautru <nicolas.chautru@intel.com>",
        "To": "dev@dpdk.org, thomas@monjalon.net, gakhil@marvell.com,\n hemant.agrawal@nxp.com",
        "Cc": "maxime.coquelin@redhat.com, trix@redhat.com, mdr@ashroe.eu,\n bruce.richardson@intel.com, david.marchand@redhat.com,\n stephen@networkplumber.org, mingshan.zhang@intel.com,\n Nicolas Chautru <nicolas.chautru@intel.com>",
        "Subject": "[PATCH v7 7/7] bbdev: remove unnecessary if-check",
        "Date": "Mon, 29 Aug 2022 11:07:18 -0700",
        "Message-Id": "<1661796438-204861-8-git-send-email-nicolas.chautru@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1661796438-204861-1-git-send-email-nicolas.chautru@intel.com>",
        "References": "<1655491040-183649-6-git-send-email-nicolas.chautru@intel.com>\n <1661796438-204861-1-git-send-email-nicolas.chautru@intel.com>",
        "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": "Code clean up due to if-check not required\n\nSigned-off-by: Nicolas Chautru <nicolas.chautru@intel.com>\nAcked-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n lib/bbdev/rte_bbdev_op.h | 15 ++++-----------\n 1 file changed, 4 insertions(+), 11 deletions(-)",
    "diff": "diff --git a/lib/bbdev/rte_bbdev_op.h b/lib/bbdev/rte_bbdev_op.h\nindex afa1a71..386eed8 100644\n--- a/lib/bbdev/rte_bbdev_op.h\n+++ b/lib/bbdev/rte_bbdev_op.h\n@@ -970,10 +970,8 @@ struct rte_mempool *\n \n \t/* Get elements */\n \tret = rte_mempool_get_bulk(mempool, (void **)ops, num_ops);\n-\tif (unlikely(ret < 0))\n-\t\treturn ret;\n \n-\treturn 0;\n+\treturn ret;\n }\n \n /**\n@@ -1006,10 +1004,8 @@ struct rte_mempool *\n \n \t/* Get elements */\n \tret = rte_mempool_get_bulk(mempool, (void **)ops, num_ops);\n-\tif (unlikely(ret < 0))\n-\t\treturn ret;\n \n-\treturn 0;\n+\treturn ret;\n }\n \n /**\n@@ -1035,17 +1031,14 @@ struct rte_mempool *\n \tint ret;\n \n \t/* Check type */\n-\tpriv = (struct rte_bbdev_op_pool_private *)\n-\t\t\trte_mempool_get_priv(mempool);\n+\tpriv = (struct rte_bbdev_op_pool_private *) rte_mempool_get_priv(mempool);\n \tif (unlikely(priv->type != RTE_BBDEV_OP_FFT))\n \t\treturn -EINVAL;\n \n \t/* Get elements */\n \tret = rte_mempool_get_bulk(mempool, (void **)ops, num_ops);\n-\tif (unlikely(ret < 0))\n-\t\treturn ret;\n \n-\treturn 0;\n+\treturn ret;\n }\n \n /**\n",
    "prefixes": [
        "v7",
        "7/7"
    ]
}