From: David Marchand Date: Tue, 4 Aug 2020 14:07:52 +0000 (+0200) Subject: doc: announce kernel driver enum removal X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=cb8c6c2904f781b5cd94682e764842e0ba2e6dd4;p=dpdk.git doc: announce kernel driver enum removal rte_kernel_driver is only used by the PCI subsystem and has polluted ethdev for no reason. Hide it in the PCI bus driver. Signed-off-by: David Marchand Acked-by: Bruce Richardson Acked-by: Gaetan Rivet Acked-by: Thomas Monjalon --- diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 24624421de..806938b5ac 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -74,6 +74,13 @@ Deprecation Notices us extending existing enum/define. One solution can be using a fixed size array instead of ``.*MAX.*`` value. +* pci: The ``rte_kernel_driver`` enum defined in rte_dev.h will be made private + to the PCI subsystem as it is used only by the PCI bus driver and PCI + drivers. + The associated field ``kdrv`` in the ethdev ``rte_eth_dev_data`` structure + will be removed as it gave no useful abstracted information to the + applications and had no user (neither internal nor external). + * ethdev: Split the ``struct eth_dev_ops`` struct to hide it as much as possible will be done in 20.11. Currently the ``struct eth_dev_ops`` struct is accessible by the application