-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault-custom.cfg
54 lines (45 loc) · 1.1 KB
/
default-custom.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
description = 'A Pktgen default simple configuration'
# Setup configuration
setup = {
'exec': ( 'sudo', '-E'),
'devices': (
'04:00.0','04:00.1'
),
# UIO module type, igb_uio, vfio-pci or uio_pci_generic
'uio': 'vfio-pci'
}
# Run command and options
run = {
'exec': ('sudo', '-E'),
# Application name and use app_path to help locate the app
'app_name': 'pktgen',
# using (sdk) or (target) for specific variables
# add (app_name) of the application
# Each path is tested for the application
'app_path': (
'./usr/local/bin/%(app_name)s',
'/usr/local/bin/%(app_name)s'
),
'cores': '1-9',
'nrank':'4',
'proc': 'auto',
'log': '7',
'prefix': 'pg',
'blocklist': (
'09:00.0', '09:00.1',
#'81:00.0', '84:00.0'
),
'allowlist': (
),
'opts': (
'-v',
'-T',
'-P',
),
'map': (
'[2-4:5].0',
'[6:7-9].1',
),
'theme': 'themes/black-yellow.theme',
#'shared': '/usr/local/lib/x86_64-linux-gnu/dpdk/pmds-21.1'
}