Skip to contentSkip to conversation

mlx5-next updates 2026-10-05

PATCH Applied Tariq Toukan 5 participants 8 messages Oct 5 – Oct 11

Subsystems (5)
lore
Share & tools
lore

Tariq Toukan

author maintainer
#0 lore raw

cover mlx5-next updates 2026-10-05

Hi,

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

Regards,
Tariq

Or Har-Toov (1):
net/mlx5: Add cap_tx_speed and effective_tx_speed support to IFC

Shay Drory (1):
net/mlx5: IFC, Add capability bits for virtual LAG

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

base-commit: 00290b9ff59ef47b990d26a6b1a8b2ea6dedf5e9

Signature · 1 line
2.44.0
author maintainer
#1 lore raw

PATCH 1/2 net/mlx5: Add cap_tx_speed and effective_tx_speed support to IFC

From: Or Har-Toov <[email protected]>

Introduce the cap_tx_speed and effective_tx_speed fields to the query and modify_vport_state structures.

Add the esw_vport_state_cap_tx_speed and esw_vport_state_effective_tx_speed capability bits, indicating the firmware supports modifying the cap_tx_speed and effective_tx_speed fields, via the MODIFY_VPORT_STATE command.

---
 include/linux/mlx5/mlx5_ifc.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
include/linux/mlx5/mlx5_ifc.h +9 -1
index a712463e89b4..989408764e1b 100644
@@ -1070,7 +1070,9 @@ struct mlx5_ifc_e_switch_cap_bits {
 	u8         root_ft_on_other_esw[0x1];
 	u8         reserved_at_a[0x1];
 	u8         esw_vport_state_max_tx_speed[0x1];
-	u8         reserved_at_c[0xd];
+	u8         esw_vport_state_cap_tx_speed[0x1];
+	u8         esw_vport_state_effective_tx_speed[0x1];
+	u8         reserved_at_e[0xb];
 	u8         esw_functions_changed[0x1];
 	u8         reserved_at_1a[0x1];
 	u8         ecpf_vport_exists[0x1];
@@ -5492,6 +5494,9 @@ struct mlx5_ifc_query_vport_state_out_bits {
 	u8         reserved_at_70[0x8];
 	u8         admin_state[0x4];
 	u8         state[0x4];
+
+	u8         cap_tx_speed[0x10];
+	u8         effective_tx_speed[0x10];
 };
 
 struct mlx5_ifc_array1024_auto_bits {
@@ -7840,6 +7845,9 @@ struct mlx5_ifc_modify_vport_state_in_bits {
 	u8         reserved_at_74[0x4];
 	u8         admin_state[0x4];
 	u8         reserved_at_7c[0x4];
+
+	u8         cap_tx_speed[0x10];
+	u8         effective_tx_speed[0x10];
 };
 
 struct mlx5_ifc_modify_tis_out_bits {
Signature · 1 line
2.44.0
#2 lore raw

Re: [PATCH mlx5-next 1/2] net/mlx5: Add cap_tx_speed and effective_tx_speed support to IFC

Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 10 lines

From: Or Har-Toov <[email protected]>

Introduce the cap_tx_speed and effective_tx_speed fields to the query and modify_vport_state structures.

Add the esw_vport_state_cap_tx_speed and esw_vport_state_effective_tx_speed capability bits, indicating the firmware supports modifying the cap_tx_speed and effective_tx_speed fields, via the MODIFY_VPORT_STATE command.

Quoted 4 lines

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
author maintainer
#3 lore raw

PATCH 2/2 net/mlx5: IFC, Add capability bits for virtual LAG

In reply to Tariq Toukan

From: Shay Drory <[email protected]>

Virtual LAG can also be built over virtual uplinks rather than physical ports.
The support for this virtual LAG is indicated by multi_uplink_eswitch and port_select_eswitch caps bit.

---
 include/linux/mlx5/mlx5_ifc.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
include/linux/mlx5/mlx5_ifc.h +4 -2
index 989408764e1b..f1ee35aa884a 100644
@@ -929,7 +929,7 @@ struct mlx5_ifc_flow_table_nic_cap_bits {
 struct mlx5_ifc_port_selection_cap_bits {
 	u8         reserved_at_0[0x10];
 	u8         port_select_flow_table[0x1];
-	u8         reserved_at_11[0x1];
+	u8         port_select_eswitch[0x1];
 	u8         port_select_flow_table_bypass[0x1];
 	u8         reserved_at_13[0xd];
 
@@ -2010,7 +2010,9 @@ struct mlx5_ifc_cmd_hca_cap_bits {
 	u8         reserved_at_3b0[0x2];
 	u8         qp_latency_sensitive_disable[0x1];
 	u8         log_max_stride_sz_sq[0x5];
-	u8         reserved_at_3b8[0x3];
+	u8         reserved_at_3b8[0x1];
+	u8         multi_uplink_eswitch[0x1];
+	u8         reserved_at_3ba[0x1];
 	u8         log_min_stride_sz_sq[0x5];
 
 	u8         hairpin[0x1];
Signature · 1 line
2.44.0
#4 lore raw

Re: [PATCH mlx5-next 2/2] net/mlx5: IFC, Add capability bits for virtual LAG

Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 11 lines

From: Shay Drory <[email protected]>

Virtual LAG can also be built over virtual uplinks rather than physical ports.
The support for this virtual LAG is indicated by multi_uplink_eswitch and port_select_eswitch caps bit.

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
#5 lore raw
In reply to Tariq Toukan
Quoted 11 lines · Tariq Toukan

Hi,

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

Regards,
Tariq

Or Har-Toov (1):
net/mlx5: Add cap_tx_speed and effective_tx_speed support to IFC

Quoted 8 lines

Shay Drory (1):
net/mlx5: IFC, Add capability bits for virtual LAG

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

base-commit: 00290b9ff59ef47b990d26a6b1a8b2ea6dedf5e9

my understanding is that you should at least link to the actual code using the new stuff

maintainer
#6 lore raw
Quoted 15 lines · On Mon, 5 Oct 2026 15:29:15 +0200 Przemek Kitszel wrote:
Quoted 14 lines · Tariq Toukan

Hi,

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

Regards,
Tariq

Or Har-Toov (1):
net/mlx5: Add cap_tx_speed and effective_tx_speed support to IFC

Shay Drory (1):
net/mlx5: IFC, Add capability bits for virtual LAG

Quoted 8 lines
Quoted 5 lines
  include/linux/mlx5/mlx5_ifc.h | 16 +++++++++++++---
  1 file changed, 13 insertions(+), 3 deletions(-)

base-commit: 00290b9ff59ef47b990d26a6b1a8b2ea6dedf5e9

my understanding is that you should at least link to the actual code using the new stuff

I guess, tho this is basically a FW API header update.
It's not like we inspect the FW API update patches to make sure all of the fields / requests are actually used later..
I did not spot anything "funny" here.

#7 lore raw
In reply to Tariq Toukan
Quoted 10 lines · Tariq Toukan

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

Regards,
Tariq

Or Har-Toov (1):
net/mlx5: Add cap_tx_speed and effective_tx_speed support to IFC

[...]

Applied, thanks!

[1/2] net/mlx5: Add cap_tx_speed and effective_tx_speed support to IFC

      https://git.kernel.org/rdma/rdma/c/4c5679222f6b9b
[2/2] net/mlx5: IFC, Add capability bits for virtual LAG
      https://git.kernel.org/rdma/rdma/c/41de84543574f2

Best regards,

Signature · 1 line
Leon Romanovsky <[email protected]>