[dpdk-dev] [PATCH 1/2] pci: deprecate PCI detach

Gaetan Rivet gaetan.rivet at 6wind.com
Wed May 10 14:52:04 CEST 2017


This patch deprecates the function rte_eal_pci_detach in 17.05,
which will be removed in 17.08.

The generic detach bus method should be used instead.

Signed-off-by: Gaetan Rivet <gaetan.rivet at 6wind.com>
Cc: Jan Blunck <jblunck at infradead.org>
---
 doc/guides/rel_notes/deprecation.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index a3e7c72..c2f58eb 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -81,3 +81,9 @@ 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``
+
+* pci: The following function is deprecated starting from 17.05 and will be
+  removed in 17.08:
+
+  - ``rte_eal_pci_detach``, replaced by using the corresponding bus generic
+    method ``detach``.
-- 
2.1.4



More information about the dev mailing list