Show a patch.

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

{
    "id": 40963,
    "url": "http://patches.dpdk.org/api/patches/40963/",
    "web_url": "http://patches.dpdk.org/patch/40963/",
    "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-6-pablo.de.lara.guarch@intel.com>",
    "date": "2018-06-08T22:02:33",
    "name": "[5/6] cryptodev: remove old get session size functions",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8dbfce0ead0d39ad459f7d209632a08a63a97508",
    "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/40963/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/40963/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/40963/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 9B3D71D02E;\n\tSat,  9 Jun 2018 00:02:31 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 7EE441D02A\n\tfor <dev@dpdk.org>; Sat,  9 Jun 2018 00:02:30 +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:30 -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:27 -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-6-pablo.de.lara.guarch@intel.com>",
        "X-IronPort-AV": "E=Sophos;i=\"5.49,491,1520924400\"; d=\"scan'208\";a=\"61618466\"",
        "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:33 +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 5/6] 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           |  6 ------\n lib/librte_cryptodev/rte_cryptodev.h           | 11 -----------\n lib/librte_cryptodev/rte_cryptodev_version.map |  2 --\n 5 files changed, 8 insertions(+), 25 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 3fa9a6e68..0624f3701 100644\n--- a/doc/guides/rel_notes/release_18_08.rst\n+++ b/doc/guides/rel_notes/release_18_08.rst\n@@ -64,6 +64,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..40e249e79 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 {\ndiff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h\nindex 90487bffc..8e8a59522 100644\n--- a/lib/librte_cryptodev/rte_cryptodev.h\n+++ b/lib/librte_cryptodev/rte_cryptodev.h\n@@ -925,17 +925,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.\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": [
        "5/6"
    ]
}