net/ena: check for admin queue state
authorMichal Krawczyk <mk@semihalf.com>
Thu, 7 Jun 2018 09:43:07 +0000 (11:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commit5efb9fc7436a82ffc555556f3e1732562a1c1b8b
treea3c2962cad8f65eab75b85acb9c9fff484eaf96b
parentd9b8b106bf9d68e27544a1455d990dbf3cc6c2ff
net/ena: check for admin queue state

The admin queue can stop responding or became inactive due to unexpected
behaviour of the device. In that case, the whole device should be
restarted.

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