Re: [dpdk-dev] [PATCH v3] dev: fix virtual dev attach

2017-07-31 Thread Thomas Monjalon
31/07/2017 14:58, Gaetan Rivet: > Checking against error values returned by rte_eal_hotplug_add is > inelegant and prone to mistakes. Additionally, the failed PCI probe > prints a useless error that would throw off unsuspecting users: > >ERROR: failed to parse device "pci:net_ring0" > > This

[dpdk-dev] [PATCH v3] dev: fix virtual dev attach

2017-07-31 Thread Gaetan Rivet
Checking against error values returned by rte_eal_hotplug_add is inelegant and prone to mistakes. Additionally, the failed PCI probe prints a useless error that would throw off unsuspecting users: ERROR: failed to parse device "pci:net_ring0" This error is printed when attempting to probe a vi