net/i40e: fix using recovery mode firmware
authorXiaoyun Li <xiaoyun.li@intel.com>
Mon, 3 Dec 2018 07:07:46 +0000 (15:07 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Dec 2018 16:40:25 +0000 (16:40 +0000)
commit81b531cfc235149f68a40842abf0767a4fbfe994
tree6a39a0bb3ed050e0ed08542a33c0f58532d9312b
parentb8ffdcc0ba163a173e969b2d8bce5d41132a561d
net/i40e: fix using recovery mode firmware

Device can't function properly with a firmware that is in recovery
mode.

Check the firmware status at initialization time. If the firmware is
in recovery mode, alert the user to check it.

Cc: stable@dpdk.org
Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c