diff options
author | Danielle Ratson <danieller@nvidia.com> | 2024-04-12 19:03:10 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-04-16 12:14:41 +0200 |
commit | 8d612ed4b55435812fe1cfb73be1dff4a4b9ce07 (patch) | |
tree | 9535111f77a25a34d1010b30f0a43f550302c0e6 /net/unix/af_unix.c | |
parent | bfc42940682b809e1f51491d8d9f82b7638fcbde (diff) | |
download | linux-stable-8d612ed4b55435812fe1cfb73be1dff4a4b9ce07.tar.gz linux-stable-8d612ed4b55435812fe1cfb73be1dff4a4b9ce07.tar.bz2 linux-stable-8d612ed4b55435812fe1cfb73be1dff4a4b9ce07.zip |
selftests: mlxsw: ethtool_lanes: Wait for lanes parameter dump explicitly
The ethtool dump includes the lanes parameter only when the port is up.
Therefore, the ethtool_lanes.sh test waits for ports to come before testing
the lanes parameter.
In some cases, the test considers the port as up, but the lanes parameter
is not yet dumped although assumed to be, resulting in ethtool_lanes.sh
test failure.
To avoid that, ensure that the lanes parameter is indeed dumped by waiting
for it explicitly, before preforming the test cases.
Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions