Skip to content

Commit 1ddf163

Browse files
Tariq Toukanrleon
authored andcommitted
net/mlx5: Add IFC bit for TIR/SQ order capability
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> Link: https://patch.msgid.link/1758521191-814350-2-git-send-email-tariqt@nvidia.com Reviewed-by: Carolina Jubran <cjubran@nvidia.com> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
1 parent a3d076b commit 1ddf163

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/linux/mlx5/mlx5_ifc.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {
18951895

18961896
u8 reserved_at_2a0[0x7];
18971897
u8 mkey_pcie_tph[0x1];
1898-
u8 reserved_at_2a8[0x2];
1898+
u8 reserved_at_2a8[0x1];
1899+
u8 tis_tir_td_order[0x1];
18991900

19001901
u8 psp[0x1];
19011902
u8 shampo[0x1];

0 commit comments

Comments
 (0)