Skip to contentSkip to conversation

net/ixgbe: fix RSS redirection table configuration for E610

PATCH Applied Yuan Wang 3 participants 3 messages Nov 25, 2024 – Nov 26, 2024 Network drivers

lore
Share & tools
lore

Yuan Wang

author
#0 lore raw

PATCH 1/1 net/ixgbe: fix RSS redirection table configuration for E610

Add labels to get the correct table size and register address for RETA.

Fixes 316637762a5f ("net/ixgbe/base: enable E610 device")
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/net/ixgbe/ixgbe_ethdev.c +4 -0
index eb431889c3..bed4374ad1 100644
@@ -7238,10 +7238,12 @@ ixgbe_reta_size_get(enum ixgbe_mac_type mac_type) {
 	case ixgbe_mac_X550:
 	case ixgbe_mac_X550EM_x:
 	case ixgbe_mac_X550EM_a:
+	case ixgbe_mac_E610:
 		return RTE_ETH_RSS_RETA_SIZE_512;
 	case ixgbe_mac_X550_vf:
 	case ixgbe_mac_X550EM_x_vf:
 	case ixgbe_mac_X550EM_a_vf:
+	case ixgbe_mac_E610_vf:
 		return RTE_ETH_RSS_RETA_SIZE_64;
 	case ixgbe_mac_X540_vf:
 	case ixgbe_mac_82599_vf:
@@ -7257,6 +7259,7 @@ ixgbe_reta_reg_get(enum ixgbe_mac_type mac_type, uint16_t reta_idx) {
 	case ixgbe_mac_X550:
 	case ixgbe_mac_X550EM_x:
 	case ixgbe_mac_X550EM_a:
+	case ixgbe_mac_E610:
 		if (reta_idx < RTE_ETH_RSS_RETA_SIZE_128)
 			return IXGBE_RETA(reta_idx >> 2);
 		else
@@ -7264,6 +7267,7 @@ ixgbe_reta_reg_get(enum ixgbe_mac_type mac_type, uint16_t reta_idx) {
 	case ixgbe_mac_X550_vf:
 	case ixgbe_mac_X550EM_x_vf:
 	case ixgbe_mac_X550EM_a_vf:
+	case ixgbe_mac_E610_vf:
 		return IXGBE_VFRETA(reta_idx >> 2);
 	default:
 		return IXGBE_RETA(reta_idx >> 2);
Signature · 1 line
2.43.0
Tested-by on v1 1/1
#1 lore raw
Quoted 8 lines

-----Original Message-----
From: Yuan Wang <[email protected]>
Sent: Monday, November 25, 2024 5:36 PM
To: Burakov, Anatoly <[email protected]>; Medvedkin, Vladimir <[email protected]>
Cc: [email protected]; Wang, YuanX <[email protected]>
Subject: [PATCH] net/ixgbe: fix RSS redirection table configuration for E610

Quoted 6 lines

Add labels to get the correct table size and register address for RETA.

Fixes 316637762a5f ("net/ixgbe/base: enable E610 device")

---

#2 lore raw
Quoted 8 lines · HailinX
Quoted 8 lines

-----Original Message-----
From: Yuan Wang <[email protected]>
Sent: Monday, November 25, 2024 5:36 PM
To: Burakov, Anatoly <[email protected]>; Medvedkin, Vladimir <[email protected]>
Cc: [email protected]; Wang, YuanX <[email protected]>
Subject: [PATCH] net/ixgbe: fix RSS redirection table configuration for E610

Quoted 7 lines
Quoted 6 lines

Add labels to get the correct table size and register address for RETA.

Fixes 316637762a5f ("net/ixgbe/base: enable E610 device")

---

Applied to dpdk-next-net-intel.

Thanks,
/Bruce