Re: [vpp-dev] the way of using sub-interface

2019-01-13 Thread Kingwel Xie
Just like the regular interface you are using:

create sub-interfaces eth0 181
set interface state eth0.181 up
set interface ip address eth0.181 18.1.0.141/24
ip route add 0.0.0.0/0 via 18.1.0.1 eth0.181

Note there is some performance penalty using vlan sub-intf. As I can see on my 
setup, > 10% on ip4 forwarding case. Therefore, we should avoid vlan sub-intf 
if possible. This might be improved by Damjan's patch 
https://gerrit.fd.io/r/#/c/16173/. I haven't tested it, but I know he is 
keeping improving it.

Regards,
Kingwel

From: vpp-dev@lists.fd.io  On Behalf Of 
wangchuan...@163.com
Sent: Monday, January 14, 2019 11:28 AM
To: vpp-dev 
Subject: [vpp-dev] the way of using sub-interface

Hi all,
How can I use the sub-interface after creating ?
#create sub-interfaces GigabitEthernet2/0/0 11
Does it means the VLAN ID ?


I want to let GigabitEthernet2/0/0 && GigabitEthernet2/0/0 to be same VLAN 
(ID:11).
How should I do?
Thanks.


wangchuan...@163.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11909): https://lists.fd.io/g/vpp-dev/message/11909
Mute This Topic: https://lists.fd.io/mt/29076170/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [SUSPECTED SPAM] [vpp-dev] IPFIX Nat Logging

2019-01-13 Thread Ole Troan
Not at my computer right now, but since flow packets are locally generated 
there might not be trace information for them. 
Looks like 13 ipfix packets were sent though. 
You didn’t see those on the wire?

Cheers 
Ole

> On 14 Jan 2019, at 08:14, emma sdi  wrote:
> 
> Dear Ole,
> 
> I checked ipfix by flowprobe and I have the same problem again. I don't see 
> any ipfix packets log in "vppctl sh trace".  
> 
>  vppctl sh error
>CountNode  Reason
>  14802null-node   blackholed packets
> 13  flowprobe-l2  Exported packets
>  5  acl-plugin-out-ip4-fa new sessions added
>462  acl-plugin-out-ip4-fa existing session packets
>467  acl-plugin-out-ip4-fa checked packets
>  6  acl-plugin-in-ip4-fa  new sessions added
>463  acl-plugin-in-ip4-fa  existing session packets
>469  acl-plugin-in-ip4-fa  checked packets
> 14arp-input   ARP replies sent
>  2arp-input   ARP request IP4 source 
> address learned
>  4ip4-input   ip4 source lookup miss
>  75866ip4-input   Multicast RPF check failed
>  2ip4-glean   ARP requests sent
> 84 ethernet-input no error
> 
> Best Regards,
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#11906): https://lists.fd.io/g/vpp-dev/message/11906
> Mute This Topic: https://lists.fd.io/mt/28911869/675193
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [otr...@employees.org]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11908): https://lists.fd.io/g/vpp-dev/message/11908
Mute This Topic: https://lists.fd.io/mt/28911869/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] openssl 3.0.0

2019-01-13 Thread Yu, Ping
Hello, all

I will use a new API added in openssl 3.0.0 master for a better async 
communication, but I found that some API in openssl 3.0.0 has deprecated, such 
as EC_POINT_get_affine_coordinates_GFp/EC_POINT_set_affine_coordinates_GFp.

I added a patch to fix this problem to make VPP compatible with latest openssl 
3.0.0 master branch.
https://gerrit.fd.io/r/#/c/16798/

Ping
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11907): https://lists.fd.io/g/vpp-dev/message/11907
Mute This Topic: https://lists.fd.io/mt/29077225/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [SUSPECTED SPAM] [vpp-dev] IPFIX Nat Logging

2019-01-13 Thread emma sdi
Dear Ole,

I checked ipfix by flowprobe and I have the same problem again. I don't see any 
ipfix packets log in "vppctl sh trace". 

 vppctl sh error
   Count    Node  Reason
 14802    null-node   blackholed packets
    13  flowprobe-l2  Exported packets
 5  acl-plugin-out-ip4-fa new sessions added
   462  acl-plugin-out-ip4-fa existing session packets
   467  acl-plugin-out-ip4-fa checked packets
 6  acl-plugin-in-ip4-fa  new sessions added
   463  acl-plugin-in-ip4-fa  existing session packets
   469  acl-plugin-in-ip4-fa  checked packets
    14    arp-input   ARP replies sent
 2    arp-input   ARP request IP4 source 
address learned
 4    ip4-input   ip4 source lookup miss
 75866    ip4-input   Multicast RPF check failed
 2    ip4-glean   ARP requests sent
    84 ethernet-input no error

Best Regards,
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11906): https://lists.fd.io/g/vpp-dev/message/11906
Mute This Topic: https://lists.fd.io/mt/28911869/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] the way of using sub-interface

2019-01-13 Thread wangchuan...@163.com
Hi all,
How can I use the sub-interface after creating ?
#create sub-interfaces GigabitEthernet2/0/0 11
Does it means the VLAN ID ?

I want to let GigabitEthernet2/0/0 && GigabitEthernet2/0/0 to be same VLAN 
(ID:11).
How should I do?
Thanks.



wangchuan...@163.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11905): https://lists.fd.io/g/vpp-dev/message/11905
Mute This Topic: https://lists.fd.io/mt/29076170/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] VIRL jobs in CI gate

2019-01-13 Thread Paul Vinciguerra
What do people think about changing the CI gate verify job to only run VIRL 
jobs for change-sets that touch the src/ folder? 
It seems like the current process uses more resources than needed.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11904): https://lists.fd.io/g/vpp-dev/message/11904
Mute This Topic: https://lists.fd.io/mt/29071963/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-