net/qede/base: fix to clear HW indication
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 24 Jul 2018 22:18:42 +0000 (15:18 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 2 Aug 2018 19:41:45 +0000 (21:41 +0200)
commitc8dbf6814312f12cd7fef7203ea9b40255ea1f76
tree2df5f614959435564ecc9595d91185c26c2cf02e
parent4eee1bbf25859b72723ec570d77bf5fb501bedcf
net/qede/base: fix to clear HW indication

VDMs may cause the was_error indication to be set after the driver
clears it. Clear the indication after the internal FID_enable for
the PF is set.

Fixes: 60c78a5e258a ("net/qede/base: fix recovery from previous ungraceful exit")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dev.c