From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 744952C60 for ; Fri, 5 May 2017 13:29:13 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 May 2017 04:29:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,292,1491289200"; d="scan'208";a="1144030201" Received: from gklab-246-025.igk.intel.com (HELO Sent) ([10.217.246.25]) by fmsmga001.fm.intel.com with SMTP; 05 May 2017 04:29:10 -0700 Received: by Sent (sSMTP sendmail emulation); Fri, 05 May 2017 13:24:24 +0200 From: Slawomir Mrozowicz To: declan.doherty@intel.com Cc: dev@dpdk.org, Slawomir Mrozowicz Date: Fri, 5 May 2017 13:24:19 +0200 Message-Id: <20170505112419.14965-1-slawomirx.mrozowicz@intel.com> X-Mailer: git-send-email 2.9.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] doc: announce crypto device type enumeration removal X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2017 11:29:13 -0000 Refer to RFC patch - cryptodev: remove crypto device type enumeration It is planned to remove device type enumeration rte_cryptodev_type from library to remove the coupling between crypto PMD and the librte_cryptodev. In this case following stuctures will be changed: rte_cryptodev_session, rte_cryptodev_sym_session, rte_cryptodev_info, rte_cryptodev. It is planned to change the function rte_cryptodev_count_devtype(). The function prototype doesn’t clearly show the operation. >>From next release 17.08 the dev_type will be changed to driver_id. So the function name will change to rte_cryptodev_device_count_by_driver(). Signed-off-by: Slawomir Mrozowicz --- Refer to RFC patch: http://dpdk.org/dev/patchwork/patch/24119/ --- doc/guides/rel_notes/deprecation.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index a3e7c72..313dcdf 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -81,3 +81,11 @@ Deprecation Notices - ``rte_crpytodev_scheduler_mode_get``, replaced by ``rte_cryptodev_scheduler_mode_get`` - ``rte_crpytodev_scheduler_mode_set``, replaced by ``rte_cryptodev_scheduler_mode_set`` + +* cryptodev: The following changes will be done in in 17.08: + + - the device type enumeration ``rte_cryptodev_type`` will be removed + - the following structures will be changed: ``rte_cryptodev_session``, + ``rte_cryptodev_sym_session``, ``rte_cryptodev_info``, ``rte_cryptodev`` + - the function ``rte_cryptodev_count_devtype`` will be replaced by + ``rte_cryptodev_device_count_by_driver`` \ No newline at end of file -- 2.5.0