Show a patch.

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

{
    "id": 40960,
    "url": "http://patches.dpdk.org/api/patches/40960/",
    "web_url": "http://patches.dpdk.org/patch/40960/",
    "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": "<20180608220234.10170-3-pablo.de.lara.guarch@intel.com>",
    "date": "2018-06-08T22:02:30",
    "name": "[2/6] cryptodev: remove max number of sessions per queue",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f1c4f031f4790e7ee25fb6d7f98b81f097a3d50b",
    "submitter": {
        "id": 9,
        "url": "http://patches.dpdk.org/api/people/9/",
        "name": "Pablo de Lara",
        "email": "pablo.de.lara.guarch@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/40960/mbox/",
    "series": [
        {
            "id": 70,
            "url": "http://patches.dpdk.org/api/series/70/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=70",
            "date": "2018-06-08T22:02:28",
            "name": "Cryptodev API changes",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/70/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/40960/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/40960/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.17.0",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7C90F1CFF4;\n\tSat,  9 Jun 2018 00:02:22 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 6BB3C1BB0F\n\tfor <dev@dpdk.org>; Sat,  9 Jun 2018 00:02:20 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t08 Jun 2018 15:02:20 -0700",
            "from silpixa00399464.ir.intel.com (HELO\n\tsilpixa00399464.ger.corp.intel.com) ([10.237.222.157])\n\tby fmsmga004.fm.intel.com with ESMTP; 08 Jun 2018 15:02:17 -0700"
        ],
        "References": "<20180608220234.10170-1-pablo.de.lara.guarch@intel.com>",
        "X-Amp-File-Uploaded": "False",
        "X-BeenThere": "dev@dpdk.org",
        "Message-Id": "<20180608220234.10170-3-pablo.de.lara.guarch@intel.com>",
        "X-IronPort-AV": "E=Sophos;i=\"5.49,491,1520924400\"; d=\"scan'208\";a=\"61618417\"",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Precedence": "list",
        "From": "Pablo de Lara <pablo.de.lara.guarch@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": "<20180608220234.10170-1-pablo.de.lara.guarch@intel.com>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "To": "declan.doherty@intel.com, akhil.goyal@nxp.com, ravi1.kumar@amd.com,\n\tjerin.jacob@caviumnetworks.com, roy.fan.zhang@intel.com,\n\tfiona.trahe@intel.com, tdu@semihalf.com, jianjay.zhou@huawei.com",
        "Delivered-To": "patchwork@dpdk.org",
        "List-Unsubscribe": "<https://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Date": "Fri,  8 Jun 2018 23:02:30 +0100",
        "Cc": "dev@dpdk.org,\n\tPablo de Lara <pablo.de.lara.guarch@intel.com>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "Subject": "[dpdk-dev] [PATCH 2/6] cryptodev: remove max number of sessions per\n\tqueue"
    },
    "content": "The cryptodev info structure currently contains\nthe maximum number of sessions that can be used in a queue pair.\nThis is only set in DPAA_SEC PMD, and since it is calculated\nbased on the maximum number of sessions (which is not used\nanymore), this field can be removed.\n\nSigned-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>\n---\n drivers/crypto/dpaa_sec/dpaa_sec.c   | 3 ---\n lib/librte_cryptodev/rte_cryptodev.h | 4 ----\n 2 files changed, 7 deletions(-)",
    "diff": "diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c\nindex 06f7e4373..73cae483b 100644\n--- a/drivers/crypto/dpaa_sec/dpaa_sec.c\n+++ b/drivers/crypto/dpaa_sec/dpaa_sec.c\n@@ -2215,9 +2215,6 @@ dpaa_sec_dev_infos_get(struct rte_cryptodev *dev,\n \t\tinfo->feature_flags = dev->feature_flags;\n \t\tinfo->capabilities = dpaa_sec_capabilities;\n \t\tinfo->sym.max_nb_sessions = internals->max_nb_sessions;\n-\t\tinfo->sym.max_nb_sessions_per_qp =\n-\t\t\tRTE_DPAA_SEC_PMD_MAX_NB_SESSIONS /\n-\t\t\tRTE_DPAA_MAX_NB_SEC_QPS;\n \t\tinfo->driver_id = cryptodev_driver_id;\n \t}\n }\ndiff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h\nindex 80cd6b474..a4b8cccc2 100644\n--- a/lib/librte_cryptodev/rte_cryptodev.h\n+++ b/lib/librte_cryptodev/rte_cryptodev.h\n@@ -385,10 +385,6 @@ struct rte_cryptodev_info {\n \tstruct {\n \t\tunsigned max_nb_sessions;\n \t\t/**< Maximum number of sessions supported by device. */\n-\t\tunsigned int max_nb_sessions_per_qp;\n-\t\t/**< Maximum number of sessions per queue pair.\n-\t\t * Default 0 for infinite sessions\n-\t\t */\n \t} sym;\n };\n \n",
    "prefixes": [
        "2/6"
    ]
}