linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH mlx5-next 0/2] mlx5-next updates 2025-07-09
@ 2025-07-09 12:41 Tariq Toukan
  2025-07-09 12:41 ` [PATCH mlx5-next 1/2] net/mlx5: Expose disciplined_fr_counter through HCA capabilities in mlx5_ifc Tariq Toukan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tariq Toukan @ 2025-07-09 12:41 UTC (permalink / raw)
  To: Saeed Mahameed, Leon Romanovsky
  Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn,
	David S. Miller, Gal Pressman, Saeed Mahameed, Tariq Toukan,
	Mark Bloch, netdev, linux-rdma, linux-kernel

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
-- 
2.31.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH mlx5-next 1/2] net/mlx5: Expose disciplined_fr_counter through HCA capabilities in mlx5_ifc
  2025-07-09 12:41 [PATCH mlx5-next 0/2] mlx5-next updates 2025-07-09 Tariq Toukan
@ 2025-07-09 12:41 ` Tariq Toukan
  2025-07-09 12:41 ` [PATCH mlx5-next 2/2] net/mlx5: IFC updates for disabled host PF Tariq Toukan
  2025-07-13  7:18 ` [PATCH mlx5-next 0/2] mlx5-next updates 2025-07-09 Leon Romanovsky
  2 siblings, 0 replies; 4+ messages in thread
From: Tariq Toukan @ 2025-07-09 12:41 UTC (permalink / raw)
  To: Saeed Mahameed, Leon Romanovsky
  Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn,
	David S. Miller, Gal Pressman, Saeed Mahameed, Tariq Toukan,
	Mark Bloch, netdev, linux-rdma, linux-kernel, Carolina Jubran

From: Carolina Jubran <cjubran@nvidia.com>

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

Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
---
 include/linux/mlx5/mlx5_ifc.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 0e93f342be09..e03fa6cd4509 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -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];
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH mlx5-next 2/2] net/mlx5: IFC updates for disabled host PF
  2025-07-09 12:41 [PATCH mlx5-next 0/2] mlx5-next updates 2025-07-09 Tariq Toukan
  2025-07-09 12:41 ` [PATCH mlx5-next 1/2] net/mlx5: Expose disciplined_fr_counter through HCA capabilities in mlx5_ifc Tariq Toukan
@ 2025-07-09 12:41 ` Tariq Toukan
  2025-07-13  7:18 ` [PATCH mlx5-next 0/2] mlx5-next updates 2025-07-09 Leon Romanovsky
  2 siblings, 0 replies; 4+ messages in thread
From: Tariq Toukan @ 2025-07-09 12:41 UTC (permalink / raw)
  To: Saeed Mahameed, Leon Romanovsky
  Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn,
	David S. Miller, Gal Pressman, Saeed Mahameed, Tariq Toukan,
	Mark Bloch, netdev, linux-rdma, linux-kernel, Daniel Jurgens

From: Daniel Jurgens <danielj@nvidia.com>

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

Signed-off-by: Daniel Jurgens <danielj@nvidia.com>
Reviewed-by: William Tu <witu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
---
 include/linux/mlx5/mlx5_ifc.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index e03fa6cd4509..8ff408cf40ed 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -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];
 
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH mlx5-next 0/2] mlx5-next updates 2025-07-09
  2025-07-09 12:41 [PATCH mlx5-next 0/2] mlx5-next updates 2025-07-09 Tariq Toukan
  2025-07-09 12:41 ` [PATCH mlx5-next 1/2] net/mlx5: Expose disciplined_fr_counter through HCA capabilities in mlx5_ifc Tariq Toukan
  2025-07-09 12:41 ` [PATCH mlx5-next 2/2] net/mlx5: IFC updates for disabled host PF Tariq Toukan
@ 2025-07-13  7:18 ` Leon Romanovsky
  2 siblings, 0 replies; 4+ messages in thread
From: Leon Romanovsky @ 2025-07-13  7:18 UTC (permalink / raw)
  To: Saeed Mahameed, Tariq Toukan
  Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn,
	David S. Miller, Gal Pressman, Saeed Mahameed, Mark Bloch, netdev,
	linux-rdma, linux-kernel


On Wed, 09 Jul 2025 15:41:05 +0300, Tariq Toukan wrote:
> 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,
-- 
Leon Romanovsky <leon@kernel.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-13  7:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-09 12:41 [PATCH mlx5-next 0/2] mlx5-next updates 2025-07-09 Tariq Toukan
2025-07-09 12:41 ` [PATCH mlx5-next 1/2] net/mlx5: Expose disciplined_fr_counter through HCA capabilities in mlx5_ifc Tariq Toukan
2025-07-09 12:41 ` [PATCH mlx5-next 2/2] net/mlx5: IFC updates for disabled host PF Tariq Toukan
2025-07-13  7:18 ` [PATCH mlx5-next 0/2] mlx5-next updates 2025-07-09 Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).