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

2020-11-22 Thread Yongxin Liu
least one parameter. So add check for modules in /lib/modules/$(uname -r)/modules.builtin. Signed-off-by: Yongxin Liu --- v5: - Make code robust and more memory efficient. v4: - Replace shell call with platform.uname(). Check file existence before reading. v3: - Add built-in modu

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

2020-11-19 Thread Yongxin Liu
least one parameter. So add check for modules in /lib/modules/$(uname -r)/modules.builtin. Thanks for Anatoly Burakov's advice. Signed-off-by: Yongxin Liu --- v4: - Replace shell call with platform.uname(). Check file existence before reading. v3: - Add built-in module list in loa

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

2020-11-18 Thread Yongxin Liu
least one parameter. So add check for modules in /lib/modules/$(uname -r)/modules.builtin. Thanks for Anatoly Burakov's advice. Signed-off-by: Yongxin Liu --- v3: - Add built-in module list in loaded_modules for checking instead of removing error check. v2: - fix git commit descr

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

2020-11-17 Thread Yongxin Liu
ter kernel commit 34a2a3b83e2c ("net/intel: remove driver versions from Intel drivers"), and if ixgbe is built directly into kernel, there is no ixgbe folder in /sys/module. So the devbind script should not exit. Signed-off-by: Yongxin Liu --- v2: - fix git commit description style in co

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

2020-11-17 Thread Yongxin Liu
nel commit 34a2a3b83e2c ("net/intel: remove driver versions from Intel drivers"), and if ixgbe is built directly into kernel, there is no ixgbe folder in /sys/module. So the devbind script should not exit. Signed-off-by: Yongxin Liu --- usertools/dpdk-devbind.py | 4 1 file

[dpdk-dev] [RFC] igb_uio: change ISR to be threaded when using with RT kernel

2019-09-19 Thread Yongxin Liu
] do_IRQ+0x7e/0x150 [ 2034.531764] common_interrupt+0xf/0xf [ 2034.535990] Signed-off-by: Yongxin Liu --- kernel/linux/igb_uio/igb_uio.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/kernel/linux/igb_uio/igb_uio.c b/kernel/linux/igb_uio/igb_uio.c index 039f5a5f6