Show a patch.

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

{
    "id": 41048,
    "url": "http://patches.dpdk.org/api/patches/41048/",
    "web_url": "http://patches.dpdk.org/patch/41048/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<1528892062-4997-15-git-send-email-tomaszx.jozwiak@intel.com>",
    "date": "2018-06-13T12:13:58",
    "name": "[v3,14/38] crypto/qat: move defines from sym to qp header file",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "84b6c089145be7fc402f9029a24d4300655d7313",
    "submitter": {
        "id": 949,
        "url": "http://patches.dpdk.org/api/people/949/",
        "name": "Tomasz Jozwiak",
        "email": "tomaszx.jozwiak@intel.com"
    },
    "delegate": {
        "id": 22,
        "url": "http://patches.dpdk.org/api/users/22/",
        "username": "pdelarag",
        "first_name": "Pablo",
        "last_name": "de Lara Guarch",
        "email": "pablo.de.lara.guarch@intel.com"
    },
    "mbox": "http://patches.dpdk.org/patch/41048/mbox/",
    "series": [
        {
            "id": 111,
            "url": "http://patches.dpdk.org/api/series/111/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=111",
            "date": "2018-06-13T12:13:44",
            "name": "crypto/qat: refactor to support multiple services",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/111/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/41048/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/41048/checks/",
    "tags": {},
    "headers": {
        "X-Mailman-Version": "2.1.15",
        "X-ExtLoop1": "1",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Mailer": "git-send-email 2.7.4",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 490191EF90;\n\tWed, 13 Jun 2018 14:15:07 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id C930C1EF52\n\tfor <dev@dpdk.org>; Wed, 13 Jun 2018 14:15:00 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t13 Jun 2018 05:14:58 -0700",
            "from tjozwiax-mobl.ger.corp.intel.com (HELO localhost.localdomain)\n\t([10.103.104.42])\n\tby fmsmga001.fm.intel.com with ESMTP; 13 Jun 2018 05:14:44 -0700"
        ],
        "References": "<1523040732-3290-1-git-send-email-fiona.trahe@intel.com>\n\t<1528892062-4997-1-git-send-email-tomaszx.jozwiak@intel.com>",
        "X-BeenThere": "dev@dpdk.org",
        "Message-Id": "<1528892062-4997-15-git-send-email-tomaszx.jozwiak@intel.com>",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,218,1526367600\"; d=\"scan'208\";a=\"63727706\"",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Precedence": "list",
        "From": "Tomasz Jozwiak <tomaszx.jozwiak@intel.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "In-Reply-To": "<1528892062-4997-1-git-send-email-tomaszx.jozwiak@intel.com>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "To": "fiona.trahe@intel.com,\n\ttomaszx.jozwiak@intel.com,\n\tdev@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "List-Unsubscribe": "<https://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Date": "Wed, 13 Jun 2018 14:13:58 +0200",
        "X-Amp-File-Uploaded": "False",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "Subject": "[dpdk-dev] [PATCH v3 14/38] crypto/qat: move defines from sym to qp\n\theader file"
    },
    "content": "From: Fiona Trahe <fiona.trahe@intel.com>\n\nMove defines related to coalescing from sym header file to qp header\nfile as these will be common for all services.\n\nSigned-off-by: Fiona Trahe <fiona.trahe@intel.com>\n---\n drivers/crypto/qat/qat_qp.h  | 7 +++++++\n drivers/crypto/qat/qat_sym.h | 7 -------\n 2 files changed, 7 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/drivers/crypto/qat/qat_qp.h b/drivers/crypto/qat/qat_qp.h\nindex 7bd8fdcec..8cf072c55 100644\n--- a/drivers/crypto/qat/qat_qp.h\n+++ b/drivers/crypto/qat/qat_qp.h\n@@ -7,6 +7,13 @@\n #include \"qat_common.h\"\n #include \"qat_device.h\"\n \n+#define QAT_CSR_HEAD_WRITE_THRESH 32U\n+/* number of requests to accumulate before writing head CSR */\n+#define QAT_CSR_TAIL_WRITE_THRESH 32U\n+/* number of requests to accumulate before writing tail CSR */\n+#define QAT_CSR_TAIL_FORCE_WRITE_THRESH 256U\n+/* number of inflights below which no tail write coalescing should occur */\n+\n typedef int (*build_request_t)(void *op,\n \t\tuint8_t *req, void *op_cookie,\n \t\tenum qat_device_gen qat_dev_gen);\ndiff --git a/drivers/crypto/qat/qat_sym.h b/drivers/crypto/qat/qat_sym.h\nindex 39574eeb6..b92ec72de 100644\n--- a/drivers/crypto/qat/qat_sym.h\n+++ b/drivers/crypto/qat/qat_sym.h\n@@ -20,13 +20,6 @@\n \t(((num) + (align) - 1) & ~((align) - 1))\n #define QAT_64_BTYE_ALIGN_MASK (~0x3f)\n \n-#define QAT_CSR_HEAD_WRITE_THRESH 32U\n-/* number of requests to accumulate before writing head CSR */\n-#define QAT_CSR_TAIL_WRITE_THRESH 32U\n-/* number of requests to accumulate before writing tail CSR */\n-#define QAT_CSR_TAIL_FORCE_WRITE_THRESH 256U\n-/* number of inflights below which no tail write coalescing should occur */\n-\n struct qat_sym_session;\n \n int\n",
    "prefixes": [
        "v3",
        "14/38"
    ]
}