Skip to contentSkip to conversation

mlx5-next updates 2025-09-22

PATCH Applied Tariq Toukan 2 participants 4 messages Sep 22, 2025 – Sep 28, 2025

Subsystems (5)
lore
Share & tools
lore

Tariq Toukan

author maintainer
#0 lore raw

cover mlx5-next updates 2025-09-22

Hi,

This series contains mlx5 shared updates as preparation for upcoming features.

Regards,
Tariq

Mark Bloch (1):
net/mlx5: IFC add balance ID and LAG per MP group bits

Tariq Toukan (1):
net/mlx5: Add IFC bit for TIR/SQ order capability

 include/linux/mlx5/mlx5_ifc.h | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

base-commit: a3d076b0567e729d5f21a95525c4d096b1f59e79

Signature · 1 line
2.31.1
author maintainer
#1 lore raw

PATCH 1/2 net/mlx5: Add IFC bit for TIR/SQ order capability

Before this cap, firmware requested a certain creation order between TIR objects and SQs of the same transport domain to properly support the self loopback prevention feature. If order is not preserved, explicit modify_tir operations are necessary after the opening of the SQs.

When set, this cap bit indicates that this firmware requirement / limitation no longer holds.

---
 include/linux/mlx5/mlx5_ifc.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/linux/mlx5/mlx5_ifc.h +2 -1
index 0cf187e13def..c0f5fee7a4a5 100644
@@ -1895,7 +1895,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {
 
 	u8         reserved_at_2a0[0x7];
 	u8         mkey_pcie_tph[0x1];
-	u8         reserved_at_2a8[0x2];
+	u8         reserved_at_2a8[0x1];
+	u8         tis_tir_td_order[0x1];
 
 	u8         psp[0x1];
 	u8         shampo[0x1];
Signature · 1 line
2.31.1
author maintainer
#2 lore raw

PATCH 2/2 net/mlx5: IFC add balance ID and LAG per MP group bits

In reply to Tariq Toukan

From: Mark Bloch <[email protected]>

Add interface definitions for load balance ID and LAG per multiplane group functionality. This patch introduces the hardware capability bits needed to support balance ID in multiplane LAG configurations.

The new fields include:
- load_balance_id: 4-bit field for balance identifier.
- lag_per_mp_group: capability bit for LAG per multiplane group support.

These interface additions are prerequisites for implementing balance ID support in the MLX5 driver.

---
 include/linux/mlx5/mlx5_ifc.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
include/linux/mlx5/mlx5_ifc.h +6 -2
index c0f5fee7a4a5..07614cd95bed 100644
@@ -2235,12 +2235,16 @@ struct mlx5_ifc_cmd_hca_cap_2_bits {
 	u8	   reserved_at_440[0x8];
 	u8	   max_num_eqs_24b[0x18];
 
-	u8         reserved_at_460[0x160];
+	u8         reserved_at_460[0x144];
+	u8         load_balance_id[0x4];
+	u8         reserved_at_5a8[0x18];
 
 	u8         query_adjacent_functions_id[0x1];
 	u8         ingress_egress_esw_vport_connect[0x1];
 	u8         function_id_type_vhca_id[0x1];
-	u8         reserved_at_5c3[0xd];
+	u8         reserved_at_5c3[0x1];
+	u8         lag_per_mp_group[0x1];
+	u8         reserved_at_5c5[0xb];
 	u8         delegate_vhca_management_profiles[0x10];
 
 	u8         delegated_vhca_max[0x10];
Signature · 1 line
2.31.1
#3 lore raw
In reply to Tariq Toukan
Quoted 8 lines · Tariq Toukan

Hi,

This series contains mlx5 shared updates as preparation for upcoming features.

Regards,
Tariq

Quoted 8 lines

Mark Bloch (1):
net/mlx5: IFC add balance ID and LAG per MP group bits

Tariq Toukan (1):
net/mlx5: Add IFC bit for TIR/SQ order capability

 include/linux/mlx5/mlx5_ifc.h | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Thanks, applied to mlx5-next.

Quoted 7 lines

base-commit: a3d076b0567e729d5f21a95525c4d096b1f59e79

Signature · 1 line
2.31.1