app/testpmd: fix build with i40e disabled
authorKirill Rybalchenko <kirill.rybalchenko@intel.com>
Mon, 9 Oct 2017 14:38:02 +0000 (15:38 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:36:58 +0000 (01:36 +0100)
commit03f42d8aa9577f9a5ace72855fe3dfc44f88a670
tree10a06a003529f4630e843eaa7be84a3cb0da850f
parent08731368c9fc5effbb6286437da4b6825e305ca7
app/testpmd: fix build with i40e disabled

Precompiler instructions #ifdef RTE_LIBRTE_I40E_PMD ... #endif
were not placed correctly, which caused number of
compilation errors if I40E PMD is disabled.

Fixes: 5a4806d304e0 ("app/testpmd: support updating pctype mapping")

Signed-off-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com>
app/test-pmd/cmdline.c