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

Thomas Monjalon thomas at monjalon.net
Thu Feb 11 23:19:26 CET 2021


> >> 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.
> >>
> >> Signed-off-by: Yongxin Liu <yongxin.liu at windriver.com>
> 
> Apologies for the delay.
> 
> Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>

Fixes: 681a67288655 ("usertools: check if module is loaded before binding")
Cc: stable at dpdk.org

Applied, thanks




More information about the dev mailing list