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 usertools: fix CPU layout script to be PEP8 compliant 2020-11-13 15:40:21 +01:00
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 support python 3 only 2020-10-02 13:51:00 +02:00
meson.build usertools: add huge page setup script 2020-11-22 22:38:03 +01:00