* [PATCH mlx5-next 0/2] mlx5-next updates 2025-09-22
@ 2025-09-22 6:06 Tariq Toukan
2025-09-22 6:06 ` [PATCH mlx5-next 1/2] net/mlx5: Add IFC bit for TIR/SQ order capability Tariq Toukan
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Tariq Toukan @ 2025-09-22 6:06 UTC (permalink / raw)
To: Saeed Mahameed, Leon Romanovsky
Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn,
David S. Miller, Tariq Toukan, Mark Bloch, netdev, linux-rdma,
linux-kernel, Gal Pressman
Hi,
This series contains mlx5 shared updates as preparation for upcoming
features.
Regards,
Tariq
Mark Bloch (1):
net/mlx5: IFC add balance ID and LAG per MP group bits
Tariq Toukan (1):
net/mlx5: Add IFC bit for TIR/SQ order capability
include/linux/mlx5/mlx5_ifc.h | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
base-commit: a3d076b0567e729d5f21a95525c4d096b1f59e79
--
2.31.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH mlx5-next 1/2] net/mlx5: Add IFC bit for TIR/SQ order capability
2025-09-22 6:06 [PATCH mlx5-next 0/2] mlx5-next updates 2025-09-22 Tariq Toukan
@ 2025-09-22 6:06 ` Tariq Toukan
2025-09-22 6:06 ` [PATCH mlx5-next 2/2] net/mlx5: IFC add balance ID and LAG per MP group bits Tariq Toukan
2025-09-28 7:41 ` [PATCH mlx5-next 0/2] mlx5-next updates 2025-09-22 Leon Romanovsky
2 siblings, 0 replies; 4+ messages in thread
From: Tariq Toukan @ 2025-09-22 6:06 UTC (permalink / raw)
To: Saeed Mahameed, Leon Romanovsky
Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn,
David S. Miller, Tariq Toukan, Mark Bloch, netdev, linux-rdma,
linux-kernel, Gal Pressman
Before this cap, firmware requested a certain creation order between TIR
objects and SQs of the same transport domain to properly support the
self loopback prevention feature. If order is not preserved, explicit
modify_tir operations are necessary after the opening of the SQs.
When set, this cap bit indicates that this firmware requirement /
limitation no longer holds.
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@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 0cf187e13def..c0f5fee7a4a5 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -1895,7 +1895,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {
u8 reserved_at_2a0[0x7];
u8 mkey_pcie_tph[0x1];
- u8 reserved_at_2a8[0x2];
+ u8 reserved_at_2a8[0x1];
+ u8 tis_tir_td_order[0x1];
u8 psp[0x1];
u8 shampo[0x1];
--
2.31.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH mlx5-next 2/2] net/mlx5: IFC add balance ID and LAG per MP group bits
2025-09-22 6:06 [PATCH mlx5-next 0/2] mlx5-next updates 2025-09-22 Tariq Toukan
2025-09-22 6:06 ` [PATCH mlx5-next 1/2] net/mlx5: Add IFC bit for TIR/SQ order capability Tariq Toukan
@ 2025-09-22 6:06 ` Tariq Toukan
2025-09-28 7:41 ` [PATCH mlx5-next 0/2] mlx5-next updates 2025-09-22 Leon Romanovsky
2 siblings, 0 replies; 4+ messages in thread
From: Tariq Toukan @ 2025-09-22 6:06 UTC (permalink / raw)
To: Saeed Mahameed, Leon Romanovsky
Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn,
David S. Miller, Tariq Toukan, Mark Bloch, netdev, linux-rdma,
linux-kernel, Gal Pressman
From: Mark Bloch <mbloch@nvidia.com>
Add interface definitions for load balance ID and LAG per multiplane group
functionality. This patch introduces the hardware capability bits needed
to support balance ID in multiplane LAG configurations.
The new fields include:
- load_balance_id: 4-bit field for balance identifier.
- lag_per_mp_group: capability bit for LAG per multiplane group support.
These interface additions are prerequisites for implementing balance ID
support in the MLX5 driver.
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Shay Drori <shayd@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
---
include/linux/mlx5/mlx5_ifc.h | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index c0f5fee7a4a5..07614cd95bed 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -2235,12 +2235,16 @@ struct mlx5_ifc_cmd_hca_cap_2_bits {
u8 reserved_at_440[0x8];
u8 max_num_eqs_24b[0x18];
- u8 reserved_at_460[0x160];
+ u8 reserved_at_460[0x144];
+ u8 load_balance_id[0x4];
+ u8 reserved_at_5a8[0x18];
u8 query_adjacent_functions_id[0x1];
u8 ingress_egress_esw_vport_connect[0x1];
u8 function_id_type_vhca_id[0x1];
- u8 reserved_at_5c3[0xd];
+ u8 reserved_at_5c3[0x1];
+ u8 lag_per_mp_group[0x1];
+ u8 reserved_at_5c5[0xb];
u8 delegate_vhca_management_profiles[0x10];
u8 delegated_vhca_max[0x10];
--
2.31.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH mlx5-next 0/2] mlx5-next updates 2025-09-22
2025-09-22 6:06 [PATCH mlx5-next 0/2] mlx5-next updates 2025-09-22 Tariq Toukan
2025-09-22 6:06 ` [PATCH mlx5-next 1/2] net/mlx5: Add IFC bit for TIR/SQ order capability Tariq Toukan
2025-09-22 6:06 ` [PATCH mlx5-next 2/2] net/mlx5: IFC add balance ID and LAG per MP group bits Tariq Toukan
@ 2025-09-28 7:41 ` Leon Romanovsky
2 siblings, 0 replies; 4+ messages in thread
From: Leon Romanovsky @ 2025-09-28 7:41 UTC (permalink / raw)
To: Tariq Toukan
Cc: Saeed Mahameed, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Andrew Lunn, David S. Miller, Mark Bloch, netdev, linux-rdma,
linux-kernel, Gal Pressman
On Mon, Sep 22, 2025 at 09:06:29AM +0300, Tariq Toukan wrote:
> Hi,
>
> This series contains mlx5 shared updates as preparation for upcoming
> features.
>
> Regards,
> Tariq
>
> Mark Bloch (1):
> net/mlx5: IFC add balance ID and LAG per MP group bits
>
> Tariq Toukan (1):
> net/mlx5: Add IFC bit for TIR/SQ order capability
>
> include/linux/mlx5/mlx5_ifc.h | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
Thanks, applied to mlx5-next.
>
>
> base-commit: a3d076b0567e729d5f21a95525c4d096b1f59e79
> --
> 2.31.1
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-09-28 7:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-22 6:06 [PATCH mlx5-next 0/2] mlx5-next updates 2025-09-22 Tariq Toukan
2025-09-22 6:06 ` [PATCH mlx5-next 1/2] net/mlx5: Add IFC bit for TIR/SQ order capability Tariq Toukan
2025-09-22 6:06 ` [PATCH mlx5-next 2/2] net/mlx5: IFC add balance ID and LAG per MP group bits Tariq Toukan
2025-09-28 7:41 ` [PATCH mlx5-next 0/2] mlx5-next updates 2025-09-22 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).