> From: Richardson, Bruce > > Agreed, however hiding it totally removes the flexibility of waiting for a > > primary > > that is starting with --file-prefix (aka: in a non-default location). > > Imposing > > a limit on only monitoring primary procs in the default location seems > > wrong. > > But the secondary also needs the same prefix. Is that prefix not accessible by > this function to be used?
The issue is that the EAL parsing code is performed during rte_init(), which is exactly what this function tries to avoid - initializing EAL before a primary process starts. I looked at changing the EAL parsing to come before rte_init(), and considered adding a minimal parser for --file-prefix. Both routes seem a bad solution, either for complexity or code-duplication. v2 of this patch posted to list: http://dpdk.org/dev/patchwork/patch/10126/ -Harry