aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-10-08 18:50:41 +0000
committerDavid S. Miller <davem@davemloft.net>2018-10-10 22:22:07 -0700
commit372809055f6c830ff978564e09f58bcb9e9b937c (patch)
treeb23de49df62214bfe2a279f771705f53a5234f14 /tools/testing/selftests/drivers/net
parentmlxsw: pci: Fix a typo (diff)
downloadlinux-dev-372809055f6c830ff978564e09f58bcb9e9b937c.tar.xz
linux-dev-372809055f6c830ff978564e09f58bcb9e9b937c.zip
selftests: forwarding: Have lldpad_app_wait_set() wait for unknown, too
Immediately after mlxsw module is probed and lldpad started, added APP entries are briefly in "unknown" state before becoming "pending". That's the state that lldpad_app_wait_set() typically sees, and since there are no pending entries at that time, it bails out. However the entries have not been pushed to the kernel yet at that point, and thus the test case fails. Fix by waiting for both unknown and pending entries to disappear before proceeding. Fixes: d159261f3662 ("selftests: mlxsw: Add test for trust-DSCP") Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/drivers/net')
0 files changed, 0 insertions, 0 deletions