Page MenuHomeFreeBSD

IB/mlx5: Fix RSS Toeplitz setup to be aligned with the HW specification
ClosedPublic

Authored by khng on Oct 12 2023, 7:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 25 2025, 10:03 PM
Unknown Object (File)
Nov 18 2025, 2:19 PM
Unknown Object (File)
Nov 16 2025, 10:17 AM
Unknown Object (File)
Nov 5 2025, 9:54 PM
Unknown Object (File)
Nov 3 2025, 2:52 PM
Unknown Object (File)
Oct 26 2025, 1:30 PM
Unknown Object (File)
Oct 24 2025, 6:46 AM
Unknown Object (File)
Oct 24 2025, 3:53 AM
Subscribers

Details

Summary

The specification for the Toeplitz function doesn't require to set the key
explicitly to be symmetric. In case a symmetric functionality is required
a symmetric key can be simply used.

Wrongly forcing the algorithm to symmetric causes the wrong packet
distribution and a performance degradation.

Link: https://lore.kernel.org/r/20190723065733.4899-7-leon@kernel.org
Fixes: 28d6137008b2 ("IB/mlx5: Add RSS QP support")
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Alex Vainman <alexv@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>

[khng: cherry-picked from Linux
b7165bd0d6cbb93732559be6ea8774653b204480]

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53951
Build 50841: arc lint + arc unit