summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCarolina Jubran <cjubran@nvidia.com>2024-04-09 22:08:18 +0300
committerJakub Kicinski <kuba@kernel.org>2024-04-11 05:48:14 +0300
commit49e6c9387051716169ff6a6c5ddd4d9f358db2e9 (patch)
tree154b8defc17641d834f1126fca55fa487ced519c /tools/perf/scripts/python
parent86b0ca5b118d3a0bae5e5645a13e66f8a4f6c525 (diff)
downloadlinux-49e6c9387051716169ff6a6c5ddd4d9f358db2e9.tar.xz
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 <cjubran@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://lore.kernel.org/r/20240409190820.227554-11-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions