app/testpmd: move ethdev events registration
authorThomas Monjalon <thomas@monjalon.net>
Thu, 25 Oct 2018 15:11:16 +0000 (17:11 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Oct 2018 20:14:06 +0000 (22:14 +0200)
commit97b5d8b54511440d1dea977442401dca59000cb8
tree7aad54ea469ba18defc61b974d5850dcc30f156b
parent86fa5de1d8f34f0d5849d16edb33f7633c604367
app/testpmd: move ethdev events registration

The callback for ethdev events was registered on port start,
so it was missing some events.

It is now registered at the beginning of the main function.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/testpmd.c