[vpp-dev] How to suspend forwarding on a sw interface? #vnet

2020-03-10 Thread Sylvain CADILHAC
Hi VPP Experts, I'm looking for some advice in order to properly implement a CFM (802.1ag) CCM plugin. CCM (Continuity Check Messages) are basic Ethernet keepalive messages -- missing several messages in a row should cause the Ethernet interface or sub-interface [the CFM frames might be VLAN ta

[vpp-dev] Reporting stale tunnel via LINK DOWN event — ok or not?

2020-03-10 Thread Nick Zavaritsky
Hi, at EMnify we are working to extend GTPU support with features required in mobile networks.  According to GTPU specification, if a received packet doesn't match an existing tunnel (unknown DIP+TEID), error indication is sent back.  When an error indication is received, we have to tell the contr

Re: [vpp-dev] How to suspend forwarding on a sw interface? #vnet

2020-03-10 Thread Damjan Marion via Lists.Fd.Io
> On 10 Mar 2020, at 12:42, Sylvain CADILHAC > wrote: > > Hi VPP Experts, > > I'm looking for some advice in order to properly implement a CFM (802.1ag) > CCM plugin. > CCM (Continuity Check Messages) are basic Ethernet keepalive messages -- > missing several messages in a row should cause

[vpp-dev] Coverity run FAILED as of 2020-03-10 14:00:26 UTC

2020-03-10 Thread Noreply Jenkins
Coverity run failed today. Current number of outstanding issues are 3 Newly detected: 0 Eliminated: 0 More details can be found at https://scan.coverity.com/projects/fd-io-vpp/view_defects -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15716): ht

Re: [vpp-dev] How to suspend forwarding on a sw interface? #vnet

2020-03-10 Thread Dave Barach via Lists.Fd.Io
Add a node to the device-input feature arc to handle RX processing, including throwing away non-CCM packets received on timed-out (sub)interfaces, and looking for CCM packets. If you clear the admin-up flag on a subinterface / link-up flag on a physical interface, that should quench output with

[vpp-dev] Small issue regarding fheap.c in vppinfra

2020-03-10 Thread xiapenglilai
Hi experts, While reading vppinfra/fheap.c, I have a question in fheap_mark_parent that p->parent was set to ~0 after node_remove and add_sibling, so it's not possible to do a cascaded cut. Should we store parent's index before those actions? Thanks a lot! -=-=-=-=-=-=-=-=-=-=-=- Links: You recei

[vpp-dev] Need advice on sw_interface_set_rx_placement() API #vpp

2020-03-10 Thread visaev via Lists.Fd.Io
Hi there, There is a VPP APIs function sw_interface_set_rx_placement(). This function allows us to set specific worker for the specified queue. And this function takes worker_id as an argument. worker_id is then translated to thread_id by using following conversion: if (is_main) thread_index = 0

Re: [vpp-dev] Need advice on sw_interface_set_rx_placement() API #vpp

2020-03-10 Thread Damjan Marion via Lists.Fd.Io
> On 10 Mar 2020, at 17:39, visaev via Lists.Fd.Io > wrote: > > Hi there, > > There is a VPP APIs function sw_interface_set_rx_placement(). This function > allows us to set specific worker for the specified queue. > And this function takes worker_id as an argument. worker_id is then > trans

Re: [vpp-dev] VPP with FRR Bring-up - tap interface enable causing crash

2020-03-10 Thread Majumdar, Kausik
Hi Murthy, I have noticed this crash in v20.01 version when router plugin interact with VPP code base during tap interface bring up in the host. I have provided patch, with that it works fine. Thanks, Kausik From: vpp-dev@lists.fd.io On Behalf Of Satya Murthy Sent: Monday, March 9, 2020 10:4

Re: [vpp-dev] Reporting stale tunnel via LINK DOWN event — ok or not?

2020-03-10 Thread Neale Ranns via Lists.Fd.Io
Hi Nick, It would seem to me rather awkward to send a link-state notification to inform the CP of a non-existent interface. I would suggest you use a new notification in which you can include the DIP+TEID. The client, via the API, can only affect the admin state of the link, the ‘link state’