]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5e: Allow setting self loopback prevention bits on TIR init
authorTariq Toukan <tariqt@nvidia.com>
Thu, 30 Oct 2025 13:32:35 +0000 (15:32 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Nov 2025 01:04:36 +0000 (17:04 -0800)
commit99b002018f6a3dc08c789e2962070d6de7cb3bac
tree97d87f99b392936f50d66f619441407639e6c585
parent5c51a86122b20326229c6c9dff4a92c186cbb6bf
net/mlx5e: Allow setting self loopback prevention bits on TIR init

Until now, IPoIB was creating TIRs without setting self loopback
prevention, then modifying them in activation stage.

This is a preparation patch, that will be used by IPoIB to init TIRs
properly without the need for following calls of modify_tir.

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-4-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en/rss.c
drivers/net/ethernet/mellanox/mlx5/core/en/rss.h
drivers/net/ethernet/mellanox/mlx5/core/en/rx_res.c
drivers/net/ethernet/mellanox/mlx5/core/en/rx_res.h