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, [email protected] 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?
> [email protected] <mailto:[email protected]>
>  
> From: [email protected] <mailto:[email protected]>
> Date: 2016-12-15 18:06
> To: 余刚 <mailto:[email protected]>; John Lo (loj) <mailto:[email protected]>; 
> vpp-dev <mailto:[email protected]>
> 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] <mailto:[email protected]>
>  
> From: John Lo (loj) <mailto:[email protected]>
> Date: 2016-12-15 11:57
> To: [email protected] <mailto:[email protected]>; vpp-dev 
> <mailto:[email protected]>
> 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: [email protected] <mailto:[email protected]> 
> [mailto:[email protected] <mailto:[email protected]>] On 
> Behalf Of [email protected] <mailto:[email protected]>
> Sent: Wednesday, December 14, 2016 10:53 PM
> To: vpp-dev <[email protected] <mailto:[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] 
> <mailto:[email protected]>_______________________________________________
> vpp-dev mailing list
> [email protected] <mailto:[email protected]>
> https://lists.fd.io/mailman/listinfo/vpp-dev 
> <https://lists.fd.io/mailman/listinfo/vpp-dev>
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to