app/testpmd: configure event display
authorGaetan Rivet <gaetan.rivet@6wind.com>
Tue, 2 May 2017 09:54:06 +0000 (11:54 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 6 May 2017 08:39:31 +0000 (10:39 +0200)
commit3af72783d1fdc6876afdf83de09ad351cc493d2b
tree09784ede6c1989db9632e614ae061d78df7fa215
parent487f9a592a273bbb0534652bc836cabc0af14100
app/testpmd: configure event display

Add two parameters to testpmd:

  --print-event <event name>
  --mask-event <event name>

To enable or disable to printing of events. This display is configured
on a per-event basis. By default, all except VF_MBOX are displayed.

Fixes: 76ad4a2d82d4 ("app/testpmd: add generic event handler")

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
app/test-pmd/parameters.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h
doc/guides/testpmd_app_ug/run_app.rst