net/ena: add watchdog and keep alive AENQ handler
authorMichal Krawczyk <mk@semihalf.com>
Thu, 7 Jun 2018 09:43:06 +0000 (11:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commitd9b8b106bf9d68e27544a1455d990dbf3cc6c2ff
tree8e2f4f6aa30f723a9702f85610a11c32ba624376
parent2081d5e2e92d21d26988332862c8a3d3adc06f0a
net/ena: add watchdog and keep alive AENQ handler

Keep alive is executing AENQ interrupt periodically. It allows to check
health of the device and trigger reset event if the device will stop
responding.

To check for the state of the device, the DPDK application must call
rte_timer_manage().

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/Makefile
drivers/net/ena/ena_ethdev.c
drivers/net/ena/ena_ethdev.h