app/testpmd: add ethernet peer command
authorWisam Jaddo <wisamm@mellanox.com>
Sun, 14 Jan 2018 08:27:10 +0000 (10:27 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 15 Jan 2018 10:51:45 +0000 (11:51 +0100)
commitaac6f11f586480f9222dba99910654eda989c649
tree23a5acaf8fb9ab7415b0565f9a7475323ece1bf1
parent07e5f7bd65718461e4c63757248b9c7bab08341f
app/testpmd: add ethernet peer command

This command will simulate the process of setting the
eth-peer from command line.

It will be useful to perform extra testing.

usage:
 testpmd> set eth-peer <port_id> <peer_addr>.

Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/testpmd.h
doc/guides/testpmd_app_ug/testpmd_funcs.rst