On Tue, 7 Jul 2020 11:59:20 -0700 Cyrus Bugwadia <[email protected]> wrote:
> Hi, > We have been trying to make a sample DPDK application work on RHEL 7.0 and > keep getting these errors saying /dev/kni can't be loaded. There are no > instructions on how to find or build this kernel model (rte_kni) and it > doesn't appear to be installed or built by default. > > Please suggest if we are missing some steps or from where to get this kernel > module > > Thanks, > Cyrus You need to have KNI module enabled in the config. By default all kernel modules in DPDK are now disabled. Set CONFIG_RTE_KNI_KMOD=y Then after build you will find kni module in the build result. You will have to manually insmod it. I assume you are using older release with make (not current releases with meson).
