Re: [dpdk-dev] [PATCH v7 14/15] dev: use new hotplug API in attach / detach

2017-06-29 Thread Thomas Monjalon
29/06/2017 20:22, Jan Blunck: > Using the new generic API allows attach and detach to be backwards > compatible while decoupling from the concrete bus implementations. > > Signed-off-by: Jan Blunck > --- > int rte_eal_dev_attach(const char *name, const char *devargs) > { > - struct rte_pci_

[dpdk-dev] [PATCH v7 14/15] dev: use new hotplug API in attach / detach

2017-06-29 Thread Jan Blunck
Using the new generic API allows attach and detach to be backwards compatible while decoupling from the concrete bus implementations. Signed-off-by: Jan Blunck --- lib/librte_eal/common/eal_common_dev.c | 76 -- 1 file changed, 53 insertions(+), 23 deletions(-) d