This is a useless interrupt which will cause
intr every time when download FDIR rte_flow rule.
Fixes: cf911d90e366 ("net/ice: support link update")
Cc: [email protected]
Signed-off-by: Wei Zhao <[email protected]>
---
drivers/net/ice/ice_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
index d746758..404d734 100644
--- a/drivers/net/ice/ice_ethdev.c
+++ b/drivers/net/ice/ice_ethdev.c
@@ -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