diff options
author | Ido Schimmel <idosch@nvidia.com> | 2023-08-17 15:58:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-30 16:11:01 +0200 |
commit | c663607202f58e0fe17d2db1f9967d641c0195f5 (patch) | |
tree | 26be57afec710d8f82f6330c9e41d1d8871044c0 /tools/rcu | |
parent | 1288f9907514b8e0cc1e17645252429ee0917182 (diff) | |
download | linux-c663607202f58e0fe17d2db1f9967d641c0195f5.tar.gz |
selftests: mlxsw: Fix test failure on Spectrum-4
[ Upstream commit f520489e99a35b0a5257667274fbe9afd2d8c50b ] Remove assumptions about shared buffer cell size and instead query the cell size from devlink. Adjust the test to send small packets that fit inside a single cell. Tested on Spectrum-{1,2,3,4}. Fixes: 4735402173e6 ("mlxsw: spectrum: Extend to support Spectrum-4 ASIC") Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/f7dfbf3c4d1cb23838d9eb99bab09afaa320c4ca.1692268427.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/rcu')
0 files changed, 0 insertions, 0 deletions