[dpdk-dev] [PATCH] app/test: Removed vdev test in EAL flags unit test

Olivier MATZ olivier.matz at 6wind.com
Tue Jul 1 10:31:29 CEST 2014


Hi Pablo,

On 06/30/2014 04:42 PM, Pablo de Lara wrote:
> From: Pablo de Lara <pablo.de.lara.guarch at intel.com>
>
> In whitelist test, within EAL flags unit test, vdev flag
> was being tested, but test fails, as a secondary process
> cannot allocate memzones, so it cannot create the device
> and application exits. Also, this can be tested in ring
> pmd test, which needs vdev and not in whitelist, which
> should only test --pci-whitelist.
>
> Patch "app/test: fix build switches to enable cmdline tests"
> from Thomas Monjalon is needed for this patch.
>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>

If the test cannot success because it is started from a secondary
process, do you think it is possible to do it with a primary process?

I did a quick test and it works (see my patch in the same thread), but
as I'm not really familiar with this part of the code, I may have
forgotten something.

Regards,
Olivier



More information about the dev mailing list