aboutsummaryrefslogtreecommitdiffstats
path: root/configs/startup.conf
blob: b9260b4e1cfbd08319ff10b9bd90c0cf4dc126d5 (plain)
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
unix {
  interactive
  log /var/log/vpp/vpp.log
  full-coredump
  cli-listen /run/vpp/cli-vpp1.sock
  exec /path/to/configs/vppenvset
}

api-trace {
  on
}

session { 
	evt_qs_memfd_seg  
}

socksvr {
  	socket-name /path/to/vpp-api.sock
}

cpu {
	main-core 0
        ##Start 4 VPP workers
	#corelist-workers 1-4
        ##start 1 VPP worker  
        corelist-workers 1
}

tcp {cc-algo cubic}

dpdk {
	dev <pci-address> {
		name eth0
	        
                ##the value of num-rx-queues should be the same as the number
		##of VPP worker
		##If 1
		num-rx-queues 1
		##If 4
		#num-rx-queues 4
                num-rx-desc 512
                num-tx-desc 512

	}
}