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

2018-05-25 Thread Thomas Monjalon
25/05/2018 15:57, Bruce Richardson: > On Fri, May 25, 2018 at 04:20:42PM +0300, Kevin Wilson wrote: > > Thanks, Thomas. > > > > Actually there is an EAL rte_eal_check_module() method which does this > > exactly: > > http://dpdk.org/browse/dpdk/tree/lib/librte_eal/linuxapp/eal/eal.c#n1089 > > It i

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

2018-05-25 Thread Bruce Richardson
On Fri, May 25, 2018 at 04:20:42PM +0300, Kevin Wilson wrote: > Thanks, Thomas. > > Actually there is an EAL rte_eal_check_module() method which does this > exactly: > http://dpdk.org/browse/dpdk/tree/lib/librte_eal/linuxapp/eal/eal.c#n1089 > It is declared in eal_private.h. > > Is it reasonable

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

2018-05-25 Thread Kevin Wilson
Thanks, Thomas. Actually there is an EAL rte_eal_check_module() method which does this exactly: http://dpdk.org/browse/dpdk/tree/lib/librte_eal/linuxapp/eal/eal.c#n1089 It is declared in eal_private.h. Is it reasonable to send a patch which moves the decalartion to eal.h instead so PMDs can use i

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

2018-05-25 Thread Thomas Monjalon
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

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

2018-05-25 Thread 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 mod