]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-selftests'
authorDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2020 01:03:52 +0000 (17:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2020 01:03:52 +0000 (17:03 -0800)
commite9b9caacfdded19baeb8f19d7f97154db578583b
tree16c747294d1c34d561dc1bcd87626bbb996f4ebb
parente57fe6d94faa7c13e70e97f919fbd912f45ba614
parent1efc0a3140829b599923473622178d070b32ee6c
Merge branch 'net-selftests'

Petr Machata says:

====================
selftests: Use busywait() in a couple places

Two helper function for active waiting for an event were recently
introduced: busywait() as the active-waiting tool, and until_counter_is()
as a configurable predicate that can be plugged into busywait(). Use these
in tc_common and mlxsw's qos_defprio instead of hand-coding equivalents.

Patches #1 and #2 extend lib.sh facilities to make the transition possible.
Patch #3 converts tc_common, and patch #4 qos_defprio.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>