[dpdk-dev] Kernel Module dependency in DPDK 18.05-rc5 and earlier DPDK releases

Thomas Monjalon thomas at monjalon.net
Fri May 25 13:21:18 CEST 2018


25/05/2018 11:55, Kevin Wilson:
> Hi,
> 
> I am facing the following issue in DPDK 18.05-rc5 (I saw it also with earlier
> releases of DPDK from the last year). The issue is with defining
> dependency on a kernel module in a PMD.
> I want to develop a PMD which requiers that before running DPDK app which
> uses this PMD, a specified kernel module is required to be insmoded.
> I tried to add a call to RTE_PMD_REGISTER_KMOD_DEP in my PMD,
> specifying a required
> kernel module, and I expected that when calling a DPDK app which uses
> this PMD it will shout that such a kernel module is not loaded, but this did not
> happen.

No such check is implemented currently.
You can try to implement a check in EAL in the probing function.





More information about the dev mailing list