net/ena: make watchdog configurable
authorRafal Kozik <rk@semihalf.com>
Thu, 7 Jun 2018 09:43:08 +0000 (11:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commite859d2b8629512c4cae2ebfaaf28eae834627327
tree898ae4aa80a68acaeeaf478551d97fa2bca1d5d5
parent5efb9fc7436a82ffc555556f3e1732562a1c1b8b
net/ena: make watchdog configurable

Add variable wd_state to make driver functional without keep alive
AENQ handler.
The watchdog will be executed only if the aenq group has keep alive
enabled.

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