app/testpmd: fix build without librte_cmdline
authorThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 14 Nov 2013 22:19:47 +0000 (23:19 +0100)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:07:29 +0000 (11:07 +0100)
commit0d56cb81d54a49d516f55cf771ff93450b8dc310
tree7e82ef73bd6d6a287b6e31a3888123d511b50e73
parent21a7f4e2646e1cb6b0dbd6643e5d64f72355af58
app/testpmd: fix build without librte_cmdline

Some features are not available if LIBRTE_CMDLINE is disabled:
- interactive mode
- ethernet address parsing

Note: ethernet address parsing could be rewritten without cmdline dependency.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test-pmd/Makefile
app/test-pmd/parameters.c
app/test-pmd/testpmd.c