Re: [dpdk-dev] [PATCH v4] usertools/devbind: fix binding for built-in kernel drivers

2020-11-20 Thread Burakov, Anatoly
On 20-Nov-20 2:22 AM, Yongxin Liu wrote: A driver can be loaded as a dynamic module or a built-in module. In commit 681a67288655 ("usertools: check if module is loaded before binding"), script only checks modules in /sys/module/. However, for built-in kernel driver, it only shows up in /sys/modu

Re: [dpdk-dev] [PATCH v4] usertools/devbind: fix binding for built-in kernel drivers

2020-11-20 Thread Burakov, Anatoly
On 20-Nov-20 2:22 AM, Yongxin Liu wrote: A driver can be loaded as a dynamic module or a built-in module. In commit 681a67288655 ("usertools: check if module is loaded before binding"), script only checks modules in /sys/module/. However, for built-in kernel driver, it only shows up in /sys/modu

[dpdk-dev] [PATCH v4] usertools/devbind: fix binding for built-in kernel drivers

2020-11-19 Thread Yongxin Liu
A driver can be loaded as a dynamic module or a built-in module. In commit 681a67288655 ("usertools: check if module is loaded before binding"), script only checks modules in /sys/module/. However, for built-in kernel driver, it only shows up in /sys/module/, if it has a version or at least one pa