summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunyu Jiang <junyux.jiang@intel.com>2019-09-04 03:31:47 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-09-05 19:18:32 +0200
commitf26f416d4c3ac8b77cd8dd84f72628b37fec7283 (patch)
tree784b7d4adae9cc34168ddc5201627d732f7f33fe
parente8c7df5d7d3a47446aa3f90d5ee1ca2662fd0531 (diff)
downloaddpdk-next-eventdev-f26f416d4c3ac8b77cd8dd84f72628b37fec7283.zip
dpdk-next-eventdev-f26f416d4c3ac8b77cd8dd84f72628b37fec7283.tar.gz
dpdk-next-eventdev-f26f416d4c3ac8b77cd8dd84f72628b37fec7283.tar.xz
net/ixgbe: fix queue interrupt for X552/557
Interrupt mode is not working on X552/557 device because this device doesn't enable the queue interrupt mapping, this patch fixed the issue. Fixes: d2e72774e58c ("ixgbe/base: support X550") Cc: stable@dpdk.org Signed-off-by: Junyu Jiang <junyux.jiang@intel.com> Acked-by: Qiming Yang <qiming.yang@intel.com>
-rw-r--r--drivers/net/ixgbe/ixgbe_ethdev.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index f328d7c..e985053 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -5895,7 +5895,8 @@ ixgbe_set_ivar_map(struct ixgbe_hw *hw, int8_t direction,
IXGBE_WRITE_REG(hw, IXGBE_IVAR(idx), tmp);
} else if ((hw->mac.type == ixgbe_mac_82599EB) ||
(hw->mac.type == ixgbe_mac_X540) ||
- (hw->mac.type == ixgbe_mac_X550)) {
+ (hw->mac.type == ixgbe_mac_X550) ||
+ (hw->mac.type == ixgbe_mac_X550EM_x)) {
if (direction == -1) {
/* other causes */
idx = ((queue & 1) * 8);
@@ -6025,6 +6026,7 @@ ixgbe_configure_msix(struct rte_eth_dev *dev)
case ixgbe_mac_82599EB:
case ixgbe_mac_X540:
case ixgbe_mac_X550:
+ case ixgbe_mac_X550EM_x:
ixgbe_set_ivar_map(hw, -1, 1, IXGBE_MISC_VEC_ID);
break;
default: