summaryrefslogtreecommitdiff
path: root/tools/net/ynl/tests
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-07-03 15:44:28 +0100
committerMark Brown <broonie@kernel.org>2026-07-03 15:44:28 +0100
commit5f9618618bce70008bcfb142e5502f111ddeb72c (patch)
tree93fae2a33bc02a4fdb59209ce6af56edeaf3ceb6 /tools/net/ynl/tests
parenta7d435fd4c2f7e42117f5f31c3c40010b12d855a (diff)
parent6fb33632323a396c9dc2bb9bea483e013e547d57 (diff)
downloadlinux-next-5f9618618bce70008bcfb142e5502f111ddeb72c.tar.gz
linux-next-5f9618618bce70008bcfb142e5502f111ddeb72c.zip
Merge branch 'main' of https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
# Conflicts: # MAINTAINERS
Diffstat (limited to 'tools/net/ynl/tests')
-rwxr-xr-xtools/net/ynl/tests/ethtool.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/net/ynl/tests/ethtool.py b/tools/net/ynl/tests/ethtool.py
index db3b62c652e7..0ee0c8e87686 100755
--- a/tools/net/ynl/tests/ethtool.py
+++ b/tools/net/ynl/tests/ethtool.py
@@ -11,12 +11,10 @@ import pathlib
import pprint
import sys
import re
-import os
# pylint: disable=no-name-in-module,wrong-import-position
sys.path.append(pathlib.Path(__file__).resolve().parent.parent.joinpath('pyynl').as_posix())
# pylint: disable=import-error
-from cli import schema_dir, spec_dir
from lib import YnlFamily
@@ -173,10 +171,7 @@ def main():
args = parser.parse_args()
- spec = os.path.join(spec_dir(), 'ethtool.yaml')
- schema = os.path.join(schema_dir(), 'genetlink-legacy.yaml')
-
- ynl = YnlFamily(spec, schema, recv_size=args.dbg_small_recv)
+ ynl = YnlFamily(family='ethtool', recv_size=args.dbg_small_recv)
if args.dbg_small_recv:
ynl.set_recv_dbg(True)