DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/avf: enable admin queue interrupt
@ 2019-02-13  8:43 Wei Zhao
  0 siblings, 0 replies; 4+ messages in thread
From: Wei Zhao @ 2019-02-13  8:43 UTC (permalink / raw)
  To: dev; +Cc: jingjing.wu, qi.z.zhang, Wei Zhao

There is need to enble CLEARPBA bit for ice NIC of A0/A1 version
in order to enable admin queue interrupt in avf mode.
If not, avf will not work.

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
 drivers/net/avf/avf_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/avf/avf_ethdev.c b/drivers/net/avf/avf_ethdev.c
index 13eec1b..d92a6f1 100644
--- a/drivers/net/avf/avf_ethdev.c
+++ b/drivers/net/avf/avf_ethdev.c
@@ -1159,7 +1159,7 @@ avf_enable_irq0(struct avf_hw *hw)
 	AVF_WRITE_REG(hw, AVFINT_ICR0_ENA1, AVFINT_ICR0_ENA1_ADMINQ_MASK);
 
 	AVF_WRITE_REG(hw, AVFINT_DYN_CTL01, AVFINT_DYN_CTL01_INTENA_MASK |
-					    AVFINT_DYN_CTL01_ITR_INDX_MASK);
+		FINT_DYN_CTL01_CLEARPBA_MASK | AVFINT_DYN_CTL01_ITR_INDX_MASK);
 
 	AVF_WRITE_FLUSH(hw);
 }
-- 
2.7.5

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [dpdk-dev] [PATCH] net/avf: enable admin queue interrupt
@ 2019-02-13  8:54 Wei Zhao
  2019-02-13 18:58 ` Stillwell Jr, Paul M
  2019-02-18 12:22 ` Zhang, Qi Z
  0 siblings, 2 replies; 4+ messages in thread
From: Wei Zhao @ 2019-02-13  8:54 UTC (permalink / raw)
  To: dev; +Cc: jingjing.wu, qi.z.zhang, Wei Zhao

There is need to enble CLEARPBA bit for ice NIC of A0/A1 version
in order to enable admin queue interrupt in avf mode.
If not, avf will not work.

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
 drivers/net/avf/avf_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/avf/avf_ethdev.c b/drivers/net/avf/avf_ethdev.c
index 13eec1b..797f505 100644
--- a/drivers/net/avf/avf_ethdev.c
+++ b/drivers/net/avf/avf_ethdev.c
@@ -1159,7 +1159,7 @@ avf_enable_irq0(struct avf_hw *hw)
 	AVF_WRITE_REG(hw, AVFINT_ICR0_ENA1, AVFINT_ICR0_ENA1_ADMINQ_MASK);
 
 	AVF_WRITE_REG(hw, AVFINT_DYN_CTL01, AVFINT_DYN_CTL01_INTENA_MASK |
-					    AVFINT_DYN_CTL01_ITR_INDX_MASK);
+		AVFINT_DYN_CTL01_CLEARPBA_MASK | AVFINT_DYN_CTL01_ITR_INDX_MASK);
 
 	AVF_WRITE_FLUSH(hw);
 }
-- 
2.7.5

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

end of thread, other threads:[~2019-02-18 12:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-13  8:43 [dpdk-dev] [PATCH] net/avf: enable admin queue interrupt Wei Zhao
2019-02-13  8:54 Wei Zhao
2019-02-13 18:58 ` Stillwell Jr, Paul M
2019-02-18 12:22 ` Zhang, Qi Z

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).