From 64998e4d392eef18fb2db83a094b2eb6b8ebd00d Mon Sep 17 00:00:00 2001 From: Yuan Wang Date: Wed, 6 Nov 2024 16:53:39 +0800 Subject: [PATCH] net/ixgbe: fix queue interrupt for E610 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: 316637762a5f ("net/ixgbe/base: enable E610 device") Cc: stable@dpdk.org Signed-off-by: Yuan Wang Acked-by: Bruce Richardson --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index da9b3d7ca7..eb431889c3 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -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); @@ -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: