net/avf: enable admin queue interrupt
PATCH 1/1 net/avf: enable admin queue interrupt
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 <[email protected]>
--- drivers/net/avf/avf_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/avf/avf_ethdev.c +1 -1
@@ -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); }
Signature · 1 line
2.7.5