Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
fork
Configure Feed
Select the types of activity you want to include in your feed.
1"""
2# SPDX-License-Identifier: GPL-2.0
3tdc_config.py - tdc user-specified values
4
5Copyright (C) 2017 Lucas Bates <lucasb@mojatatu.com>
6"""
7
8# Dictionary containing all values that can be substituted in executable
9# commands.
10NAMES = {
11 # Substitute your own tc path here
12 'TC': '/sbin/tc',
13 # Substitute your own ip path here
14 'IP': '/sbin/ip',
15 # Name of veth devices to be created for the namespace
16 'DEV0': 'v0p0',
17 'DEV1': 'v0p1',
18 'DEV2': '',
19 'DUMMY': 'dummy1',
20 'ETHTOOL': '/usr/sbin/ethtool',
21 'ETH': 'eth0',
22 'BATCH_FILE': './batch.txt',
23 'BATCH_DIR': 'tmp',
24 # Length of time in seconds to wait before terminating a command
25 'TIMEOUT': 24,
26 # Name of the namespace to use
27 'NS': 'tcut',
28 # Directory containing eBPF test programs
29 'EBPFDIR': './'
30 }
31
32
33ENVIR = { }
34
35# put customizations in tdc_config_local.py
36try:
37 from tdc_config_local import *
38except ImportError as ie:
39 pass
40
41try:
42 NAMES.update(EXTRA_NAMES)
43except NameError as ne:
44 pass