[vpp-dev] Steering multicast packets into SRv6 policy

2020-06-26 Thread Hao, Fang (Nokia - US/Holmdel)
Hi - Is it possible to steer L3 multicast packets (either IPv4 or IPv6) into an SRv6 policy? I tried using "sr steer l3" command but it seems only to create a routing entry in the unicast FIB, which isn't invoked since multicast packets are handled by "ip4-mfib-forward-lookup". This is what I

Re: Private: Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-26 Thread Dave Barach via lists.fd.io
If you want to pinch code from vpp_api_test, please read and understand it: /* W: wait for results, with timeout */ #define W(ret) \ do {\ f64 timeout = vat_time_now (vam) + 1.0;

Re: [vpp-dev] RDMA problem in master and stable/2005, started with commit introducing direct verb for Cx4/5 tx #mellanox #rdma

2020-06-26 Thread Elias Rudberg
Hi Ben, Thanks, I tested that now but it did not help, it behaves the same also with "MLX5_SHUT_UP_BF=1" set. / Elias > Can you try to export "MLX5_SHUT_UP_BF=1" in your environment before > starting VPP (ie, VPP environment must contain this)? This should > disable the "BlueFlame" mechanism in M

Re: [vpp-dev] RDMA problem in master and stable/2005, started with commit introducing direct verb for Cx4/5 tx #mellanox #rdma

2020-06-26 Thread Benoit Ganne (bganne) via lists.fd.io
> Thanks, now I tried it (the Patchset 2 variant) but it seems to behave > like before, the delay is sitll happening. Hmm thanks ☹ Can you try to export "MLX5_SHUT_UP_BF=1" in your environment before starting VPP (ie, VPP environment must contain this)? This should disable the "BlueFlame" mechan

Re: [vpp-dev] RDMA problem in master and stable/2005, started with commit introducing direct verb for Cx4/5 tx #mellanox #rdma

2020-06-26 Thread Elias Rudberg
Hi Ben, Thanks, now I tried it (the Patchset 2 variant) but it seems to behave like before, the delay is sitll happening. Let me know if you have something more I could try. / Elias On Fri, 2020-06-26 at 12:04 +, Benoit Ganne (bganne) via lists.fd.io wrote: > Hi Elias, > > Thanks for the

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-26 Thread Ole Troan
Chinmaya, I don't think linking in vatplugin is a "supported" interface. Meaning it can change or go away at no notice. If you build a C application you'd likely be happier with using VAPI. Cheers, Ole > On 26 Jun 2020, at 13:58, Chinmaya Aggarwal wrote: > > Hi Dave, > We have our application

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-26 Thread Ole Troan
Chinmaya, > To reiterate what we have understood, if we downgrade the api and declare it > experimental (by setting "option version = 0.0.1"), we need not add "option > status="in_progress" for the typedefs and messages we are modifying and we > can simply use the original typedefs and message

Re: [vpp-dev] RDMA problem in master and stable/2005, started with commit introducing direct verb for Cx4/5 tx #mellanox #rdma

2020-06-26 Thread Benoit Ganne (bganne) via lists.fd.io
Hi Elias, Thanks for the detailed report. I suspect you are correct, it seems to be related to the doorbell update to notify the NIC there are some work to do. Could you check https://gerrit.fd.io/r/c/vpp/+/27708 and report whether it fixes the issue? Best ben > -Original Message- > Fr

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-26 Thread Chinmaya Aggarwal
Hi, To reiterate what we have understood, if we downgrade the api and declare it experimental (by setting "option version = 0.0.1"), we need not add  "option status="in_progress" for the typedefs and messages we are modifying and we can simply use the original typedefs and messages and do the de

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-26 Thread Chinmaya Aggarwal
Hi Dave, We have our application (using VPP C API) running outside of VPP.  We linked vpp libs in our application ( vatplugin, vppinfra, vlibmemoryclient, svm, vppapiclient). Attaching file vpp_connect_test.c that creates connection with VPP and calls VPP C API to modify a sr policy. We have use

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-26 Thread Andrew Yourtchenko
Hi Chinmaya, Yeah - the only thing typedef can not be marked as in-progress (Do you think it is useful to add such a function?) The other approach is if the community using those APIs thinks the SR-related messages still need some quicker iteration, an option is to declare them as “in-progress

Re: [vpp-dev] ipsec interface revisted.

2020-06-26 Thread Christian Hopps
> On Jun 26, 2020, at 4:22 AM, Neale Ranns (nranns) wrote: > > Hi Chris, > > As far as I'm concerned, it's your plugin, you can add whatever functionality > you need. If you separate the new interface type out into another plugin, so > it can be used without your feature, then the community

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-26 Thread Ole Troan
Chinmaya, You have a couple of options. You can downgrade the whole API and declare it experimental. That's done by setting the semantic version to less than 1 in the .api file. e.g. option version="0.0.1"; You can leave the API in production status, but mark those messages you believe will cha

[vpp-dev] RDMA problem in master and stable/2005, started with commit introducing direct verb for Cx4/5 tx #mellanox #rdma

2020-06-26 Thread Elias Rudberg
Hello VPP experts, There seems to be a problem with the RDMA driver in VPP when using Mellanox ConnectX5 network interfaces. This problem appears for the master branch and for the stable/2005 branch, while stable/2001 does not have this problem. The problem is that when a frame with 2 packets is

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-26 Thread Chinmaya Aggarwal
Hi Andrew, We have gone through the api change process link. As per our understanding from the link, we have to create a new in-progress message for srv6_sid_list i.e typedef srv6_sid_list_v2 { u8 num_sids; u32 weight; u32 sl_index; vl_api_ip6_address_t sids[16]; option status="in_progr

Re: [vpp-dev] ipsec interface revisted.

2020-06-26 Thread Neale Ranns via lists.fd.io
Hi Chris, As far as I'm concerned, it's your plugin, you can add whatever functionality you need. If you separate the new interface type out into another plugin, so it can be used without your feature, then the community will benefit twice. Let's just make sure we document the whys and hows of