[vpp-dev] About l2_to_bvi inline in src/vnet/l2/l2_bvi.h

2019-03-18 Thread milanvpp
Hello experts, There appears to be a small nit in this function, though it upsets some calculations in my plugin which follows ip_input  in the case of BDs. static_always_inline u32  38 l2_to_bvi (vlib_main_t * vlib_main,  39    vnet_main_t * vnet_main,  40    vlib_buffer_t * b0,

Re: [vpp-dev] vpp build 19.01.1 IPSec crash

2019-03-18 Thread Kingwel Xie
Well, I can not open the xz file. It is always 32B… Anyway, patch 17889 should be always included if you want to use IPSec cryptodev. From: vpp-dev@lists.fd.io On Behalf Of Jan Gelety via Lists.Fd.Io Sent: 2019年3月19日 0:25 To: Dave Barach (dbarach) ; Kingwel Xie ; yuwei1.zh...@intel.com Cc: vp

Re: [vpp-dev] vpp build 19.01.1 IPSec crash

2019-03-18 Thread Jan Gelety via Lists.Fd.Io
+ Simon Zhang and Kingwel Xie Hello Dave, I appologize that I haven't clearly stated that we used 19.01.1-release_amd64 xenial vpp build for testing. Anyway, I created jira ticke VPP-1597 to cover this issue. @Kingwel, Simon - could you check if your commit

Re: [vpp-dev] [dpdk-dev] [RFC] net/vdev_netvsc: check for required related drivers

2019-03-18 Thread Stephen Hemminger
On Sun, 17 Mar 2019 06:53:02 + Matan Azrad wrote: > Hi > > From: Stephen Hemminger > > wrote: > > > > > Hi > > > > > > From: Stephen Hemminger > > > > The vdev_netvsc virtual driver that is used to do initialization on > > > > Hyper- V/Azure won't work without failsafe and tap device. >

Re: [vpp-dev] Crash while configuring ABF

2019-03-18 Thread Andrew Yourtchenko
yes. MacIP ACLs are just for "first hop security". for arbitrary matching, rather than macip acls, might be more interesting to add support for the classifier-based ACLs, which can be checking the odd places in the packet with bitmask... --a On 3/18/19, Neale Ranns via Lists.Fd.Io wrote: > > Hi

Re: [vpp-dev] Enabling events

2019-03-18 Thread Raj
On Mon, Mar 18, 2019 at 7:25 PM Neale Ranns (nranns) wrote: > If you're looking for VPP to send your agent/app a notification across the > binary API when an ARP and/or ND entry > is created then your app needs to call; want_ip4_arp_events and/or > want_ip6_nd_events respectively. Thanks! raj

Re: [vpp-dev] Crash while configuring ABF

2019-03-18 Thread Raj
Will do that and report back. Thanks and Regards, Raj On Mon, Mar 18, 2019 at 7:45 PM Neale Ranns (nranns) wrote: > > > Hi Raj, > > > > ABF, which is a feature that runs in the L3 path, has not (to my knowledge > anyway) been tested with MACIP ACLs – this ACL type is usually applied to > L2 t

Re: [vpp-dev] Crash while configuring ABF

2019-03-18 Thread Neale Ranns via Lists.Fd.Io
Hi Raj, ABF, which is a feature that runs in the L3 path, has not (to my knowledge anyway) been tested with MACIP ACLs – this ACL type is usually applied to L2 traffic. Try an L3 ACL instead (i.e. use acl_add_replace to create the ACL, not macip_acl_rule). Regards, neale De : au nom de Raj

Re: [vpp-dev] Status of PPPoE Plugin

2019-03-18 Thread Raj
On Thu, Dec 20, 2018 at 6:17 AM Ni, Hongjun wrote: > For the issue you mentioned, Alp Arslan in the To list will submit a patch to > fix it. I can take a stab at this and prepare a patch to get PPPoE working again in VPP. I understand that this error happens because VPP will only allow packets

Re: [vpp-dev] Crash while configuring ABF

2019-03-18 Thread Raj
Hi, Tested again in 18.10, same result. Configuration: sh version vpp v18.10-22~g13f5dcf91 built by raj on vpp-dev-01 at Mon Mar 18 18:38:14 IST 2019 DBGvpp# DBGvpp# DBGvpp# set int state GigabitEthernet86/0/3 up DBGvpp# set int ip address GigabitEthernet86/0/3 xxx.xx.223.14/29 DBGvpp# set in

Re: [vpp-dev] Support for non TCP traffic

2019-03-18 Thread John Lo (loj) via Lists.Fd.Io
As stated by Dave, if you are doing L2 forwarding by putting the VM interfaces into a bridge domain, it will forward packets based on destination MAC address and would not be affected by ethertype nor L3/L4 headers. -John From: vpp-dev@lists.fd.io On Behalf Of Dave Barach via Lists.Fd.Io Sen

Re: [vpp-dev] Enabling events

2019-03-18 Thread Neale Ranns via Lists.Fd.Io
Hi Raj, If you're looking for VPP to send your agent/app a notification across the binary API when an ARP and/or ND entry is created then your app needs to call; want_ip4_arp_events and/or want_ip6_nd_events respectively. /neale -Message d'origine- De : au nom de Raj Date : vendred

Re: [vpp-dev] vpp build 19.01.1 IPSec crash

2019-03-18 Thread Dave Barach via Lists.Fd.Io
Do these tarballs include the .deb packages which correspond to the coredumps? Thanks... Dave From: vpp-dev@lists.fd.io On Behalf Of Jan Gelety via Lists.Fd.Io Sent: Monday, March 18, 2019 9:45 AM To: vpp-dev@lists.fd.io Cc: vpp-dev@lists.fd.io Subject: [vpp-dev] vpp build 19.01.1 IPSec crash

[vpp-dev] vpp build 19.01.1 IPSec crash

2019-03-18 Thread Jan Gelety via Lists.Fd.Io
Hello, During csit tests with vpp build 19.01.1 we found out that the first and sometimes also second IPSec scale test is failing because of VPP crash - see csit log [0]. Collected core-dump files are availabe here [1] and here [2]. Could you, please, let us know if this issue is already fixed

Re: [vpp-dev] Support for non TCP traffic

2019-03-18 Thread Dave Barach via Lists.Fd.Io
If the idea is simply to flood and/or forward at L2 these ethertypes, there’s a decent chance you won’t have to do anything beyond bridge configuration. If you want to process them (e.g. in a plugin), a call to ethernet_register_input_type(...) will deliver the goods to your code. Copying John

Re: [vpp-dev] 128 byte cache line support

2019-03-18 Thread Damjan Marion via Lists.Fd.Io
> On 15 Mar 2019, at 04:52, Honnappa Nagarahalli > wrote: > > > > Related to change 18278[1], I was wondering if there is really a benefit of > dealing with 128-byte cachelines like we do today. > Compiling VPP with cacheline size set to 128 will basically just add 64 bytes > of unused sp

Re: [vpp-dev] Crash while configuring ABF

2019-03-18 Thread Raj
Thanks Andrew for looking into it. In the crash I sent, I missed adding ACL. But I was working with 18.10 previously and there I am sure I added ACL, but there was still some thing amiss. I am now doing the testing once more in 18.10 and will get back with result. Thanks and Regards, Raj On Mon

Re: [vpp-dev] Crash while configuring ABF

2019-03-18 Thread Andrew Yourtchenko
Raj, yeah so looking further at it - the abf plugin does not handle the error code correctly for the case when the ACL does not exist, and rather than erroring out, just keeps going. Hence the assert later on when it tries to perform the lookup in the context that has not been properly setup.. --

Re: [vpp-dev] Crash while configuring ABF

2019-03-18 Thread Andrew Yourtchenko
Raj, What does the acl#0 look like ? Did you add it? --a > On 18 Mar 2019, at 08:09, Raj wrote: > > Hello all, > > I am testing ABF functionality and was able to crash VPP. > > I was using v19.04-rc0~458-g53ba544d7. Configured VPP using following > commands: > > set int state GigabitEthern

[vpp-dev] Support for non TCP traffic

2019-03-18 Thread Eyle Brinkhuis
Hi all, I couldn’t find an answer on the wiki for this case: We are looking into building a VM platform (on openstack) with vpp. For one of our use cases we’d need to provide interconnectivity between VM’s for a HA setup (in this case FortiGate VM’s for a HA firewallinsetup). These FWs make us

[vpp-dev] Crash while configuring ABF

2019-03-18 Thread Raj
Hello all, I am testing ABF functionality and was able to crash VPP. I was using v19.04-rc0~458-g53ba544d7. Configured VPP using following commands: set int state GigabitEthernet86/0/3 up set int ip address GigabitEthernet86/0/3 xxx.xx.223.14/29 set int ip address GigabitEthernet86/0/3 2001:470: