[dpdk-dev] [PATCH v5 2/5] devargs: simplify parameters of removal function

Gaëtan Rivet gaetan.rivet at 6wind.com
Thu Oct 4 11:21:40 CEST 2018


On Thu, Oct 04, 2018 at 01:10:43AM +0200, Thomas Monjalon wrote:
> The function rte_devargs_remove(), which is intended to be internal,
> can take a devargs structure as argument.
> The matching is still using string comparison of bus name and
> device name.
> It is simpler and may allow a different devargs matching in future.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> Reviewed-by: Andrew Rybchenko <arybchenko at solarflare.com>
Acked-by: Gaetan Rivet <gaetan.rivet at 6wind.com>
> ---
>  doc/guides/rel_notes/release_18_11.rst      |  3 +++
>  drivers/bus/ifpga/ifpga_bus.c               |  5 +----
>  drivers/bus/vdev/vdev.c                     |  8 ++------
>  lib/librte_eal/common/eal_common_dev.c      |  4 ++--
>  lib/librte_eal/common/eal_common_devargs.c  | 11 +++++++----
>  lib/librte_eal/common/include/rte_devargs.h | 10 +++-------
>  6 files changed, 18 insertions(+), 23 deletions(-)
> 

-- 
Gaëtan Rivet
6WIND


More information about the dev mailing list