From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 22 Oct 2024 10:36:11 +0000 Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM --- kernel/tools/testing/selftests/tc-testing/tdc_config.py | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/kernel/tools/testing/selftests/tc-testing/tdc_config.py b/kernel/tools/testing/selftests/tc-testing/tdc_config.py index d651bc1..cd4a27e 100644 --- a/kernel/tools/testing/selftests/tc-testing/tdc_config.py +++ b/kernel/tools/testing/selftests/tc-testing/tdc_config.py @@ -10,15 +10,21 @@ NAMES = { # Substitute your own tc path here 'TC': '/sbin/tc', + # Substitute your own ip path here + 'IP': '/sbin/ip', # Name of veth devices to be created for the namespace 'DEV0': 'v0p0', 'DEV1': 'v0p1', 'DEV2': '', + 'DUMMY': 'dummy1', 'BATCH_FILE': './batch.txt', + 'BATCH_DIR': 'tmp', + # Length of time in seconds to wait before terminating a command + 'TIMEOUT': 12, # Name of the namespace to use 'NS': 'tcut', # Directory containing eBPF test programs - 'EBPFDIR': './bpf' + 'EBPFDIR': './' } -- Gitblit v1.6.2