netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH mlx5-next 0/4] mlx5-next updates 2025-01-09
@ 2025-01-09 20:42 Tariq Toukan
  2025-01-09 20:42 ` [PATCH mlx5-next 1/4] net/mlx5: Update mlx5_ifc to support FEC for 200G per lane link modes Tariq Toukan
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Tariq Toukan @ 2025-01-09 20:42 UTC (permalink / raw)
  To: Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe
  Cc: netdev, linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Tariq Toukan

Hi,

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

Regards,
Tariq

Akiva Goldberger (1):
  net/mlx5: Add nic_cap_reg and vhca_icm_ctrl registers

Jianbo Liu (2):
  net/mlx5: Update mlx5_ifc to support FEC for 200G per lane link modes
  net/mlx5: Add support for MRTCQ register

Saeed Mahameed (1):
  net/mlx5: SHAMPO: Introduce new SHAMPO specific HCA caps

 drivers/net/ethernet/mellanox/mlx5/core/fw.c  |  6 ++
 .../net/ethernet/mellanox/mlx5/core/main.c    |  5 ++
 include/linux/mlx5/device.h                   |  4 +
 include/linux/mlx5/driver.h                   |  3 +
 include/linux/mlx5/mlx5_ifc.h                 | 73 +++++++++++++++++--
 5 files changed, 86 insertions(+), 5 deletions(-)


base-commit: aeb3ec99026979287266e4b5a1194789c1488c1a
-- 
2.45.0


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

* [PATCH mlx5-next 1/4] net/mlx5: Update mlx5_ifc to support FEC for 200G per lane link modes
  2025-01-09 20:42 [PATCH mlx5-next 0/4] mlx5-next updates 2025-01-09 Tariq Toukan
@ 2025-01-09 20:42 ` Tariq Toukan
  2025-01-10  1:15   ` Jacob Keller
  2025-01-10  3:55   ` Kalesh Anakkur Purayil
  2025-01-09 20:42 ` [PATCH mlx5-next 2/4] net/mlx5: Add support for MRTCQ register Tariq Toukan
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 14+ messages in thread
From: Tariq Toukan @ 2025-01-09 20:42 UTC (permalink / raw)
  To: Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe
  Cc: netdev, linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Jianbo Liu, Tariq Toukan

From: Jianbo Liu <jianbol@nvidia.com>

Add FEC admin and override related fields in PPLM, and the bit in PCAM
to indicate those fields are supported.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
---
 include/linux/mlx5/mlx5_ifc.h | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 43b3cb4bf8d1..c3da1581853c 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -10150,7 +10150,21 @@ struct mlx5_ifc_pplm_reg_bits {
 	u8         fec_override_admin_200g_2x[0x10];
 	u8         fec_override_admin_100g_1x[0x10];
 
-	u8         reserved_at_260[0x20];
+	u8         reserved_at_260[0x60];
+
+	u8         fec_override_cap_1600g_8x[0x10];
+	u8         fec_override_cap_800g_4x[0x10];
+
+	u8         fec_override_cap_400g_2x[0x10];
+	u8         fec_override_cap_200g_1x[0x10];
+
+	u8         fec_override_admin_1600g_8x[0x10];
+	u8         fec_override_admin_800g_4x[0x10];
+
+	u8         fec_override_admin_400g_2x[0x10];
+	u8         fec_override_admin_200g_1x[0x10];
+
+	u8         reserved_at_340[0x80];
 };
 
 struct mlx5_ifc_ppcnt_reg_bits {
@@ -10524,7 +10538,9 @@ struct mlx5_ifc_mtutc_reg_bits {
 };
 
 struct mlx5_ifc_pcam_enhanced_features_bits {
-	u8         reserved_at_0[0x48];
+	u8         reserved_at_0[0x1d];
+	u8         fec_200G_per_lane_in_pplm[0x1];
+	u8         reserved_at_1e[0x2a];
 	u8         fec_100G_per_lane_in_pplm[0x1];
 	u8         reserved_at_49[0x1f];
 	u8         fec_50G_per_lane_in_pplm[0x1];
-- 
2.45.0


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

* [PATCH mlx5-next 2/4] net/mlx5: Add support for MRTCQ register
  2025-01-09 20:42 [PATCH mlx5-next 0/4] mlx5-next updates 2025-01-09 Tariq Toukan
  2025-01-09 20:42 ` [PATCH mlx5-next 1/4] net/mlx5: Update mlx5_ifc to support FEC for 200G per lane link modes Tariq Toukan
@ 2025-01-09 20:42 ` Tariq Toukan
  2025-01-10  1:17   ` Jacob Keller
  2025-01-10  3:55   ` Kalesh Anakkur Purayil
  2025-01-09 20:42 ` [PATCH mlx5-next 3/4] net/mlx5: SHAMPO: Introduce new SHAMPO specific HCA caps Tariq Toukan
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 14+ messages in thread
From: Tariq Toukan @ 2025-01-09 20:42 UTC (permalink / raw)
  To: Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe
  Cc: netdev, linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Jianbo Liu, Dragos Tatulea, Tariq Toukan

From: Jianbo Liu <jianbol@nvidia.com>

Management Real Time Clock Query (MRTCQ) register is used to query
hardware clock identity.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
---
 include/linux/mlx5/driver.h   |  1 +
 include/linux/mlx5/mlx5_ifc.h | 11 ++++++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index fc7e6153b73d..8f6fe29bc4be 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -160,6 +160,7 @@ enum {
 	MLX5_REG_MIRC		 = 0x9162,
 	MLX5_REG_MTPTM		 = 0x9180,
 	MLX5_REG_MTCTR		 = 0x9181,
+	MLX5_REG_MRTCQ		 = 0x9182,
 	MLX5_REG_SBCAM		 = 0xB01F,
 	MLX5_REG_RESOURCE_DUMP   = 0xC000,
 	MLX5_REG_DTOR            = 0xC00E,
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index c3da1581853c..221146278ac8 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -10680,7 +10680,8 @@ struct mlx5_ifc_mcam_access_reg_bits3 {
 
 	u8         regs_63_to_32[0x20];
 
-	u8         regs_31_to_2[0x1e];
+	u8         regs_31_to_3[0x1d];
+	u8         mrtcq[0x1];
 	u8         mtctr[0x1];
 	u8         mtptm[0x1];
 };
@@ -13171,4 +13172,12 @@ struct mlx5_ifc_msees_reg_bits {
 	u8         reserved_at_80[0x180];
 };
 
+struct mlx5_ifc_mrtcq_reg_bits {
+	u8         reserved_at_0[0x40];
+
+	u8         rt_clock_identity[0x40];
+
+	u8         reserved_at_80[0x180];
+};
+
 #endif /* MLX5_IFC_H */
-- 
2.45.0


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

* [PATCH mlx5-next 3/4] net/mlx5: SHAMPO: Introduce new SHAMPO specific HCA caps
  2025-01-09 20:42 [PATCH mlx5-next 0/4] mlx5-next updates 2025-01-09 Tariq Toukan
  2025-01-09 20:42 ` [PATCH mlx5-next 1/4] net/mlx5: Update mlx5_ifc to support FEC for 200G per lane link modes Tariq Toukan
  2025-01-09 20:42 ` [PATCH mlx5-next 2/4] net/mlx5: Add support for MRTCQ register Tariq Toukan
@ 2025-01-09 20:42 ` Tariq Toukan
  2025-01-10  1:17   ` Jacob Keller
  2025-01-10  3:56   ` Kalesh Anakkur Purayil
  2025-01-09 20:42 ` [PATCH mlx5-next 4/4] net/mlx5: Add nic_cap_reg and vhca_icm_ctrl registers Tariq Toukan
  2025-01-12  8:58 ` [PATCH mlx5-next 0/4] mlx5-next updates 2025-01-09 Leon Romanovsky
  4 siblings, 2 replies; 14+ messages in thread
From: Tariq Toukan @ 2025-01-09 20:42 UTC (permalink / raw)
  To: Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe
  Cc: netdev, linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Dragos Tatulea, Tariq Toukan

From: Saeed Mahameed <saeedm@nvidia.com>

Read and cache SHAMPO specific caps for header data split capabilities.
Will be used in downstream patch.

Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
---
 drivers/net/ethernet/mellanox/mlx5/core/fw.c  |  6 ++++++
 .../net/ethernet/mellanox/mlx5/core/main.c    |  5 +++++
 include/linux/mlx5/device.h                   |  4 ++++
 include/linux/mlx5/mlx5_ifc.h                 | 20 ++++++++++++++++++-
 4 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fw.c b/drivers/net/ethernet/mellanox/mlx5/core/fw.c
index 76ad46bf477d..b253d1673398 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/fw.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/fw.c
@@ -281,6 +281,12 @@ int mlx5_query_hca_caps(struct mlx5_core_dev *dev)
 			return err;
 	}
 
+	if (MLX5_CAP_GEN(dev, shampo)) {
+		err = mlx5_core_get_caps_mode(dev, MLX5_CAP_SHAMPO, HCA_CAP_OPMOD_GET_CUR);
+		if (err)
+			return err;
+	}
+
 	return 0;
 }
 
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c
index 220a9ac75c8b..a670e4538a13 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/main.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c
@@ -368,6 +368,10 @@ int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_ty
 	u16 opmod = (cap_type << 1) | (cap_mode & 0x01);
 	int err;
 
+	if (WARN_ON(!dev->caps.hca[cap_type]))
+		/* this cap_type must be added to mlx5_hca_caps_alloc() */
+		return -EINVAL;
+
 	memset(in, 0, sizeof(in));
 	out = kzalloc(out_sz, GFP_KERNEL);
 	if (!out)
@@ -1788,6 +1792,7 @@ static const int types[] = {
 	MLX5_CAP_MACSEC,
 	MLX5_CAP_ADV_VIRTUALIZATION,
 	MLX5_CAP_CRYPTO,
+	MLX5_CAP_SHAMPO,
 };
 
 static void mlx5_hca_caps_free(struct mlx5_core_dev *dev)
diff --git a/include/linux/mlx5/device.h b/include/linux/mlx5/device.h
index cc647992f3d1..0c48b20f818a 100644
--- a/include/linux/mlx5/device.h
+++ b/include/linux/mlx5/device.h
@@ -1245,6 +1245,7 @@ enum mlx5_cap_type {
 	MLX5_CAP_DEV_EVENT = 0x14,
 	MLX5_CAP_IPSEC,
 	MLX5_CAP_CRYPTO = 0x1a,
+	MLX5_CAP_SHAMPO = 0x1d,
 	MLX5_CAP_MACSEC = 0x1f,
 	MLX5_CAP_GENERAL_2 = 0x20,
 	MLX5_CAP_PORT_SELECTION = 0x25,
@@ -1470,6 +1471,9 @@ enum mlx5_qcam_feature_groups {
 #define MLX5_CAP_MACSEC(mdev, cap)\
 	MLX5_GET(macsec_cap, (mdev)->caps.hca[MLX5_CAP_MACSEC]->cur, cap)
 
+#define MLX5_CAP_SHAMPO(mdev, cap) \
+	MLX5_GET(shampo_cap, mdev->caps.hca[MLX5_CAP_SHAMPO]->cur, cap)
+
 enum {
 	MLX5_CMD_STAT_OK			= 0x0,
 	MLX5_CMD_STAT_INT_ERR			= 0x1,
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 221146278ac8..d7c91f152735 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -2327,7 +2327,9 @@ struct mlx5_ifc_wq_bits {
 	u8         headers_mkey[0x20];
 
 	u8         shampo_enable[0x1];
-	u8         reserved_at_1e1[0x4];
+	u8         reserved_at_1e1[0x1];
+	u8         shampo_mode[0x2];
+	u8         reserved_at_1e4[0x1];
 	u8         log_reservation_size[0x3];
 	u8         reserved_at_1e8[0x5];
 	u8         log_max_num_of_packets_per_reservation[0x3];
@@ -3699,6 +3701,22 @@ struct mlx5_ifc_crypto_cap_bits {
 	u8    reserved_at_80[0x780];
 };
 
+struct mlx5_ifc_shampo_cap_bits {
+	u8    reserved_at_0[0x3];
+	u8    shampo_log_max_reservation_size[0x5];
+	u8    reserved_at_8[0x3];
+	u8    shampo_log_min_reservation_size[0x5];
+	u8    shampo_min_mss_size[0x10];
+
+	u8    shampo_header_split[0x1];
+	u8    shampo_header_split_data_merge[0x1];
+	u8    reserved_at_22[0x1];
+	u8    shampo_log_max_headers_entry_size[0x5];
+	u8    reserved_at_28[0x18];
+
+	u8    reserved_at_40[0x7c0];
+};
+
 union mlx5_ifc_hca_cap_union_bits {
 	struct mlx5_ifc_cmd_hca_cap_bits cmd_hca_cap;
 	struct mlx5_ifc_cmd_hca_cap_2_bits cmd_hca_cap_2;
-- 
2.45.0


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

* [PATCH mlx5-next 4/4] net/mlx5: Add nic_cap_reg and vhca_icm_ctrl registers
  2025-01-09 20:42 [PATCH mlx5-next 0/4] mlx5-next updates 2025-01-09 Tariq Toukan
                   ` (2 preceding siblings ...)
  2025-01-09 20:42 ` [PATCH mlx5-next 3/4] net/mlx5: SHAMPO: Introduce new SHAMPO specific HCA caps Tariq Toukan
@ 2025-01-09 20:42 ` Tariq Toukan
  2025-01-10  1:18   ` Jacob Keller
  2025-01-10  3:57   ` Kalesh Anakkur Purayil
  2025-01-12  8:58 ` [PATCH mlx5-next 0/4] mlx5-next updates 2025-01-09 Leon Romanovsky
  4 siblings, 2 replies; 14+ messages in thread
From: Tariq Toukan @ 2025-01-09 20:42 UTC (permalink / raw)
  To: Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe
  Cc: netdev, linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Akiva Goldberger, Tariq Toukan

From: Akiva Goldberger <agoldberger@nvidia.com>

Add nic_cap_reg and vhca_icm_ctrl registers interfaces for exposing ICM
consumption.

Signed-off-by: Akiva Goldberger <agoldberger@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
---
 include/linux/mlx5/driver.h   |  2 ++
 include/linux/mlx5/mlx5_ifc.h | 22 +++++++++++++++++++++-
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index 8f6fe29bc4be..b957391529b3 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -163,7 +163,9 @@ enum {
 	MLX5_REG_MRTCQ		 = 0x9182,
 	MLX5_REG_SBCAM		 = 0xB01F,
 	MLX5_REG_RESOURCE_DUMP   = 0xC000,
+	MLX5_REG_NIC_CAP	 = 0xC00D,
 	MLX5_REG_DTOR            = 0xC00E,
+	MLX5_REG_VHCA_ICM_CTRL	 = 0xC010,
 };
 
 enum mlx5_qpts_trust_state {
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index d7c91f152735..2a40b1fd50e8 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -1830,7 +1830,7 @@ struct mlx5_ifc_cmd_hca_cap_bits {
 	u8         regexp_params[0x1];
 	u8         uar_sz[0x6];
 	u8         port_selection_cap[0x1];
-	u8         reserved_at_251[0x1];
+	u8         nic_cap_reg[0x1];
 	u8         umem_uid_0[0x1];
 	u8         reserved_at_253[0x5];
 	u8         log_pg_sz[0x8];
@@ -3327,6 +3327,14 @@ struct mlx5_ifc_dropped_packet_logged_bits {
 	u8         reserved_at_0[0xe0];
 };
 
+struct mlx5_ifc_nic_cap_reg_bits {
+	u8	   reserved_at_0[0x1a];
+	u8	   vhca_icm_ctrl[0x1];
+	u8	   reserved_at_1b[0x5];
+
+	u8	   reserved_at_20[0x60];
+};
+
 struct mlx5_ifc_default_timeout_bits {
 	u8         to_multiplier[0x3];
 	u8         reserved_at_3[0x9];
@@ -3363,6 +3371,18 @@ struct mlx5_ifc_dtor_reg_bits {
 	u8         reserved_at_1c0[0x20];
 };
 
+struct mlx5_ifc_vhca_icm_ctrl_reg_bits {
+	u8	   vhca_id_valid[0x1];
+	u8	   reserved_at_1[0xf];
+	u8	   vhca_id[0x10];
+
+	u8	   reserved_at_20[0xa0];
+
+	u8	   cur_alloc_icm[0x20];
+
+	u8	   reserved_at_e0[0x120];
+};
+
 enum {
 	MLX5_CQ_ERROR_SYNDROME_CQ_OVERRUN                 = 0x1,
 	MLX5_CQ_ERROR_SYNDROME_CQ_ACCESS_VIOLATION_ERROR  = 0x2,
-- 
2.45.0


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

* Re: [PATCH mlx5-next 1/4] net/mlx5: Update mlx5_ifc to support FEC for 200G per lane link modes
  2025-01-09 20:42 ` [PATCH mlx5-next 1/4] net/mlx5: Update mlx5_ifc to support FEC for 200G per lane link modes Tariq Toukan
@ 2025-01-10  1:15   ` Jacob Keller
  2025-01-10  3:55   ` Kalesh Anakkur Purayil
  1 sibling, 0 replies; 14+ messages in thread
From: Jacob Keller @ 2025-01-10  1:15 UTC (permalink / raw)
  To: Tariq Toukan, Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe
  Cc: netdev, linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Jianbo Liu



On 1/9/2025 12:42 PM, Tariq Toukan wrote:
> From: Jianbo Liu <jianbol@nvidia.com>
> 
> Add FEC admin and override related fields in PPLM, and the bit in PCAM
> to indicate those fields are supported.
> 
> Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
> ---
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>

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

* Re: [PATCH mlx5-next 2/4] net/mlx5: Add support for MRTCQ register
  2025-01-09 20:42 ` [PATCH mlx5-next 2/4] net/mlx5: Add support for MRTCQ register Tariq Toukan
@ 2025-01-10  1:17   ` Jacob Keller
  2025-01-10  3:55   ` Kalesh Anakkur Purayil
  1 sibling, 0 replies; 14+ messages in thread
From: Jacob Keller @ 2025-01-10  1:17 UTC (permalink / raw)
  To: Tariq Toukan, Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe
  Cc: netdev, linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Jianbo Liu, Dragos Tatulea



On 1/9/2025 12:42 PM, Tariq Toukan wrote:
> From: Jianbo Liu <jianbol@nvidia.com>
> 
> Management Real Time Clock Query (MRTCQ) register is used to query
> hardware clock identity.
> 
> Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
> ---

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>

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

* Re: [PATCH mlx5-next 3/4] net/mlx5: SHAMPO: Introduce new SHAMPO specific HCA caps
  2025-01-09 20:42 ` [PATCH mlx5-next 3/4] net/mlx5: SHAMPO: Introduce new SHAMPO specific HCA caps Tariq Toukan
@ 2025-01-10  1:17   ` Jacob Keller
  2025-01-10  3:56   ` Kalesh Anakkur Purayil
  1 sibling, 0 replies; 14+ messages in thread
From: Jacob Keller @ 2025-01-10  1:17 UTC (permalink / raw)
  To: Tariq Toukan, Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe
  Cc: netdev, linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Dragos Tatulea



On 1/9/2025 12:42 PM, Tariq Toukan wrote:
> From: Saeed Mahameed <saeedm@nvidia.com>
> 
> Read and cache SHAMPO specific caps for header data split capabilities.
> Will be used in downstream patch.
> 
> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
> ---
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>

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

* Re: [PATCH mlx5-next 4/4] net/mlx5: Add nic_cap_reg and vhca_icm_ctrl registers
  2025-01-09 20:42 ` [PATCH mlx5-next 4/4] net/mlx5: Add nic_cap_reg and vhca_icm_ctrl registers Tariq Toukan
@ 2025-01-10  1:18   ` Jacob Keller
  2025-01-10  3:57   ` Kalesh Anakkur Purayil
  1 sibling, 0 replies; 14+ messages in thread
From: Jacob Keller @ 2025-01-10  1:18 UTC (permalink / raw)
  To: Tariq Toukan, Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe
  Cc: netdev, linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Akiva Goldberger



On 1/9/2025 12:42 PM, Tariq Toukan wrote:
> From: Akiva Goldberger <agoldberger@nvidia.com>
> 
> Add nic_cap_reg and vhca_icm_ctrl registers interfaces for exposing ICM
> consumption.
> 
> Signed-off-by: Akiva Goldberger <agoldberger@nvidia.com>
> Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
> ---

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>

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

* Re: [PATCH mlx5-next 1/4] net/mlx5: Update mlx5_ifc to support FEC for 200G per lane link modes
  2025-01-09 20:42 ` [PATCH mlx5-next 1/4] net/mlx5: Update mlx5_ifc to support FEC for 200G per lane link modes Tariq Toukan
  2025-01-10  1:15   ` Jacob Keller
@ 2025-01-10  3:55   ` Kalesh Anakkur Purayil
  1 sibling, 0 replies; 14+ messages in thread
From: Kalesh Anakkur Purayil @ 2025-01-10  3:55 UTC (permalink / raw)
  To: Tariq Toukan
  Cc: Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe, netdev,
	linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Jianbo Liu

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

On Fri, Jan 10, 2025 at 2:14 AM Tariq Toukan <tariqt@nvidia.com> wrote:
>
> From: Jianbo Liu <jianbol@nvidia.com>
>
> Add FEC admin and override related fields in PPLM, and the bit in PCAM
> to indicate those fields are supported.
>
> Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>

Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>


-- 
Regards,
Kalesh AP

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4239 bytes --]

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

* Re: [PATCH mlx5-next 2/4] net/mlx5: Add support for MRTCQ register
  2025-01-09 20:42 ` [PATCH mlx5-next 2/4] net/mlx5: Add support for MRTCQ register Tariq Toukan
  2025-01-10  1:17   ` Jacob Keller
@ 2025-01-10  3:55   ` Kalesh Anakkur Purayil
  1 sibling, 0 replies; 14+ messages in thread
From: Kalesh Anakkur Purayil @ 2025-01-10  3:55 UTC (permalink / raw)
  To: Tariq Toukan
  Cc: Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe, netdev,
	linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Jianbo Liu, Dragos Tatulea

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

On Fri, Jan 10, 2025 at 2:14 AM Tariq Toukan <tariqt@nvidia.com> wrote:
>
> From: Jianbo Liu <jianbol@nvidia.com>
>
> Management Real Time Clock Query (MRTCQ) register is used to query
> hardware clock identity.
>
> Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>

Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>


-- 
Regards,
Kalesh AP

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4239 bytes --]

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

* Re: [PATCH mlx5-next 3/4] net/mlx5: SHAMPO: Introduce new SHAMPO specific HCA caps
  2025-01-09 20:42 ` [PATCH mlx5-next 3/4] net/mlx5: SHAMPO: Introduce new SHAMPO specific HCA caps Tariq Toukan
  2025-01-10  1:17   ` Jacob Keller
@ 2025-01-10  3:56   ` Kalesh Anakkur Purayil
  1 sibling, 0 replies; 14+ messages in thread
From: Kalesh Anakkur Purayil @ 2025-01-10  3:56 UTC (permalink / raw)
  To: Tariq Toukan
  Cc: Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe, netdev,
	linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Dragos Tatulea

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

On Fri, Jan 10, 2025 at 2:14 AM Tariq Toukan <tariqt@nvidia.com> wrote:
>
> From: Saeed Mahameed <saeedm@nvidia.com>
>
> Read and cache SHAMPO specific caps for header data split capabilities.
> Will be used in downstream patch.
>
> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>

Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>


-- 
Regards,
Kalesh AP

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4239 bytes --]

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

* Re: [PATCH mlx5-next 4/4] net/mlx5: Add nic_cap_reg and vhca_icm_ctrl registers
  2025-01-09 20:42 ` [PATCH mlx5-next 4/4] net/mlx5: Add nic_cap_reg and vhca_icm_ctrl registers Tariq Toukan
  2025-01-10  1:18   ` Jacob Keller
@ 2025-01-10  3:57   ` Kalesh Anakkur Purayil
  1 sibling, 0 replies; 14+ messages in thread
From: Kalesh Anakkur Purayil @ 2025-01-10  3:57 UTC (permalink / raw)
  To: Tariq Toukan
  Cc: Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe, netdev,
	linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh, Akiva Goldberger

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

On Fri, Jan 10, 2025 at 2:14 AM Tariq Toukan <tariqt@nvidia.com> wrote:
>
> From: Akiva Goldberger <agoldberger@nvidia.com>
>
> Add nic_cap_reg and vhca_icm_ctrl registers interfaces for exposing ICM
> consumption.
>
> Signed-off-by: Akiva Goldberger <agoldberger@nvidia.com>
> Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>

Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>


-- 
Regards,
Kalesh AP

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4239 bytes --]

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

* Re: [PATCH mlx5-next 0/4] mlx5-next updates 2025-01-09
  2025-01-09 20:42 [PATCH mlx5-next 0/4] mlx5-next updates 2025-01-09 Tariq Toukan
                   ` (3 preceding siblings ...)
  2025-01-09 20:42 ` [PATCH mlx5-next 4/4] net/mlx5: Add nic_cap_reg and vhca_icm_ctrl registers Tariq Toukan
@ 2025-01-12  8:58 ` Leon Romanovsky
  4 siblings, 0 replies; 14+ messages in thread
From: Leon Romanovsky @ 2025-01-12  8:58 UTC (permalink / raw)
  To: Saeed Mahameed, Leon Romanovsky, Jason Gunthorpe, Tariq Toukan
  Cc: netdev, linux-rdma, Jakub Kicinski, Gal Pressman, Mark Bloch,
	Moshe Shemesh


On Thu, 09 Jan 2025 22:42:27 +0200, Tariq Toukan wrote:
> This series contains mlx5 IFC updates as preparation for upcoming
> features.
> 
> Regards,
> Tariq
> 
> Akiva Goldberger (1):
>   net/mlx5: Add nic_cap_reg and vhca_icm_ctrl registers
> 
> [...]

Applied, thanks!

[1/4] net/mlx5: Update mlx5_ifc to support FEC for 200G per lane link modes
      https://git.kernel.org/rdma/rdma/c/387bef82d0b4af
[2/4] net/mlx5: Add support for MRTCQ register
      https://git.kernel.org/rdma/rdma/c/e2685ef5f56295
[3/4] net/mlx5: SHAMPO: Introduce new SHAMPO specific HCA caps
      https://git.kernel.org/rdma/rdma/c/df75ad562a6f9a
[4/4] net/mlx5: Add nic_cap_reg and vhca_icm_ctrl registers
      https://git.kernel.org/rdma/rdma/c/6ca00ec47b70ac

Best regards,
-- 
Leon Romanovsky <leon@kernel.org>


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

end of thread, other threads:[~2025-01-12  8:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-09 20:42 [PATCH mlx5-next 0/4] mlx5-next updates 2025-01-09 Tariq Toukan
2025-01-09 20:42 ` [PATCH mlx5-next 1/4] net/mlx5: Update mlx5_ifc to support FEC for 200G per lane link modes Tariq Toukan
2025-01-10  1:15   ` Jacob Keller
2025-01-10  3:55   ` Kalesh Anakkur Purayil
2025-01-09 20:42 ` [PATCH mlx5-next 2/4] net/mlx5: Add support for MRTCQ register Tariq Toukan
2025-01-10  1:17   ` Jacob Keller
2025-01-10  3:55   ` Kalesh Anakkur Purayil
2025-01-09 20:42 ` [PATCH mlx5-next 3/4] net/mlx5: SHAMPO: Introduce new SHAMPO specific HCA caps Tariq Toukan
2025-01-10  1:17   ` Jacob Keller
2025-01-10  3:56   ` Kalesh Anakkur Purayil
2025-01-09 20:42 ` [PATCH mlx5-next 4/4] net/mlx5: Add nic_cap_reg and vhca_icm_ctrl registers Tariq Toukan
2025-01-10  1:18   ` Jacob Keller
2025-01-10  3:57   ` Kalesh Anakkur Purayil
2025-01-12  8:58 ` [PATCH mlx5-next 0/4] mlx5-next updates 2025-01-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).