KNI support was broken for a long time and now it is completely removed.

Can you use af_packet instead (CLI: "create host-interface name eth0") ?

> On 15 Dec 2016, at 11:18, yug...@telincn.com wrote:
> 
> [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?
> yug...@telincn.com <mailto:yug...@telincn.com>
>  
> From: yug...@telincn.com <mailto:yug...@telincn.com>
> Date: 2016-12-15 18:06
> To: 余刚 <mailto:yug...@telincn.com>; John Lo (loj) <mailto:l...@cisco.com>; 
> vpp-dev <mailto:vpp-dev@lists.fd.io>
> 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 }
> yug...@telincn.com <mailto:yug...@telincn.com>
>  
> From: John Lo (loj) <mailto:l...@cisco.com>
> Date: 2016-12-15 11:57
> To: yug...@telincn.com <mailto:yug...@telincn.com>; vpp-dev 
> <mailto:vpp-dev@lists.fd.io>
> Subject: RE: [vpp-dev] startup.conf
> https://wiki.fd.io/view/VPP/Command-line_Arguments#.22dpdk.22_parameters 
> <https://wiki.fd.io/view/VPP/Command-line_Arguments#.22dpdk.22_parameters>
>  
> From: vpp-dev-boun...@lists.fd.io <mailto:vpp-dev-boun...@lists.fd.io> 
> [mailto:vpp-dev-boun...@lists.fd.io <mailto:vpp-dev-boun...@lists.fd.io>] On 
> Behalf Of yug...@telincn.com <mailto:yug...@telincn.com>
> Sent: Wednesday, December 14, 2016 10:53 PM
> To: vpp-dev <vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>>
> 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 
>  
> yug...@telincn.com 
> <mailto:yug...@telincn.com>_______________________________________________
> vpp-dev mailing list
> vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>
> https://lists.fd.io/mailman/listinfo/vpp-dev 
> <https://lists.fd.io/mailman/listinfo/vpp-dev>
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to