]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: IPoIB, set self loopback prevention in TIR init
authorTariq Toukan <tariqt@nvidia.com>
Thu, 30 Oct 2025 13:32:36 +0000 (15:32 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Nov 2025 01:04:36 +0000 (17:04 -0800)
commita4c81e72f132b93a3b920196621a7b78c71fb7fc
tree76555dbc4a4134ce7c94bd5d0e95eb5cea78efbe
parent99b002018f6a3dc08c789e2962070d6de7cb3bac
net/mlx5: IPoIB, set self loopback prevention in TIR init

In IPoIB, the self loopback prevention configuration apply in activation
stage has two roles: fulfill a firmware requirement for old firmware
(tis_tir_td_order=0), and update the proper configuration as it was not
set in init.

Here we set the proper configuration in init, to allow skipping the
modify_tirs commands on new firmware in a downstream patch.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/1761831159-1013140-5-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c