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

Burakov, Anatoly anatoly.burakov at intel.com
Fri Nov 20 12:38:10 CET 2020


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/module/,
> if it has a version or at least one parameter. So add check for
> modules in /lib/modules/$(uname -r)/modules.builtin.
> 
> Thanks for Anatoly Burakov's advice.

Also, no need to add this last line to the commit log :)

-- 
Thanks,
Anatoly


More information about the dev mailing list