diff options
author | Igor Russkikh <irusskikh@marvell.com> | 2020-05-14 12:57:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-14 13:25:46 -0700 |
commit | 936c7ba4dd5e94a3fc784f2296de5d577a9b5e43 (patch) | |
tree | 1e5e9b0f33164f8bc53058a74fd1b3b3af876ffe /drivers/net/ethernet/qlogic/qed/qed.h | |
parent | net: qed: cleanup debug related declarations (diff) | |
download | wireguard-linux-936c7ba4dd5e94a3fc784f2296de5d577a9b5e43.tar.xz wireguard-linux-936c7ba4dd5e94a3fc784f2296de5d577a9b5e43.zip |
net: qed: attention clearing properties
On different hardware events we have to respond differently,
on some of hardware indications hw attention (error condition)
should be cleared by the driver to continue normal functioning.
Here we introduce attention clear flags, and put them on some
important events (in aeu_descs).
Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed.h b/drivers/net/ethernet/qlogic/qed/qed.h index 07f6ef930b52..66ed39d6f357 100644 --- a/drivers/net/ethernet/qlogic/qed/qed.h +++ b/drivers/net/ethernet/qlogic/qed/qed.h @@ -838,6 +838,9 @@ struct qed_dev { /* Recovery */ bool recov_in_prog; + /* Indicates whether should prevent attentions from being reasserted */ + bool attn_clr_en; + /* LLH info */ u8 ppfid_bitmap; struct qed_llh_info *p_llh_info; |