Re: [dpdk-dev] [PATCH v4 9/9] ethdev: use embedded rte_device to detach driver

2017-06-21 Thread Thomas Monjalon
21/06/2017 01:29, Gaetan Rivet: > + return !!dev->device->devargs->bus->unplug; lib/librte_ether/rte_ethdev.c:364:33: fatal error: no member named 'bus' in 'struct rte_devargs' Please move this patch alone, specifying the right dependency.

Re: [dpdk-dev] [PATCH v4 9/9] ethdev: use embedded rte_device to detach driver

2017-06-21 Thread Thomas Monjalon
21/06/2017 01:29, Gaetan Rivet: > --- a/lib/librte_ether/rte_ethdev.c > +++ b/lib/librte_ether/rte_ethdev.c > @@ -354,26 +354,14 @@ rte_eth_dev_get_port_by_name(const char *name, uint8_t > *port_id) > static int > rte_eth_dev_is_detachable(uint8_t port_id) > { > - uint32_t dev_flags; > +

[dpdk-dev] [PATCH v4 9/9] ethdev: use embedded rte_device to detach driver

2017-06-20 Thread Gaetan Rivet
From: Jan Blunck Signed-off-by: Jan Blunck Signed-off-by: Gaetan Rivet --- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 + lib/librte_eal/common/eal_common_dev.c| 43 --- lib/librte_eal/common/include/rte_dev.h | 11 +++ lib/librte_ether/rte_ethd