[dpdk-dev] [PATCH v3 07/10] devargs: make devargs list private
Thomas Monjalon
thomas at monjalon.net
Sun Apr 22 23:46:03 CEST 2018
21/03/2018 00:20, Gaetan Rivet:
> Initially, rte_devargs was meant to be populated once and sometimes
> accessed, then never emptied.
>
> With the new hotplug functionality having better standing, new usage
> appeared with repeated addition of devices and their subsequent removal.
>
> Exposing devargs_list pushed bus drivers and libraries to be careless
> and inconsistent in their memory management. Making it private will
> allow to rationalize this part of the EAL and ensure that fewer memory
> leaks occur during operations.
>
> Signed-off-by: Gaetan Rivet <gaetan.rivet at 6wind.com>
> ---
> lib/librte_eal/common/eal_common_devargs.c | 3 +++
> lib/librte_eal/common/include/rte_devargs.h | 6 ------
> lib/librte_eal/rte_eal_version.map | 1 -
> 3 files changed, 3 insertions(+), 7 deletions(-)
You must remove the related line in deprecation notice.
More information about the dev
mailing list