Re: [dpdk-dev] [PATCH v8 13/14] ethdev: Use embedded rte_device to detach driver

2017-07-03 Thread Thomas Monjalon
30/06/2017 20:19, Jan Blunck: > --- a/lib/librte_ether/rte_ethdev.c > +++ b/lib/librte_ether/rte_ethdev.c > @@ -439,7 +439,8 @@ rte_eth_dev_detach(uint8_t port_id, char *name) > > snprintf(name, sizeof(rte_eth_devices[port_id].data->name), > "%s", rte_eth_devices[port_id]

[dpdk-dev] [PATCH v8 13/14] ethdev: Use embedded rte_device to detach driver

2017-06-30 Thread Jan Blunck
This is changing the API of rte_eal_dev_detach(). Signed-off-by: Jan Blunck --- app/test-pmd/testpmd.c | 2 +- lib/librte_eal/common/eal_common_dev.c | 32 +++- lib/librte_eal/common/include/rte_dev.h | 7 +++ lib/librte_ether/rte_ethdev.c