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 <tho...@monjalon.net> > Reviewed-by: Andrew Rybchenko <arybche...@solarflare.com> Acked-by: Gaetan Rivet <gaetan.ri...@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