[root@localhost ~]# ps aux|grep vpp
root 5502 98.5 0.2 2303376 22564 ? Rsl 18:12 0:05 /usr/bin/vpp
-c /etc/vpp/startup.conf
root 5594 0.0 0.0 112664 984 pts/0 S+ 18:12 0:00 grep
--color=auto vpp
[root@localhost ~]# vppctl
vpp# show int
Name Idx State Counter
Count
GigabitEthernet2/0/0 1 down
kni0 2 down
local0 0 down
vpp# set int state GigabitEthernet2/0/0 up
vpp# set int state kni0 up
vpp#
Connection closed by foreign host.
Disconnected from remote host(Workstation) at 18:13:38.
Why, is there something missed?
[email protected]
From: [email protected]
Date: 2016-12-15 18:06
To: 余刚; John Lo (loj); vpp-dev
Subject: Re: Re: [vpp-dev] startup.conf
Hi all,
VPP could not get up with the first startup.conf, but it's ok with second
startup.conf.
Why, the difference has been marked in red.
unix {
3 nodaemon
4 log /tmp/vpp.log
5 full-coredump
6 }
7
8 dpdk {
9 uio-driver uio_pci_generic
10 kni 1
11 dev 0000:02:00.0
12 #eth=enp2s0
13 }
14
15 api-trace {
16 on
17 }
18
19 api-segment {
20 gid vpp
21 }
unix {
3 nodaemon
4 log /tmp/vpp.log
5 full-coredump
6 }
7
8 dpdk {
9 uio-driver uio_pci_generic
10 #kni 1
11 dev 0000:02:00.0
12 #eth=enp2s0
13 }
14
15 api-trace {
16 on
17 }
18
19 api-segment {
20 gid vpp
21 }
[email protected]
From: John Lo (loj)
Date: 2016-12-15 11:57
To: [email protected]; vpp-dev
Subject: RE: [vpp-dev] startup.conf
https://wiki.fd.io/view/VPP/Command-line_Arguments#.22dpdk.22_parameters
From: [email protected] [mailto:[email protected]] On
Behalf Of [email protected]
Sent: Wednesday, December 14, 2016 10:53 PM
To: vpp-dev <[email protected]>
Subject: [vpp-dev] startup.conf
Hi, all
Thanks for your time.
Where could i get a document which describes how to write startup.conf. I would
like to configure dpdk parameters, such as kni ports num and so on.
Best wishes,
Ewan
[email protected]
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev