Thread (16 messages) 16 messages, 3 authors, 2025-11-05

Re: [PATCH net-next V2 1/7] net/mlx5e: Enhance function structures for self loopback prevention application

From: Simon Horman <horms@kernel.org>
Date: 2025-11-03 13:57:11
Also in: linux-rdma, lkml

On Thu, Oct 30, 2025 at 03:32:33PM +0200, Tariq Toukan wrote:
The re-application of self loopback prevention attributes in TIRs is
necessary in old firmwares (where tis_tir_td_order cap is cleared) after
recreation of SQs.

However, this is not needed in new firmware with tis_tir_td_order=1.

As a preparation patch, enhance the function structures to differentiate
between an explicit loopback prevention configuration apply, and the
re-apply operation required by old firmware.

Loopback selftests should now call mlx5e_modify_tirs_lb() directly, as
their use case is not related to the firmware limitation.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Carolina Jubran <redacted>
Reviewed-by: Simon Horman <horms@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help