numam-dpdk/usertools
Yongxin Liu 7a016af4aa usertools: fix binding built-in kernel driver
A driver can be loaded as a dynamic module or a built-in module.
In commit 681a672886 ("usertools: check if module is loaded
before binding"), the 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.

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

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
2021-02-11 23:23:02 +01:00
..
cpu_layout.py
dpdk-devbind.py usertools: fix binding built-in kernel driver 2021-02-11 23:23:02 +01:00
dpdk-hugepages.py usertools: show valid hugepage sizes if wrong request 2021-02-11 22:45:20 +01:00
dpdk-pmdinfo.py usertools: fix pmdinfo parsing 2020-11-22 22:22:44 +01:00
dpdk-telemetry-client.py usertools: remove unnecessary parens and else 2020-11-22 22:14:12 +01:00
dpdk-telemetry.py
meson.build usertools: add huge page setup script 2020-11-22 22:38:03 +01:00