[dpdk-dev] [PATCH v3 3/5] net/ixgbe: write disable to ITR counter.
xiangxia.m.yue at gmail.com
xiangxia.m.yue at gmail.com
Thu Mar 22 14:01:56 CET 2018
From: Tonghao Zhang <xiangxia.m.yue at gmail.com>
ixgbe doesn't write the ITR counter, disable it now.
Signed-off-by: Tonghao Zhang <xiangxia.m.yue at gmail.com>
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 14296ea..0ea8fe8 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -5853,7 +5853,8 @@ static void ixgbevf_set_vfta_all(struct rte_eth_dev *dev, bool on)
break;
}
IXGBE_WRITE_REG(hw, IXGBE_EITR(IXGBE_MISC_VEC_ID),
- ixgbe_calc_itr_interval(RTE_LIBRTE_IXGBE_ITR_INTERVAL));
+ ixgbe_calc_itr_interval(RTE_LIBRTE_IXGBE_ITR_INTERVAL)
+ | IXGBE_EITR_CNT_WDIS);
/* set up to autoclear timer, and the vectors */
mask = IXGBE_EIMS_ENABLE_MASK;
--
1.8.3.1
More information about the dev
mailing list