]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: py: add tc utility
authorWillem de Bruijn <willemb@google.com>
Mon, 4 May 2026 17:38:33 +0000 (13:38 -0400)
committerJakub Kicinski <kuba@kernel.org>
Wed, 6 May 2026 01:15:29 +0000 (18:15 -0700)
commit49bf9e5e7c7c47e21d8a082bbb311fb17b414d54
treeeb71250d79e2a486e3b6bd988f659448e3f75333
parentd9c1e7dc4adab28e07774ed23b137319b1c75241
selftests: net: py: add tc utility

Add a wrapper similar to existing ip, ethtool, ... commands.

Tc takes a slightly different syntax. Account for that.

The first user is the next patch in this series, converting so_txtime
to drv-net. Pacing offload is supported by selected qdiscs only.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20260504174056.565319-3-willemdebruijn.kernel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/lib/py/__init__.py
tools/testing/selftests/net/lib/py/__init__.py
tools/testing/selftests/net/lib/py/utils.py