examples/ipsec-secgw: add ethdev reset callback
authorRadu Nicolau <radu.nicolau@intel.com>
Mon, 1 Nov 2021 12:58:14 +0000 (12:58 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Thu, 4 Nov 2021 18:46:27 +0000 (19:46 +0100)
commitfe105decc3229ec68df616cfdf4b48714284b9fa
treee87094264db3b3cc61132a7a628ce2bff2a9b9bc
parent560029d5cfc9d667504112a77b5df365ee97ac14
examples/ipsec-secgw: add ethdev reset callback

Applications should not quietly ignore an ethdev reset event.
Register an event handler for ethdev reset callback
RTE_ETH_EVENT_INTR_RESET that prints a message and
quits the application.

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
examples/ipsec-secgw/ipsec-secgw.c