[vpp-dev] Statistics on GitHub for home-brew binaries

2019-06-03 Thread Luca Muscariello via Lists.Fd.Io
Hi everyone, FD.io is not directly using GitHub but there are projects such as home-brew for macOS which grant binary distribution to a software project based on GitHub statistics. In our project we support macOS among many other platforms and we’d love to give our user base the possibil

Re: [vpp-dev] Unexpected vpp failure

2019-06-03 Thread Miroslav Kováč
Hi, Thank you for reply. I have subscribed to vpp-dev@lists.fd.io and I have added requested deb packages and version. Thank you Miroslav Kovac Od: Dave Barach (dbarach) Odoslané: nedeľa, 2. júna 2019 18:03:26 Komu: Miroslav Ková

Re: [vpp-dev] duplicate user id allocation in ACL plugin

2019-06-03 Thread Satya Murthy
Hi Andrew, I got what the issue is, but not sure how to get around this problem. My plugin is first subscribing for ACL service by calling register_user_module. Also, I could see that it is getting added into acl_users. But, after this, acl_init() is getting called, due to which, the acl_users i

Re: [vpp-dev] duplicate user id allocation in ACL plugin

2019-06-03 Thread Benoit Ganne (bganne) via Lists.Fd.Io
Hi Satya, Yes you can add dependencies, see https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blob;f=docs/gettingstarted/developers/vlib.md VLIB_INIT_FUNCTION(my_init_function) = { .runs_before = VLIB_INITS("we_run_before_function_1", "we_run_before_function_2"), .r

Re: [vpp-dev] Unexpected vpp failure

2019-06-03 Thread Dave Barach via Lists.Fd.Io
I downloaded the Debian package + core file. The core file is truncated, and gdb isn't able to show anything which would allow us to start work on the problem: Reading symbols from /usr/bin/vpp...Reading symbols from /usr/lib/debug/.build-id/5a/739f0daa7f81cd6b0e5529b422ce00b34ef8fb.debug...don

Re: [vpp-dev] duplicate user id allocation in ACL plugin

2019-06-03 Thread Satya Murthy
Thanks Ben for the quick inputs. Will try this and update this thread. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13204): https://lists.fd.io/g/vpp-dev/message/13204 Mute This Topic: https://lists.fd.io/mt/31878554/

[vpp-dev] sw_if_index reuse in tunnel implementations

2019-06-03 Thread Andreas Schultz
Hi, I'm wondering whether the current practice of reusing sw_if_indexes in some of tunnel implementations is safe. What currently happens is that when a tunnel session is released, the sw_if_index of the corresponding interface is put into vector of reuse. My first question is, why a vector? Wou

Re: [vpp-dev] sw_if_index reuse in tunnel implementations

2019-06-03 Thread Dave Barach via Lists.Fd.Io
Let me add a specific point on this subject: "the API or CLI invocation stops all workers somewhere between graph nodes." API / CLI barrier syncs stop worker threads at a very specific point: the top of the dispatch loop. At that point, all extant vectors (packets) have been fully processed.

[vpp-dev] "owner node" help understanding.

2019-06-03 Thread Christian Hopps
Hi, I'm going through the VPP infra code to fully understand how everything hangs together. I'm getting close to understanding things, except (at least) one thing. I can't figure out what the "owner node" thing is for. The concept appears to be that only one vlib_next_frame_t should "own" the

Re: [vpp-dev] "owner node" help understanding.

2019-06-03 Thread Dave Barach via Lists.Fd.Io
Dear Chris, Please take a look at https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/vlib.html#complications et seq. I tried to document this exact bit of code. Let me know if the document helps, or if it raises more questions than it answers. Feel free to push doc patches t

Re: [vpp-dev] duplicate user id allocation in ACL plugin

2019-06-03 Thread Satya Murthy
Hi Ben, I dont see any constructs called runs_before or runs_after within VLIB_INIT_FUNCTION macro. I am getting compilation error when I try these changes. I could not find any VLIB_INITS in 1810 (or) 1904 versions of the code. Here is the code I tried. VLIB_INIT_FUNCTION (my_custom_plugin_in