Skip to contentSkip to conversation

net/ice: disable useless interrupt

PATCH In review Wei Zhao 1 participant 2 messages Oct 30, 2019 – Oct 31, 2019 Network drivers

lore
Share & tools
lore

Wei Zhao

author
#0 lore raw

PATCH 1/1 net/ice: disable useless interrupt

This is a useless interrupt which will cause
intr every time when download FDIR rte_flow rule.

Fixes cf911d90e366 ("net/ice: support link update")
---
 drivers/net/ice/ice_ethdev.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/ice/ice_ethdev.c +2 -0
index d746758..404d734 100644
@@ -1225,6 +1225,8 @@ ice_pf_enable_irq0(struct ice_hw *hw)
 		      GLINT_DYN_CTL_INTENA_M |
 		      GLINT_DYN_CTL_CLEARPBA_M |
 		      GLINT_DYN_CTL_ITR_INDX_M);
+	/* disable useless intr */
+	ICE_WRITE_REG(hw, GL_MDCK_TX_TDPU, 0x2);
 
 	ice_flush(hw);
 }
Signature · 1 line
2.7.5
author Tested-by Qi Fu on v1 1/1
#1 lore raw
Quoted 34 lines

-----Original Message-----
From: Zhao1, Wei
Sent: Wednesday, October 30, 2019 3:47 PM
To: [email protected]
Cc: [email protected]; Zhang, Qi Z <[email protected]>; Ye, Xiaolong <[email protected]>; Zhao1, Wei <[email protected]>
Subject: [PATCH] net/ice: disable useless interrupt

This is a useless interrupt which will cause intr every time when download FDIR rte_flow rule.

Fixes cf911d90e366 ("net/ice: support link update")
---
 drivers/net/ice/ice_ethdev.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/ice/ice_ethdev.c +2 -1
index d746758..404d734 100644
@@ -1225,6 +1225,8 @@ ice_pf_enable_irq0(struct ice_hw *hw)
 		      GLINT_DYN_CTL_INTENA_M |
 		      GLINT_DYN_CTL_CLEARPBA_M |
 		      GLINT_DYN_CTL_ITR_INDX_M);
+	/* disable useless intr */
+	ICE_WRITE_REG(hw, GL_MDCK_TX_TDPU, 0x2);
 
 	ice_flush(hw);
 }
--

2.7.5