]> 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)
commitd39579f30c797535442e9e7e3b1492322028408f
tree16c747294d1c34d561dc1bcd87626bbb996f4ebb
parent37d51ef5e25d1346a5cce773bc399df291563f5d
parent41559c631da806d8f83976dc69e8ec10a5efecd4
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>