diff options
author | Ido Schimmel <idosch@nvidia.com> | 2023-08-17 15:58:25 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-18 19:41:06 -0700 |
commit | f520489e99a35b0a5257667274fbe9afd2d8c50b (patch) | |
tree | c86b5a443e37fb390732c19d521223c507df0493 /scripts/gdb | |
parent | 348c976be0a599918b88729def198a843701c9fe (diff) |
selftests: mlxsw: Fix test failure on Spectrum-4
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>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions