aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorCarolina Jubran <[email protected]>2024-04-09 22:08:18 +0300
committerJakub Kicinski <[email protected]>2024-04-10 19:48:14 -0700
commit49e6c9387051716169ff6a6c5ddd4d9f358db2e9 (patch)
tree154b8defc17641d834f1126fca55fa487ced519c /scripts/generate_rust_analyzer.py
parent86b0ca5b118d3a0bae5e5645a13e66f8a4f6c525 (diff)
net/mlx5e: RSS, Block XOR hash with over 128 channels
When supporting more than 128 channels, the RQT size is calculated by multiplying the number of channels by 2 and rounding up to the nearest power of 2. The index of the RQT is derived from the RSS hash calculations. If XOR8 is used as the RSS hash function, there are only 256 possible hash results, and therefore, only 256 indexes can be reached in the RQT. Block setting the RSS hash function to XOR when the number of channels exceeds 128. Fixes: 74a8dadac17e ("net/mlx5e: Preparations for supporting larger number of channels") Signed-off-by: Carolina Jubran <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions