Skip to contentSkip to conversation

net/ixgbe: fix queue interrupt for E610

PATCH Applied Yuan Wang 2 participants 3 messages Nov 6, 2024 – Nov 8, 2024 Network drivers

lore
Share & tools
lore

Yuan Wang

author
#0 lore raw

PATCH 1/1 net/ixgbe: fix queue interrupt for E610

Interrupt mode is not working on E610 device because this device doesn't enable the queue interrupt mapping, this patch fixed the issue.

Fixes 316637762a5f ("net/ixgbe/base: enable E610 device")
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/net/ixgbe/ixgbe_ethdev.c +3 -1
index 7da2ccf6a8..cfe75cb438 100644
@@ -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:
Signature · 1 line
2.31.1