mlx5-next updates 2026-10-05
Subsystems (5)
Tariq Toukan
maintainercover 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
Tariq Toukan
maintainerPATCH 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
@@ -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
[email protected]
AI reviewRe: [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_speedandeffective_tx_speedfields to the query andmodify_vport_statestructures.Add the
esw_vport_state_cap_tx_speedandesw_vport_state_effective_tx_speedcapability bits, indicating the firmware supports modifying thecap_tx_speedandeffective_tx_speedfields, via theMODIFY_VPORT_STATEcommand.
Quoted 4 lines
Signed-off-by Or Har-Toov <[email protected]>Reviewed-by Mark Bloch <[email protected]>Reviewed-by Nimrod Oren <[email protected]>Signed-off-by Tariq Toukan <[email protected]>
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
Tariq Toukan
maintainerPATCH 2/2 net/mlx5: IFC, Add capability bits for virtual LAG
In reply to Tariq ToukanFrom: 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
@@ -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
[email protected]
AI reviewRe: [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 bymulti_uplink_eswitchandport_select_eswitchcaps bit.Signed-off-by Shay Drory <[email protected]>Reviewed-by Mark Bloch <[email protected]>Reviewed-by Moshe Shemesh <[email protected]>Signed-off-by Tariq Toukan <[email protected]>
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
Quoted 11 lines · Tariq Toukan
Hi,
This series contains mlx5 shared updates as preparation for upcoming features.
Regards,
TariqOr Har-Toov (1):
net/mlx5: Addcap_tx_speedandeffective_tx_speedsupport to IFC
Quoted 8 lines
Shay Drory (1):
net/mlx5: IFC, Add capability bits for virtual LAGinclude/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
Jakub Kicinski
maintainerQuoted 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,
TariqOr Har-Toov (1):
net/mlx5: Addcap_tx_speedandeffective_tx_speedsupport to IFCShay 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:
00290b9ff59ef47b990d26a6b1a8b2ea6dedf5e9my 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.
Leon Romanovsky
AppliedQuoted 10 lines · Tariq Toukan
This series contains mlx5 shared updates as preparation for upcoming features.
Regards,
TariqOr Har-Toov (1):
net/mlx5: Addcap_tx_speedandeffective_tx_speedsupport 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]>