Show a patch.

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

{
    "id": 41805,
    "url": "http://patches.dpdk.org/api/patches/41805/",
    "web_url": "http://patches.dpdk.org/patch/41805/",
    "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": "<20180628005304.26544-13-pablo.de.lara.guarch@intel.com>",
    "date": "2018-06-28T00:53:00",
    "name": "[v3,12/16] cryptodev: remove old get session size functions",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "0739ed00b5519bab990ef439f492e7bc0bf0eafd",
    "submitter": {
        "id": 9,
        "url": "http://patches.dpdk.org/api/people/9/",
        "name": "De Lara Guarch, Pablo",
        "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/41805/mbox/",
    "series": [
        {
            "id": 286,
            "url": "http://patches.dpdk.org/api/series/286/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=286",
            "date": "2018-06-28T00:52:48",
            "name": "Cryptodev API changes for 18.08",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/286/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/41805/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/41805/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.14.4",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 07DA91B063;\n\tThu, 28 Jun 2018 10:59:50 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id B32781B056\n\tfor <dev@dpdk.org>; Thu, 28 Jun 2018 10:59:37 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t28 Jun 2018 01:59:36 -0700",
            "from silpixa00399466.ir.intel.com (HELO\n\tsilpixa00399466.ger.corp.intel.com) ([10.237.223.220])\n\tby orsmga002.jf.intel.com with ESMTP; 28 Jun 2018 01:59:32 -0700"
        ],
        "References": "<20180608220234.10170-1-pablo.de.lara.guarch@intel.com>\n\t<20180628005304.26544-1-pablo.de.lara.guarch@intel.com>",
        "X-Amp-File-Uploaded": "False",
        "X-BeenThere": "dev@dpdk.org",
        "Message-Id": "<20180628005304.26544-13-pablo.de.lara.guarch@intel.com>",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,282,1526367600\"; d=\"scan'208\";a=\"70667161\"",
        "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": "<20180628005304.26544-1-pablo.de.lara.guarch@intel.com>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "To": "declan.doherty@intel.com, akhil.goyal@nxp.com,\n\tshally.verma@caviumnetworks.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://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Date": "Thu, 28 Jun 2018 01:53:00 +0100",
        "Cc": "dev@dpdk.org,\n\tPablo de Lara <pablo.de.lara.guarch@intel.com>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Subject": "[dpdk-dev] [PATCH v3 12/16] cryptodev: remove old get session size\n\tfunctions"
    },
    "content": "Removed rte_cryptodev_get_header_session_size\nand rte_cryptodev_get_private_session_size functions,\nas they have been substituted with functions\nspecific for symmetric operations, with _sym_ word\nafter \"rte_cryptodev_\".\n\nSigned-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>\n---\n doc/guides/rel_notes/deprecation.rst           |  6 ------\n doc/guides/rel_notes/release_18_08.rst         |  8 ++++++++\n lib/librte_cryptodev/rte_cryptodev.c           | 12 ------------\n lib/librte_cryptodev/rte_cryptodev.h           | 25 -------------------------\n lib/librte_cryptodev/rte_cryptodev_version.map |  2 --\n 5 files changed, 8 insertions(+), 45 deletions(-)",
    "diff": "diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex 91592534e..9a73b1d8e 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -107,9 +107,3 @@ Deprecation Notices\n     with them.\n   - Some feature flags such as ``RTE_CRYPTODEV_FF_MBUF_SCATTER_GATHER`` are ambiguous,\n     so some will be replaced by more explicit flags.\n-  - Function ``rte_cryptodev_get_header_session_size()`` will be deprecated\n-    in 18.05, and it gets replaced with ``rte_cryptodev_sym_get_header_session_size()``.\n-    It will be removed in 18.08.\n-  - Function ``rte_cryptodev_get_private_session_size()`` will be deprecated\n-    in 18.05, and it gets replaced with ``rte_cryptodev_sym_get_private_session_size()``.\n-    It will be removed in 18.08.\ndiff --git a/doc/guides/rel_notes/release_18_08.rst b/doc/guides/rel_notes/release_18_08.rst\nindex cfb2885a1..e482d3d5f 100644\n--- a/doc/guides/rel_notes/release_18_08.rst\n+++ b/doc/guides/rel_notes/release_18_08.rst\n@@ -70,6 +70,14 @@ API Changes\n   - ``rte_cryptodev_queue_pair_start``\n   - ``rte_cryptodev_queue_pair_stop``\n \n+* cryptodev: Following functions were deprecated and are replaced by\n+  other functions in 18.08:\n+\n+  - ``rte_cryptodev_get_header_session_size`` is replaced with\n+    ``rte_cryptodev_sym_get_header_session_size``\n+  - ``rte_cryptodev_get_private_session_size`` is replaced with\n+    ``rte_cryptodev_sym_get_private_session_size``\n+\n \n ABI Changes\n -----------\ndiff --git a/lib/librte_cryptodev/rte_cryptodev.c b/lib/librte_cryptodev/rte_cryptodev.c\nindex a07904fb9..381330f3d 100644\n--- a/lib/librte_cryptodev/rte_cryptodev.c\n+++ b/lib/librte_cryptodev/rte_cryptodev.c\n@@ -1181,12 +1181,6 @@ rte_cryptodev_sym_session_free(struct rte_cryptodev_sym_session *sess)\n \treturn 0;\n }\n \n-unsigned int\n-rte_cryptodev_get_header_session_size(void)\n-{\n-\treturn rte_cryptodev_sym_get_header_session_size();\n-}\n-\n unsigned int\n rte_cryptodev_sym_get_header_session_size(void)\n {\n@@ -1198,12 +1192,6 @@ rte_cryptodev_sym_get_header_session_size(void)\n \treturn ((sizeof(void *) * nb_drivers) + sizeof(uint8_t));\n }\n \n-unsigned int\n-rte_cryptodev_get_private_session_size(uint8_t dev_id)\n-{\n-\treturn rte_cryptodev_sym_get_private_session_size(dev_id);\n-}\n-\n unsigned int\n rte_cryptodev_sym_get_private_session_size(uint8_t dev_id)\n {\ndiff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h\nindex c94571ac1..fc491a83b 100644\n--- a/lib/librte_cryptodev/rte_cryptodev.h\n+++ b/lib/librte_cryptodev/rte_cryptodev.h\n@@ -906,31 +906,6 @@ int\n rte_cryptodev_sym_session_clear(uint8_t dev_id,\n \t\t\tstruct rte_cryptodev_sym_session *sess);\n \n-/**\n- * @deprecated\n- * Get the size of the header session, for all registered drivers.\n- *\n- * @return\n- *   Size of the header session.\n- */\n-__rte_deprecated\n-unsigned int\n-rte_cryptodev_get_header_session_size(void);\n-\n-/**\n- * @deprecated\n- * Get the size of the private session data for a device.\n- *\n- * @param\tdev_id\t\tThe device identifier.\n- *\n- * @return\n- *   - Size of the private data, if successful\n- *   - 0 if device is invalid or does not have private session\n- */\n-__rte_deprecated\n-unsigned int\n-rte_cryptodev_get_private_session_size(uint8_t dev_id);\n-\n /**\n  * Get the size of the header session, for all registered drivers.\n  *\ndiff --git a/lib/librte_cryptodev/rte_cryptodev_version.map b/lib/librte_cryptodev/rte_cryptodev_version.map\nindex 020b45754..0ab6d5195 100644\n--- a/lib/librte_cryptodev/rte_cryptodev_version.map\n+++ b/lib/librte_cryptodev/rte_cryptodev_version.map\n@@ -63,8 +63,6 @@ DPDK_17.08 {\n \trte_cryptodev_driver_id_get;\n \trte_cryptodev_driver_name_get;\n \trte_cryptodev_get_aead_algo_enum;\n-\trte_cryptodev_get_header_session_size;\n-\trte_cryptodev_get_private_session_size;\n \trte_cryptodev_sym_capability_check_aead;\n \trte_cryptodev_sym_session_init;\n \trte_cryptodev_sym_session_clear;\n",
    "prefixes": [
        "v3",
        "12/16"
    ]
}