get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 40228,
    "url": "https://patches.dpdk.org/api/patches/40228/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180518164018.2576-1-pablo.de.lara.guarch@intel.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": "<20180518164018.2576-1-pablo.de.lara.guarch@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180518164018.2576-1-pablo.de.lara.guarch@intel.com",
    "date": "2018-05-18T16:40:18",
    "name": "[dpdk-dev,v2] cryptodev: extend feature flags description",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7967a6ef31eb9f97d38e328f42336374b50cc8eb",
    "submitter": {
        "id": 9,
        "url": "https://patches.dpdk.org/api/people/9/?format=api",
        "name": "De Lara Guarch, Pablo",
        "email": "pablo.de.lara.guarch@intel.com"
    },
    "delegate": {
        "id": 22,
        "url": "https://patches.dpdk.org/api/users/22/?format=api",
        "username": "pdelarag",
        "first_name": "Pablo",
        "last_name": "de Lara Guarch",
        "email": "pablo.de.lara.guarch@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180518164018.2576-1-pablo.de.lara.guarch@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/40228/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/40228/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A77E8199B4;\n\tFri, 18 May 2018 18:41:39 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 5A2D9199AC\n\tfor <dev@dpdk.org>; Fri, 18 May 2018 18:41:37 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t18 May 2018 09:41:36 -0700",
            "from silpixa00399464.ir.intel.com (HELO\n\tsilpixa00399464.ger.corp.intel.com) ([10.237.222.157])\n\tby orsmga001.jf.intel.com with ESMTP; 18 May 2018 09:41:34 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.49,415,1520924400\"; d=\"scan'208\";a=\"57097838\"",
        "From": "Pablo de Lara <pablo.de.lara.guarch@intel.com>",
        "To": "vipin.varghese@intel.com,\n\tdeclan.doherty@intel.com",
        "Cc": "dev@dpdk.org,\n\tPablo de Lara <pablo.de.lara.guarch@intel.com>",
        "Date": "Fri, 18 May 2018 17:40:18 +0100",
        "Message-Id": "<20180518164018.2576-1-pablo.de.lara.guarch@intel.com>",
        "X-Mailer": "git-send-email 2.17.0",
        "In-Reply-To": "<20180518132007.5401-1-pablo.de.lara.guarch@intel.com>",
        "References": "<20180518132007.5401-1-pablo.de.lara.guarch@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2] cryptodev: extend feature flags description",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Extend the description of cryptodev feature flags,\nadding extra information.\n\nSigned-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>\n---\n\nChanges in v2:\n- Rephrased the comment as per Vipin's comments\n- Added comment in cryptodev structure\n\n lib/librte_cryptodev/rte_cryptodev.h | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h\nindex 261a359dc..2fb65638d 100644\n--- a/lib/librte_cryptodev/rte_cryptodev.h\n+++ b/lib/librte_cryptodev/rte_cryptodev.h\n@@ -373,7 +373,8 @@ struct rte_cryptodev_info {\n \tuint8_t driver_id;\t\t\t/**< Driver identifier */\n \tstruct rte_pci_device *pci_dev;\t\t/**< PCI information. */\n \n-\tuint64_t feature_flags;\t\t\t/**< Feature flags */\n+\tuint64_t feature_flags;\n+\t/**< Feature flags exposes HW/SW features for the given device */\n \n \tconst struct rte_cryptodev_capabilities *capabilities;\n \t/**< Array of devices supported capabilities */\n@@ -749,7 +750,7 @@ struct rte_cryptodev {\n \tstruct rte_cryptodev_ops *dev_ops;\n \t/**< Functions exported by PMD */\n \tuint64_t feature_flags;\n-\t/**< Supported features */\n+\t/**< Feature flags exposes HW/SW features for the given device */\n \tstruct rte_device *device;\n \t/**< Backing device */\n \n",
    "prefixes": [
        "dpdk-dev",
        "v2"
    ]
}