On 06/03/2013 07:26 PM, Stephen Hemminger wrote:
There is nothing that says a PMD could load a second module, but why not put
that special case code in the the driver. Or make it a list of strings.
There is nothing that says anything about PMD and loading a single module. However, the Getting Started Guide refers to "dymanic kernel tweaks" citing "modules", all in a plural form:
"Running an Intel®DPDK application requires some kernel configuration customization (done at build time) and some dynamic kernel tweaks (modules, procfs)."

A list of strings can be implemented using a "null terminated array", as suggested in my review. So yes, it could be a good solution.

--
Damien Millescamps