Re: [dpdk-dev] [PATCH v2] usertools/dpdk-devbind: add support for PCI wildcards

2020-08-24 Thread Bruce Richardson
On Fri, Aug 21, 2020 at 10:14:19AM +0100, Burakov, Anatoly wrote: > On 20-Aug-20 4:43 PM, Bruce Richardson wrote: > > When binding or unbinding a range of devices, it can be useful to use > > wildcards to specify the devices rather than repeating the same prefix > > multiple times. We can use the p

Re: [dpdk-dev] [PATCH v2] usertools/dpdk-devbind: add support for PCI wildcards

2020-08-24 Thread Bruce Richardson
On Fri, Aug 21, 2020 at 10:17:14AM +0100, Burakov, Anatoly wrote: > On 20-Aug-20 4:43 PM, Bruce Richardson wrote: > > When binding or unbinding a range of devices, it can be useful to use > > wildcards to specify the devices rather than repeating the same prefix > > multiple times. We can use the p

Re: [dpdk-dev] [PATCH v2] usertools/dpdk-devbind: add support for PCI wildcards

2020-08-21 Thread Burakov, Anatoly
On 20-Aug-20 4:43 PM, Bruce Richardson wrote: When binding or unbinding a range of devices, it can be useful to use wildcards to specify the devices rather than repeating the same prefix multiple times. We can use the python "glob" module to give us this functionality - at least for PCI devices -

Re: [dpdk-dev] [PATCH v2] usertools/dpdk-devbind: add support for PCI wildcards

2020-08-21 Thread Burakov, Anatoly
On 20-Aug-20 4:43 PM, Bruce Richardson wrote: When binding or unbinding a range of devices, it can be useful to use wildcards to specify the devices rather than repeating the same prefix multiple times. We can use the python "glob" module to give us this functionality - at least for PCI devices -

[dpdk-dev] [PATCH v2] usertools/dpdk-devbind: add support for PCI wildcards

2020-08-20 Thread Bruce Richardson
When binding or unbinding a range of devices, it can be useful to use wildcards to specify the devices rather than repeating the same prefix multiple times. We can use the python "glob" module to give us this functionality - at least for PCI devices - by checking /sys for matching files. Examples