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

2020-08-20 Thread Bruce Richardson
On Thu, Aug 20, 2020 at 03:44:54PM +0100, Ferruh Yigit wrote: > On 8/20/2020 1:23 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 pytho

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

2020-08-20 Thread Ferruh Yigit
On 8/20/2020 1:23 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 dev

[dpdk-dev] [PATCH] 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