get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 41058,
    "url": "http://patches.dpdk.org/api/patches/41058/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1528892062-4997-27-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": "<1528892062-4997-27-git-send-email-tomaszx.jozwiak@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1528892062-4997-27-git-send-email-tomaszx.jozwiak@intel.com",
    "date": "2018-06-13T12:14:10",
    "name": "[v3,26/38] crypto/qat: rename variables",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "21b74a65a39c743df7674e90a4a24fca2a4d938c",
    "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/1528892062-4997-27-git-send-email-tomaszx.jozwiak@intel.com/mbox/",
    "series": [
        {
            "id": 111,
            "url": "http://patches.dpdk.org/api/series/111/?format=api",
            "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/41058/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/41058/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "X-BeenThere": "dev@dpdk.org",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "From": "Tomasz Jozwiak <tomaszx.jozwiak@intel.com>",
        "To": "fiona.trahe@intel.com,\n\ttomaszx.jozwiak@intel.com,\n\tdev@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Amp-File-Uploaded": "False",
        "References": "<1523040732-3290-1-git-send-email-fiona.trahe@intel.com>\n\t<1528892062-4997-1-git-send-email-tomaszx.jozwiak@intel.com>",
        "In-Reply-To": "<1528892062-4997-1-git-send-email-tomaszx.jozwiak@intel.com>",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-Mailer": "git-send-email 2.7.4",
        "List-Unsubscribe": "<https://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 797F21EFE1;\n\tWed, 13 Jun 2018 14:15:34 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 41B211EF52\n\tfor <dev@dpdk.org>; Wed, 13 Jun 2018 14:15:03 +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:15:01 -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:59 -0700"
        ],
        "X-Original-To": "patchwork@dpdk.org",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "X-Mailman-Version": "2.1.15",
        "X-ExtLoop1": "1",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,218,1526367600\"; d=\"scan'208\";a=\"63727781\"",
        "Subject": "[dpdk-dev] [PATCH v3 26/38] crypto/qat: rename variables",
        "Date": "Wed, 13 Jun 2018 14:14:10 +0200",
        "Message-Id": "<1528892062-4997-27-git-send-email-tomaszx.jozwiak@intel.com>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Precedence": "list"
    },
    "content": "From: Fiona Trahe <fiona.trahe@intel.com>\n\nRenamed sgl_cookie to cookie and qp_gen_config\nto qat_gen_config, as it is intended to hold\nmore than just queue pair data.\n\nSigned-off-by: Fiona Trahe <fiona.trahe@intel.com>\nSigned-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>\n---\n drivers/crypto/qat/qat_device.c  |  2 +-\n drivers/crypto/qat/qat_device.h  |  2 +-\n drivers/crypto/qat/qat_sym_pmd.c | 14 +++++++-------\n 3 files changed, 9 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/drivers/crypto/qat/qat_device.c b/drivers/crypto/qat/qat_device.c\nindex c9d4b32ed..a0e414905 100644\n--- a/drivers/crypto/qat/qat_device.c\n+++ b/drivers/crypto/qat/qat_device.c\n@@ -10,7 +10,7 @@\n \n /* Hardware device information per generation */\n __extension__\n-struct qat_gen_hw_data qp_gen_config[] =  {\n+struct qat_gen_hw_data qat_gen_config[] =  {\n \t[QAT_GEN1] = {\n \t\t.dev_gen = QAT_GEN1,\n \t\t.qp_hw_data = qat_gen1_qps,\ndiff --git a/drivers/crypto/qat/qat_device.h b/drivers/crypto/qat/qat_device.h\nindex fd20a0147..4201a1c71 100644\n--- a/drivers/crypto/qat/qat_device.h\n+++ b/drivers/crypto/qat/qat_device.h\n@@ -62,7 +62,7 @@ struct qat_gen_hw_data {\n \tconst struct qat_qp_hw_data (*qp_hw_data)[ADF_MAX_QPS_ON_ANY_SERVICE];\n };\n \n-extern struct qat_gen_hw_data qp_gen_config[];\n+extern struct qat_gen_hw_data qat_gen_config[];\n \n struct qat_pci_device *\n qat_pci_device_allocate(struct rte_pci_device *pci_dev);\ndiff --git a/drivers/crypto/qat/qat_sym_pmd.c b/drivers/crypto/qat/qat_sym_pmd.c\nindex aa71b4641..e6760b8f8 100644\n--- a/drivers/crypto/qat/qat_sym_pmd.c\n+++ b/drivers/crypto/qat/qat_sym_pmd.c\n@@ -68,7 +68,7 @@ static void qat_sym_dev_info_get(struct rte_cryptodev *dev,\n {\n \tstruct qat_sym_dev_private *internals = dev->data->dev_private;\n \tconst struct qat_qp_hw_data *sym_hw_qps =\n-\t\tqp_gen_config[internals->qat_dev->qat_dev_gen]\n+\t\tqat_gen_config[internals->qat_dev->qat_dev_gen]\n \t\t\t      .qp_hw_data[QAT_SERVICE_SYMMETRIC];\n \n \tPMD_INIT_FUNC_TRACE();\n@@ -143,7 +143,7 @@ static int qat_sym_qp_setup(struct rte_cryptodev *dev, uint16_t qp_id,\n \t\t\t(struct qat_qp **)&(dev->data->queue_pairs[qp_id]);\n \tstruct qat_sym_dev_private *qat_private = dev->data->dev_private;\n \tconst struct qat_qp_hw_data *sym_hw_qps =\n-\t\t\tqp_gen_config[qat_private->qat_dev->qat_dev_gen]\n+\t\t\tqat_gen_config[qat_private->qat_dev->qat_dev_gen]\n \t\t\t\t      .qp_hw_data[QAT_SERVICE_SYMMETRIC];\n \tconst struct qat_qp_hw_data *qp_hw_data = sym_hw_qps + qp_id;\n \n@@ -178,16 +178,16 @@ static int qat_sym_qp_setup(struct rte_cryptodev *dev, uint16_t qp_id,\n \n \tfor (i = 0; i < qp->nb_descriptors; i++) {\n \n-\t\tstruct qat_sym_op_cookie *sql_cookie =\n+\t\tstruct qat_sym_op_cookie *cookie =\n \t\t\t\tqp->op_cookies[i];\n \n-\t\tsql_cookie->qat_sgl_src_phys_addr =\n-\t\t\t\trte_mempool_virt2iova(sql_cookie) +\n+\t\tcookie->qat_sgl_src_phys_addr =\n+\t\t\t\trte_mempool_virt2iova(cookie) +\n \t\t\t\toffsetof(struct qat_sym_op_cookie,\n \t\t\t\tqat_sgl_src);\n \n-\t\tsql_cookie->qat_sgl_dst_phys_addr =\n-\t\t\t\trte_mempool_virt2iova(sql_cookie) +\n+\t\tcookie->qat_sgl_dst_phys_addr =\n+\t\t\t\trte_mempool_virt2iova(cookie) +\n \t\t\t\toffsetof(struct qat_sym_op_cookie,\n \t\t\t\tqat_sgl_dst);\n \t}\n",
    "prefixes": [
        "v3",
        "26/38"
    ]
}