Skip to content

Commit

Permalink
net/ixgbe: fix queue interrupt for X552/557
Browse files Browse the repository at this point in the history
[ upstream commit f26f416 ]

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: d2e7277 ("ixgbe/base: support X550")

Signed-off-by: Junyu Jiang <junyux.jiang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
  • Loading branch information
Junyu Jiang authored and kevintraynor committed Nov 21, 2019
1 parent c846244 commit ff11a3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/net/ixgbe/ixgbe_ethdev.c
Expand Up @@ -5870,7 +5870,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);
Expand Down Expand Up @@ -6000,6 +6001,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:
Expand Down

0 comments on commit ff11a3b

Please sign in to comment.