Skip to contentSkip to conversation

mlx5-next updates 2025-07-09

PATCH Applied Tariq Toukan 2 participants 4 messages Jul 9, 2025 – Jul 13, 2025

Subsystems (5)
lore
Share & tools
lore

Tariq Toukan

author maintainer
#0 lore raw

cover mlx5-next updates 2025-07-09

Hi,

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

Regards,
Tariq

Carolina Jubran (1):
net/mlx5: Expose disciplined_fr_counter through HCA capabilities in
mlx5_ifc

Daniel Jurgens (1):
net/mlx5: IFC updates for disabled host PF

 include/linux/mlx5/mlx5_ifc.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

base-commit: 70f238c902b8c0461ae6fbb8d1a0bbddc4350eea

Signature · 1 line
2.31.1
author maintainer
#1 lore raw

PATCH 1/2 net/mlx5: Expose disciplined_fr_counter through HCA capabilities in mlx5_ifc

From: Carolina Jubran <[email protected]>

Introduce the disciplined_fr_counter capability bit to indicate that the device’s free-running cycle counter is disciplined to real-time.

---
 include/linux/mlx5/mlx5_ifc.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/linux/mlx5/mlx5_ifc.h +2 -1
index 0e93f342be09..e03fa6cd4509 100644
@@ -1846,7 +1846,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {
 
 	u8         log_bf_reg_size[0x5];
 
-	u8         reserved_at_270[0x3];
+	u8         disciplined_fr_counter[0x1];
+	u8         reserved_at_271[0x2];
 	u8	   qp_error_syndrome[0x1];
 	u8	   reserved_at_274[0x2];
 	u8         lag_dct[0x2];
Signature · 1 line
2.31.1
author maintainer
#2 lore raw

PATCH 2/2 net/mlx5: IFC updates for disabled host PF

In reply to Tariq Toukan

From: Daniel Jurgens <[email protected]>

The port 2 host PF can be disabled, this bit reflects that setting.

---
 include/linux/mlx5/mlx5_ifc.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
include/linux/mlx5/mlx5_ifc.h +3 -1
index e03fa6cd4509..8ff408cf40ed 100644
@@ -12381,7 +12381,9 @@ struct mlx5_ifc_mtrc_ctrl_bits {
 
 struct mlx5_ifc_host_params_context_bits {
 	u8         host_number[0x8];
-	u8         reserved_at_8[0x7];
+	u8         reserved_at_8[0x5];
+	u8         host_pf_not_exist[0x1];
+	u8         reserved_at_14[0x1];
 	u8         host_pf_disabled[0x1];
 	u8         host_num_of_vfs[0x10];
 
Signature · 1 line
2.31.1
#3 lore raw
In reply to Tariq Toukan
Quoted 11 lines · Tariq Toukan

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

Regards,
Tariq

Carolina Jubran (1):
net/mlx5: Expose disciplined_fr_counter through HCA capabilities in
mlx5_ifc

[...]

Applied, thanks!

[1/2] net/mlx5: Expose disciplined_fr_counter through HCA capabilities in mlx5_ifc

      https://git.kernel.org/rdma/rdma/c/cbe080f931f48b
[2/2] net/mlx5: IFC updates for disabled host PF
      https://git.kernel.org/rdma/rdma/c/cd1746cb6555a2

Best regards,

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