Re: [dpdk-dev] [PATCH v2 5/6] usertools/setup: fix loading vfio module

2020-11-27 Thread Ferruh Yigit
On 11/27/2020 1:56 PM, Thomas Monjalon wrote: 27/11/2020 10:55, Ferruh Yigit: On 11/26/2020 6:31 PM, David Marchand wrote: On Thu, Nov 26, 2020 at 3:20 PM Ferruh Yigit wrote: script is checking the existing of the kernel module file, but in some distros kernel modules are stored compressed,

Re: [dpdk-dev] [PATCH v2 5/6] usertools/setup: fix loading vfio module

2020-11-27 Thread Thomas Monjalon
27/11/2020 10:55, Ferruh Yigit: > On 11/26/2020 6:31 PM, David Marchand wrote: > > On Thu, Nov 26, 2020 at 3:20 PM Ferruh Yigit wrote: > >> > >> script is checking the existing of the kernel module file, but in some > >> distros kernel modules are stored compressed, like as 'vfio-pci.ko.xz'. > >

Re: [dpdk-dev] [PATCH v2 5/6] usertools/setup: fix loading vfio module

2020-11-27 Thread Ferruh Yigit
On 11/26/2020 6:31 PM, David Marchand wrote: On Thu, Nov 26, 2020 at 3:20 PM Ferruh Yigit wrote: script is checking the existing of the kernel module file, but in some distros kernel modules are stored compressed, like as 'vfio-pci.ko.xz'. Since this script expects modprobe to be installed (

Re: [dpdk-dev] [PATCH v2 5/6] usertools/setup: fix loading vfio module

2020-11-26 Thread David Marchand
On Thu, Nov 26, 2020 at 3:20 PM Ferruh Yigit wrote: > > script is checking the existing of the kernel module file, but in some > distros kernel modules are stored compressed, like as 'vfio-pci.ko.xz'. Since this script expects modprobe to be installed (coming with kmod tools), it means modinfo is

Re: [dpdk-dev] [PATCH v2 5/6] usertools/setup: fix loading vfio module

2020-11-26 Thread Walsh, Conor
Hi Ferruh, I tested this patch on Ubuntu 20.04 (5.4.0-53-generic) and Centos 8.2 (4.18.0-193.28.1.el8_2.x86_64), load VFIO worked on both systems. I'm not sure if this is a problem that effects either of these distros though. Thanks, Conor. > From: Yigit, Ferruh > Sent: Thursday 26 November 202

[dpdk-dev] [PATCH v2 5/6] usertools/setup: fix loading vfio module

2020-11-26 Thread Ferruh Yigit
script is checking the existing of the kernel module file, but in some distros kernel modules are stored compressed, like as 'vfio-pci.ko.xz'. Add wildcard to cover both compressed and not compressed cases. Signed-off-by: Ferruh Yigit --- usertools/dpdk-setup.sh | 2 +- 1 file changed, 1 insert