get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 41117,
    "url": "http://patches.dpdk.org/api/patches/41117/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1528974186-13370-6-git-send-email-tomaszx.jozwiak@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": "<1528974186-13370-6-git-send-email-tomaszx.jozwiak@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1528974186-13370-6-git-send-email-tomaszx.jozwiak@intel.com",
    "date": "2018-06-14T11:03:06",
    "name": "[v2,5/5] doc/qat: document debug options",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ab5cd59d966dc56ec9008d06c52d4a3231429756",
    "submitter": {
        "id": 949,
        "url": "http://patches.dpdk.org/api/people/949/?format=api",
        "name": "Tomasz Jozwiak",
        "email": "tomaszx.jozwiak@intel.com"
    },
    "delegate": {
        "id": 22,
        "url": "http://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": "http://patches.dpdk.org/project/dpdk/patch/1528974186-13370-6-git-send-email-tomaszx.jozwiak@intel.com/mbox/",
    "series": [
        {
            "id": 123,
            "url": "http://patches.dpdk.org/api/series/123/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=123",
            "date": "2018-06-14T11:03:01",
            "name": "crypto/qat: move to dynamic logging",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/123/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/41117/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/41117/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 8CB1B1E4C1;\n\tThu, 14 Jun 2018 13:03:27 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n\tby dpdk.org (Postfix) with ESMTP id 5C7D61E3CE\n\tfor <dev@dpdk.org>; Thu, 14 Jun 2018 13:03:21 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t14 Jun 2018 04:03:20 -0700",
            "from tjozwiax-mobl.ger.corp.intel.com (HELO\n\ttojo-VirtualBox.MobicaPL.local) ([10.103.104.42])\n\tby orsmga002.jf.intel.com with ESMTP; 14 Jun 2018 04:03:19 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,222,1526367600\"; d=\"scan'208\";a=\"66939762\"",
        "From": "Tomasz Jozwiak <tomaszx.jozwiak@intel.com>",
        "To": "fiona.trahe@intel.com,\n\ttomaszx.jozwiak@intel.com,\n\tdev@dpdk.org",
        "Date": "Thu, 14 Jun 2018 13:03:06 +0200",
        "Message-Id": "<1528974186-13370-6-git-send-email-tomaszx.jozwiak@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1528974186-13370-1-git-send-email-tomaszx.jozwiak@intel.com>",
        "References": "<1526038308-12043-1-git-send-email-fiona.trahe@intel.com>\n\t<1528974186-13370-1-git-send-email-tomaszx.jozwiak@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 5/5] doc/qat: document debug options",
        "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": "From: Fiona Trahe <fiona.trahe@intel.com>\n\nSigned-off-by: Fiona Trahe <fiona.trahe@intel.com>\n---\n doc/guides/cryptodevs/qat.rst | 26 ++++++++++++++++++++++++++\n 1 file changed, 26 insertions(+)",
    "diff": "diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst\nindex 22a2c71..b899985 100644\n--- a/doc/guides/cryptodevs/qat.rst\n+++ b/doc/guides/cryptodevs/qat.rst\n@@ -371,3 +371,29 @@ Each qat crypto device has a unique name, in format\n <pci bdf>_<service>, e.g. \"0000:41:01.0_qat_sym\".\n This name can be passed to rte_cryptodev_get_dev_id() to get the device_id.\n This is also the format of the slave parameter passed to the crypto scheduler.\n+\n+Debugging\n+----------------------------------------\n+\n+There are 2 sets of trace available via the dynamic logging feature:\n+\n+* pmd.qat_dp exposes trace on the data-path.\n+* pmd.qat_general exposes all other trace.\n+\n+pmd.qat exposes both sets of traces.\n+They can be enabled using the log-level option (where 8=maximum log level) on\n+the process cmdline, e.g. using any of the following::\n+\n+    --log-level=\"pmd.qat_general,8\"\n+    --log-level=\"pmd.qat_dp,8\"\n+    --log-level=\"pmd.qat,8\"\n+\n+.. Note::\n+\n+    The global RTE_LOG_DP_LEVEL overrides data-path trace so must be set to\n+    RTE_LOG_DEBUG to see all the trace. This variable is in config/rte_config.h\n+    for meson build and config/common_base for gnu make.\n+    Also the dynamic global log level overrides both sets of trace, so e.g. no\n+    QAT trace would display in this case::\n+\n+\t--log-level=\"7\" --log-level=\"pmd.qat_general,8\"\n",
    "prefixes": [
        "v2",
        "5/5"
    ]
}