DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/ice: disable useless interrupt
@ 2019-10-30  7:46 Wei Zhao
  2019-10-31  1:50 ` Zhao1, Wei
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Zhao @ 2019-10-30  7:46 UTC (permalink / raw)
  To: dev; +Cc: stable, qi.z.zhang, xiaolong.ye, Wei Zhao

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: stable@dpdk.org

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] net/ice: disable useless interrupt
  2019-10-30  7:46 [dpdk-dev] [PATCH] net/ice: disable useless interrupt Wei Zhao
@ 2019-10-31  1:50 ` Zhao1, Wei
  0 siblings, 0 replies; 2+ messages in thread
From: Zhao1, Wei @ 2019-10-31  1:50 UTC (permalink / raw)
  To: dev; +Cc: stable, Zhang, Qi Z, Ye, Xiaolong, Fu, Qi

Tested-by: Qi Fu < qi.fu@intel.com>

> -----Original Message-----
> From: Zhao1, Wei
> Sent: Wednesday, October 30, 2019 3:47 PM
> To: dev@dpdk.org
> Cc: stable@dpdk.org; Zhang, Qi Z <qi.z.zhang@intel.com>; Ye, Xiaolong
> <xiaolong.ye@intel.com>; Zhao1, Wei <wei.zhao1@intel.com>
> 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")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
> ---
>  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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-31  1:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-30  7:46 [dpdk-dev] [PATCH] net/ice: disable useless interrupt Wei Zhao
2019-10-31  1:50 ` Zhao1, Wei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).