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 >

[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 =

[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

[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):

[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

[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