-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdpdk-conf-sender.lua
More file actions
29 lines (26 loc) · 1.29 KB
/
dpdk-conf-sender.lua
File metadata and controls
29 lines (26 loc) · 1.29 KB
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
-- Configuration for all DPDK command line parameters.
-- See DPDK documentation at http://dpdk.org/doc/guides/testpmd_app_ug/run_app.html for details.
-- libmoon tries to choose reasonable defaults, so this config file can almost always be empty.
-- Be careful when running libmoon in a VM that also uses another virtio NIC, e.g., for internet access.
-- In this case it may be necessary to use the blacklist or whitelist features in some configurations.
DPDKConfig {
-- configure the CPU cores to use, default: all cores
cores = {0, 10, 11, 12, 13, 14, 15},
--cores = {1, 16, 17, 18, 19, 20, 21},
-- max number of shared tasks running on core 0
sharedCores = 8,
-- black or whitelist devices to limit which PCI devs are used by DPDK
-- only one of the following examples can be used
--pciBlacklist = {"0000:81:00.3","0000:81:00.1"},
pciWhitelist = {"0000:06:00.0"},
--pciWhitelist = {"0000:06:00.1"},
--pciWhitelist = {"0000:81:00.3","0000:81:00.1"},
-- arbitrary DPDK command line options
-- the following configuration allows multiple DPDK instances (use together with pciWhitelist)
-- cf. http://dpdk.org/doc/guides/prog_guide/multi_proc_support.html#running-multiple-independent-dpdk-applications
cli = {
"--file-prefix", "m1",
--"--file-prefix", "m2",
"--socket-mem", "512,512",
}
}