app/testpmd: add generic event handler
authorGaetan Rivet <gaetan.rivet@6wind.com>
Tue, 18 Apr 2017 12:17:40 +0000 (14:17 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 20 Apr 2017 23:01:59 +0000 (01:01 +0200)
commit76ad4a2d82d4d72c3a7ed4675d77268b5fae3cc9
treef9f1efc3b7f3dd0655c7bf245a0db806517de113
parent6dd7b7056d7ff67b2936a1bde56ec7ff15d5dc62
app/testpmd: add generic event handler

This is a rather simple handler that prints a message with the name of
the current event. It can be used to check PMD callback registration and
triggers.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
app/test-pmd/testpmd.c