Skip to content

Commit

Permalink
net/ixgbe: fix queue interrupt for E610
Browse files Browse the repository at this point in the history
Interrupt mode is not working on E610 device because queue interrupt
mapping is not enabled. Add missing checks for E610 to fix the issue.

Fixes: 3166377 ("net/ixgbe/base: enable E610 device")
Cc: [email protected]

Signed-off-by: Yuan Wang <[email protected]>
Acked-by: Bruce Richardson <[email protected]>
  • Loading branch information
yuanx-wang authored and bruce-richardson committed Nov 11, 2024
1 parent d12c5d4 commit 64998e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/net/ixgbe/ixgbe_ethdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -5974,7 +5974,8 @@ ixgbe_set_ivar_map(struct ixgbe_hw *hw, int8_t direction,
(hw->mac.type == ixgbe_mac_X540) ||
(hw->mac.type == ixgbe_mac_X550) ||
(hw->mac.type == ixgbe_mac_X550EM_a) ||
(hw->mac.type == ixgbe_mac_X550EM_x)) {
(hw->mac.type == ixgbe_mac_X550EM_x) ||
(hw->mac.type == ixgbe_mac_E610)) {
if (direction == -1) {
/* other causes */
idx = ((queue & 1) * 8);
Expand Down Expand Up @@ -6109,6 +6110,7 @@ ixgbe_configure_msix(struct rte_eth_dev *dev)
case ixgbe_mac_X540:
case ixgbe_mac_X550:
case ixgbe_mac_X550EM_x:
case ixgbe_mac_E610:
ixgbe_set_ivar_map(hw, -1, 1, IXGBE_MISC_VEC_ID);
break;
default:
Expand Down

0 comments on commit 64998e4

Please sign in to comment.