Show a patch.

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

{
    "id": 41055,
    "url": "http://patches.dpdk.org/api/patches/41055/",
    "web_url": "http://patches.dpdk.org/patch/41055/",
    "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-23-git-send-email-tomaszx.jozwiak@intel.com>",
    "date": "2018-06-13T12:14:06",
    "name": "[v3,22/38] crypto/qat: rename functions which depend on cryptodev",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "dda13ef80ed9042399b59142e8ddb328239c962e",
    "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/41055/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/41055/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/41055/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 9E8481EFB3;\n\tWed, 13 Jun 2018 14:15:24 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id A9D9B1EF26\n\tfor <dev@dpdk.org>; Wed, 13 Jun 2018 14:15:02 +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:59 -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:54 -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-23-git-send-email-tomaszx.jozwiak@intel.com>",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,218,1526367600\"; d=\"scan'208\";a=\"63727761\"",
        "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:14:06 +0200",
        "X-Amp-File-Uploaded": "False",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "Subject": "[dpdk-dev] [PATCH v3 22/38] crypto/qat: rename functions which\n\tdepend on cryptodev"
    },
    "content": "From: Fiona Trahe <fiona.trahe@intel.com>\n\nRename all device functions which depend on cryptodev structs.\n\nSigned-off-by: Fiona Trahe <fiona.trahe@intel.com>\n---\n drivers/crypto/qat/qat_device.c        | 8 ++++----\n drivers/crypto/qat/qat_device.h        | 8 ++++----\n drivers/crypto/qat/rte_qat_cryptodev.c | 8 ++++----\n 3 files changed, 12 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/drivers/crypto/qat/qat_device.c b/drivers/crypto/qat/qat_device.c\nindex 4dfbc84c8..8b2ac5a5f 100644\n--- a/drivers/crypto/qat/qat_device.c\n+++ b/drivers/crypto/qat/qat_device.c\n@@ -24,25 +24,25 @@ struct qat_gen_hw_data qp_gen_config[] =  {\n static struct qat_pci_device qat_pci_devices[QAT_MAX_PCI_DEVICES];\n static int qat_nb_pci_devices;\n \n-int qat_dev_config(__rte_unused struct rte_cryptodev *dev,\n+int qat_sym_dev_config(__rte_unused struct rte_cryptodev *dev,\n \t\t__rte_unused struct rte_cryptodev_config *config)\n {\n \tPMD_INIT_FUNC_TRACE();\n \treturn 0;\n }\n \n-int qat_dev_start(__rte_unused struct rte_cryptodev *dev)\n+int qat_sym_dev_start(__rte_unused struct rte_cryptodev *dev)\n {\n \tPMD_INIT_FUNC_TRACE();\n \treturn 0;\n }\n \n-void qat_dev_stop(__rte_unused struct rte_cryptodev *dev)\n+void qat_sym_dev_stop(__rte_unused struct rte_cryptodev *dev)\n {\n \tPMD_INIT_FUNC_TRACE();\n }\n \n-int qat_dev_close(struct rte_cryptodev *dev)\n+int qat_sym_dev_close(struct rte_cryptodev *dev)\n {\n \tint i, ret;\n \ndiff --git a/drivers/crypto/qat/qat_device.h b/drivers/crypto/qat/qat_device.h\nindex d1615e2a7..5424a9a94 100644\n--- a/drivers/crypto/qat/qat_device.h\n+++ b/drivers/crypto/qat/qat_device.h\n@@ -84,11 +84,11 @@ struct qat_gen_hw_data {\n \n extern struct qat_gen_hw_data qp_gen_config[];\n \n-int qat_dev_config(struct rte_cryptodev *dev,\n+int qat_sym_dev_config(struct rte_cryptodev *dev,\n \t\tstruct rte_cryptodev_config *config);\n-int qat_dev_start(struct rte_cryptodev *dev);\n-void qat_dev_stop(struct rte_cryptodev *dev);\n-int qat_dev_close(struct rte_cryptodev *dev);\n+int qat_sym_dev_start(struct rte_cryptodev *dev);\n+void qat_sym_dev_stop(struct rte_cryptodev *dev);\n+int qat_sym_dev_close(struct rte_cryptodev *dev);\n void qat_sym_dev_info_get(struct rte_cryptodev *dev,\n \tstruct rte_cryptodev_info *info);\n \ndiff --git a/drivers/crypto/qat/rte_qat_cryptodev.c b/drivers/crypto/qat/rte_qat_cryptodev.c\nindex 6d807177e..91bb1e590 100644\n--- a/drivers/crypto/qat/rte_qat_cryptodev.c\n+++ b/drivers/crypto/qat/rte_qat_cryptodev.c\n@@ -29,10 +29,10 @@ static const struct rte_cryptodev_capabilities qat_gen2_sym_capabilities[] = {\n static struct rte_cryptodev_ops crypto_qat_ops = {\n \n \t\t/* Device related operations */\n-\t\t.dev_configure\t\t= qat_dev_config,\n-\t\t.dev_start\t\t= qat_dev_start,\n-\t\t.dev_stop\t\t= qat_dev_stop,\n-\t\t.dev_close\t\t= qat_dev_close,\n+\t\t.dev_configure\t\t= qat_sym_dev_config,\n+\t\t.dev_start\t\t= qat_sym_dev_start,\n+\t\t.dev_stop\t\t= qat_sym_dev_stop,\n+\t\t.dev_close\t\t= qat_sym_dev_close,\n \t\t.dev_infos_get\t\t= qat_sym_dev_info_get,\n \n \t\t.stats_get\t\t= qat_sym_stats_get,\n",
    "prefixes": [
        "v3",
        "22/38"
    ]
}