Re: [vpp-dev] vppctl doesn't report returned pings from rdma int

2019-05-23 Thread Benoit Ganne (bganne) via Lists.Fd.Io
Hi Thomas, Could you attach a packet trace? ~# vppctl clear trace ~# vppctl trace add rdma-input 10 ~# vppctl ping ~# vppctl show trace Thanks ben > -Original Message- > From: Thomas F Herbert > Sent: mercredi 22 mai 2019 21:29 > To: vpp-dev > Cc: Benoit Ganne (bganne) > Subject: vp

[vpp-dev] Programming(add/del/mod) ACLs from another plugin

2019-05-23 Thread Satya Murthy
Hi , We are planning to use "ACL as a service" framework using the lookup contexts for performing packet classifications from our custom plugin. While this seem to be achievable, we have one issue at our hand. We would like to program the ACLs ( add/delete of ACL rules ) also from our custom p

Re: [vpp-dev] Packet classification based on range of values

2019-05-23 Thread Satya Murthy
Thanks Andrew for the reply. Instead, now, we are looking at "ACL lookup context" framework to add them as acl rules and use for packet classification. Hope this should work for us without any issues. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to th

Re: [vpp-dev] Programming(add/del/mod) ACLs from another plugin

2019-05-23 Thread Neale Ranns via Lists.Fd.Io
HI Murthy, There are two plugins, that I know of, that use the ACL as a service; ACL based forwarding (ABF) and group based policy (GBP). Both of these plugins expect that the user first configures the ACL using the ACL plugin, then passes the index of the ACL during ABF/GBP programming. This

Re: [vpp-dev] Packet classification based on range of values

2019-05-23 Thread Andrew Yourtchenko
Satya, How often do you plan to update/ how many ranges do you plan to have ? And what is the source of information defining the ranges ? Acl plugin does encapsulate some of the complexity, but seeing as you seem to want to use the it as a dynamic traffic-driven datastructure, classifier tables

[vpp-dev] middlebox plugin

2019-05-23 Thread K Edeline
Hello, I have written a basic middlebox plugin some months ago and pushed it to vppsb. As the action on this repo is very low, I would like to make sure that someone saw it. I have found uses for it, so others might as well. If you are too busy, please ignore this message =) https://gerrit.fd.i

[vpp-dev] VPP crashes using bvi interface

2019-05-23 Thread Uzzam Javed
Hi All,I using 1901 build in CentOS 7.6 and am facing a crash after few seconds when adding loopback interface in bvi. My config for VPP is below:sudo vppctl create loopback interfacesudo vppctl create loopback interfacesudo vppctl set interface state loop0 upsudo vppctl set interface state loop1

Re: [vpp-dev] VPP crashes using bvi interface

2019-05-23 Thread Neale Ranns via Lists.Fd.Io
Hi Uzzam, All these: sudo vppctl set interface l2 bridge loopX 1 Should be: sudo vppctl set interface l2 bridge loopX 1 bvi /neale De : au nom de Uzzam Javed Répondre à : Uzzam Javed Date : jeudi 23 mai 2019 à 14:50 À : "vpp-dev@lists.fd.io" Cc : "b...@xflowresearch.com" Objet : [vpp-d

[vpp-dev] VPP crash in show PCI command

2019-05-23 Thread siddarth rai
Hello, I am using an older version of VPP(18.01) but I checked the code of 19.04 and I couldn't find any change in problematic area. I sometimes get a crash with "Show PCI" command. >From the core, it seems to be crashing here : "format_vlib_pci_vpd ( s=0x2ad325f2cb58 ":02:00.0 0 14e

Re: [vpp-dev] VPP crash in show PCI command

2019-05-23 Thread Damjan Marion via Lists.Fd.Io
> On 23 May 2019, at 15:21, siddarth rai wrote: > > Hello, > > I am using an older version of VPP(18.01) but I checked the code of 19.04 and > I couldn't find any change in problematic area. > > I sometimes get a crash with "Show PCI" command. > > From the core, it seems to be crashing here

Re: [vpp-dev] Programming(add/del/mod) ACLs from another plugin

2019-05-23 Thread Satya Murthy
Hi Neale, Thank you very much for the reply. The main problem that we are facing is: The plugin that we are planning to develop need to configure the classification rules dynamically ( ACLs ). Hence, we can not use VPP-API approach to configure the ACLs first. We need to add the ACLs based on so

Re: [vpp-dev] vppctl doesn't report returned pings from rdma int

2019-05-23 Thread Benoit Ganne (bganne) via Lists.Fd.Io
Hi Thomas, > Benoit, they do get dropped! Easier to see on this server. > I had previously thought they were missreported by ui. > By the way, this works on 19.02 with DPDK mlx driver. > https://gist.github.com/tfherbert/c5b1ece10b1d37ca9df0752925f7f53c Thanks! This is weird, and I actually repro

Re: [vpp-dev] Packet classification based on range of values

2019-05-23 Thread Satya Murthy
Hi Andrew, Our custom plugin will receive these rules per each session from an external entity. The number of sessions may go into millions. Yes, as you rightly said, these are rules are very dynamic in nature and these will be added and deleted with addition of session and it's deletion respe

[vpp-dev] Historical ip4-icmp OAM scheme - OK to remove?

2019-05-23 Thread Dave Barach via Lists.Fd.Io
We recently tripped over the “vpe-icmp4-oam” scheme. It’s a historical artifact which consumes for-us icmp4 echo_reply packets. Net of switching init function ordering to a constraint-based topological sort, it reappeared. The ping CLI input node has been consuming for-us ip4 icmp packets for qu

Re: [vpp-dev] Packet classification based on range of values

2019-05-23 Thread Andrew Yourtchenko
So, to me “received from an external entity” seems like squarely a task for a separate control plane entity - because presumably you will also want to resynchronize that info upon the restart of the VPP, right ? In any case, seems like your use case will require some investments in either case

Re: [vpp-dev] Q) Service function chaining

2019-05-23 Thread Milan Lenco
Hi Chul-Woong, Both projects are actually based on ligato/vpp-agent (https://github.com/ligato/vpp-agent), which is a control plane for VPP. The sfc controller from ligato however is most likely outdated and probably will be deprecated. The NSM project, albeit bit younger and very much in-pro

Re: [vpp-dev] Packet classification based on range of values

2019-05-23 Thread Satya Murthy
Hi Andrew, Sure. I am in the process of doing the harness code to test the ACL-plugin approach. Will post the results to this thread in a week's time. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13135): https://list

Re: [vpp-dev] VPP crash in show PCI command

2019-05-23 Thread siddarth rai
I believe you can see this issue with any NIC. (Invalid value being returned from var_arg). It does not not always crash, but the value is always wrong. On Thu, May 23, 2019 at 6:58 PM Damjan Marion wrote: > > > > On 23 May 2019, at 15:21, siddarth rai wrote: > > > > Hello, > > > > I am using a