Re: [vpp-dev] classify and redirect to tap

2017-02-07 Thread Dave Barach (dbarach)
Dear John, Read at face value, you’ll probably want to implement an output feature to take care of it. Before I jump in and start describing the mechanics involved: please describe the use-case in some detail. The easiest-to-code solution would probably cost an annoying amount of performance

Re: [vpp-dev] Query regarding VPP Pool allocation

2017-02-07 Thread Dave Barach (dbarach)
There’s no need to call pool_alloc(...) in typical cases. Pools are vectors (dynamic arrays), they expand as necessary. During initial development, please always run TAG=vpp_debug or equivalent images. If you make mistakes with vector-based data structure(s), the code tends to ASSERT(...)

Re: [vpp-dev] Committer / Maintainer model.

2017-02-07 Thread Dave Barach (dbarach)
Item added to https://wiki.fd.io/view/VPP/Meeting#Agenda From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Ed Warnicke Sent: Monday, February 6, 2017 7:37 PM To: Luke, Chris Cc: vpp-dev ; Damjan Marion

Re: [vpp-dev] manipulate packet payload

2017-02-07 Thread Dave Barach (dbarach)
See vlib_buffer_advance(...). Depending on what you want to do - which you didn’t share - that may be all you need. In any event, these buffer metadata fields are involved: current_data, current_length, total_length_not_including_first_buffer, next_buffer, flags Take a careful look at

Re: [vpp-dev] Query regarding VPP Pool allocation

2017-02-07 Thread Dave Barach (dbarach)
If you continue to have trouble, please push a draft patch and I’ll take a look... Thanks… Dave From: Sreejith Surendran Nair [mailto:sreejith.surendrann...@linaro.org] Sent: Tuesday, February 7, 2017 11:24 AM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: vpp-dev <vpp-dev@li

Re: [vpp-dev] classify and redirect to tap

2017-02-08 Thread Dave Barach (dbarach)
Assuming that you’re using an IRB config: I’d suggest using the ip input feature arc; enable the feature on the IRB loopback interface and off you go. FYI: we’re planning a significant rework of the L2 feature path. I’m guessing that you don’t care about intercepting 192.168.1.10 tcp ->

Re: [vpp-dev] vpp patch validation failure

2017-02-02 Thread Dave Barach (dbarach)
OK, cool, will do... Thanks... Dave -Original Message- From: Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco) Sent: Thursday, February 2, 2017 9:44 AM To: Dave Barach (dbarach) <dbar...@cisco.com>; Dave Wallace <dwallac...@gmail.com>; csit-...@lists.fd.io Cc: vpp-dev

[vpp-dev] vpp patch validation failure

2017-02-02 Thread Dave Barach (dbarach)
See https://jenkins.fd.io/job/vpp-csit-verify-virl-master/3660/console: 14:11:40 + VIRL_SID[${index}]='ERROR: Simulation started OK but devices never changed to ACTIVE state 14:11:40 Last VIRL response: 14:11:40 {u'\''session-__95OJ'\'': {u'\''~mgmt-lxc'\'': {u'\''vnc-console'\'': False,

Re: [vpp-dev] vpp patch(es) rebased to master/latest failing PEP8 compliance checks

2017-02-05 Thread Dave Barach (dbarach)
Dear Neale, Thanks very much, seems like patches are verifying again... I rebased another patch a second ago. Dave From: Neale Ranns (nranns) Sent: Sunday, February 5, 2017 1:59 PM To: Dave Barach (dbarach) <dbar...@cisco.com>; vpp-dev@lists.fd.io Cc: csit-...@lists.fd.io Subject: Re: [v

[vpp-dev] vpp patch(es) rebased to master/latest failing PEP8 compliance checks

2017-02-05 Thread Dave Barach (dbarach)
Would the owners of these failures please repair them at their earliest possible convenience? We won't be able to merge patches [without using a hammer] until the problem is fixed... Thanks... Dave 16:51:00 [vpp-verify-master-ubuntu1404] $ /bin/bash /tmp/hudson7704395251888577201.sh

Re: [vpp-dev] classify and redirect to tap

2017-02-08 Thread Dave Barach (dbarach)
here, please confirm that I’m understanding what you need to do. Thanks… Dave From: John Pearson [mailto:johnpearson...@gmail.com] Sent: Tuesday, February 7, 2017 7:00 PM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] classify and redirect to tap

[vpp-dev] FW: CSIT test failure

2017-02-03 Thread Dave Barach (dbarach)
Forwarding to csit-dev... A patch against master/latest verified OK on LF infra half an hour ago... From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Rybalchenko, Kirill Sent: Friday, February 3, 2017 7:59 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] CSIT test

Re: [vpp-dev] Coverity warnings in generated java files

2017-01-30 Thread Dave Barach (dbarach)
Done... Thanks... Dave From: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) Sent: Monday, January 30, 2017 7:34 AM To: Luke, Chris <chris_l...@comcast.com>; vpp-dev@lists.fd.io; hc2...@lists.fd.io Cc: Dave Barach (dbarach) <dbar...@cisco.com>; Damjan Marion (damar

Re: [vpp-dev] Can't map NSH entry in VPP

2017-01-27 Thread Dave Barach (dbarach)
you can check them in Wireshark; to the extent that you don't already know what's wrong... Thanks... Dave From: Miguel Angel Muñoz Gonzalez [mailto:miguel.angel.munoz.gonza...@ericsson.com] Sent: Friday, January 27, 2017 4:41 PM To: Dave Barach (dbarach) <dbar...@cisco.com>; nsh_sfc

Re: [vpp-dev] igb_uio -> uio_pci_generic

2017-01-25 Thread Dave Barach (dbarach)
As Damjan wrote, the vpp graph dispatcher has known how to switch input nodes between interrupt and polling mode since before the dpdk even existed. Unfortunately, not all dpdk drivers support interrupt-mode processing, again, as discussed. As a clock-cycle / power-consumption mitigation

Re: [vpp-dev] Error reading from file descriptor 9: Input/output error

2017-01-25 Thread Dave Barach (dbarach)
Vmxnet3 interfaces are strongly preferred: for performance, as well as to make this specific issue disappear. We have a patch floating around which turns off the disk-filling syslog message, but if you simply switch to vmxnet3 interfaces the pain will go away without rebuilding images, etc.

Re: [vpp-dev] [discuss] VPP 17.01 Released

2017-01-20 Thread Dave Barach (dbarach)
Hey Damjan, Congrats to you and the entire community for all the hard work which went into the 17.01 release! Dave From: Damjan Marion (damarion) Sent: Friday, January 20, 2017 6:38 PM To: vpp-internal(mailer list) Subject: Fwd: [discuss] VPP 17.01 Released Begin

Re: [vpp-dev] SNAT Plugin Use

2017-01-26 Thread Dave Barach (dbarach)
(STR_VL_API_SNAT_ADD_ADDRESS_RANGE); HTH... D. From: Jon Loeliger [mailto:j...@netgate.com] Sent: Thursday, January 26, 2017 3:29 PM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: vpp-dev <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] SNAT Plugin Use On Wed, Jan 25, 2017 at 10:49 AM,

Re: [vpp-dev] SNAT Plugin Use

2017-01-27 Thread Dave Barach (dbarach)
Loeliger [mailto:j...@netgate.com] Sent: Friday, January 27, 2017 10:24 AM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: vpp-dev <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] SNAT Plugin Use On Thu, Jan 26, 2017 at 4:38 PM, Jon Loeliger <j...@netgate.com<mailto:j...@netgate.

Re: [vpp-dev] How do I create a igb_uio module on Centos

2017-02-21 Thread Dave Barach (dbarach)
Hey Burt, 8 + 9 => make a new .../build-data/platforms/amd-senior-citizen.mk file, and build PLATFORM=amd-senior-citizen. It wouldn’t be a problem to merge a patch with that piece of the puzzle. From the Shameless Commerce Department at Car Talk Plaza: you could also buy a new computer.

Re: [vpp-dev] TCP Connection Failed Between two veth interfaces switched via VPP

2017-02-22 Thread Dave Barach (dbarach)
The Linux kernel is turfing the TCP (SYN) packets. If you run wireshark or tcpdump, you’ll rapidly confirm that reasonable-looking SYNs are being sent. Check to see if missing routes or iptables are responsible. IIRC Keith Burns managed to make this work, copying him. Thanks… Dave From:

Re: [vpp-dev] problem in classify command in vpp

2017-02-20 Thread Dave Barach (dbarach)
Try it with a debug image. Mask==0x1 => SIGSEGV, with probability 1. Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of William McCall Sent: Monday, February 20, 2017 7:58 AM To: Ni, Hongjun Cc: Siamak Abdollahzade

Re: [vpp-dev] VPP-540 : pbb tag rewrite details

2017-02-17 Thread Dave Barach (dbarach)
Please fix merge conflict(s) in https://gerrit.fd.io/r/#/c/4715/5 Thanks… Dave From: Andrej Macak -X (amacak - PANTHEON TECHNOLOGIES at Cisco) Sent: Friday, February 17, 2017 9:34 AM To: vpp-dev@lists.fd.io Cc: michal.janc...@pantheon.tech; Dave Barach (dbarach) <dbar...@cisco.com>;

[vpp-dev] vpp csit functional test failures, not obviously related to the patches involved

2017-02-23 Thread Dave Barach (dbarach)
For example: https://gerrit.fd.io/r/#/c/5498 Thanks... Dave 13:54:14.203 TRACE exec_command on ('10.30.51.236', 22): sudo -S rm -f /tmp/qga.sock 13:54:14.306 TRACE exec_command on ('10.30.51.236', 22) took 0.106814861298 seconds 13:54:14.306 TRACE chan_recv/_stderr took

Re: [vpp-dev] Coding Preference Question

2017-02-23 Thread Dave Barach (dbarach)
If the value could be construed as a pool index - e.g. a sw_if_index - I always use u32 and ~0... Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Jon Loeliger Sent: Thursday, February 23, 2017 5:03 PM To: vpp-dev Subject:

Re: [vpp-dev] vpp query

2017-02-18 Thread Dave Barach (dbarach)
A bit more inline, see drb>>> Thanks… Dave -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Neale Ranns (nranns) Sent: Saturday, February 18, 2017 3:52 PM To: pxv3...@rit.edu; vpp-dev@lists.fd.io Cc: Shailesh Vajpayee

Re: [vpp-dev] VPP API Synchronization Question

2017-02-10 Thread Dave Barach (dbarach)
: Dave Barach (dbarach) <dbar...@cisco.com>; Edward Warnicke <hagb...@gmail.com> Subject: VPP API Synchronization Question Folks, I have a stale cache of interface data in the layer above my VPP API calls and I need to refresh it. So I wrote a vpp_intf_refresh_all() function. It

Re: [vpp-dev] Vpp dependencies

2017-02-14 Thread Dave Barach (dbarach)
The top-level Makefile lists the current build dependencies relative to both the centos and the Ubuntu distros. Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Raghav Kaushik (rakaushi) Sent: Tuesday, February 14, 2017 6:01 PM To:

Re: [vpp-dev] classify and redirect to tap

2017-02-09 Thread Dave Barach (dbarach)
day, February 8, 2017 11:15 PM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: Pierre Pfister (ppfister) <ppfis...@cisco.com>; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] classify and redirect to tap I am using IRB config. I am using CLI and CLI docs to find these features. Sorry, but I cou

[vpp-dev] Jenkins queue backup (executor starvation)

2017-02-16 Thread Dave Barach (dbarach)
Dear Vanessa, Have we an estimate for how long the Jenkins queue will be effectively unusable due to what appear to be 300 jobs in the queue? How about spinning up extra slaves to clear the backlog? Thanks... Dave ___ vpp-dev mailing list

[vpp-dev] Final tcp RFC draft pushed to gerrit.fd.io

2017-02-15 Thread Dave Barach (dbarach)
Please see https://gerrit.fd.io/r/#/c/5150. We plan to merge the code prior to the 17.04 FC0 date. Thanks... Dave ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] vpp home gateway use-case added to wiki.fd.io

2017-01-24 Thread Dave Barach (dbarach)
In case folks are interested, see: https://wiki.fd.io/view/VPP/VPP_Home_Gateway Note that the exercise resulted in the addition of a couple of new features for the snat plugin, and a jira ticket: https://jira.fd.io/browse/VPP-612 ___ vpp-dev mailing

Re: [vpp-dev] VPP API Synchronization Question

2017-02-11 Thread Dave Barach (dbarach)
((void *) msg); } From: Jon Loeliger [mailto:j...@netgate.com] Sent: Friday, February 10, 2017 4:46 PM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: vpp-dev <vpp-dev@lists.fd.io>; Edward Warnicke <hagb...@gmail.com> Subject: Re: VPP API Synchronization Question On Fri, Feb 1

[vpp-dev] Verify job failure(s)

2017-01-19 Thread Dave Barach (dbarach)
Folks, See https://jenkins.fd.io/job/vpp-verify-master-ubuntu1604/3378/console 11:00:46 E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) 11:00:46 E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? I

Re: [vpp-dev] wrong when i want to change vlib_buffer_t->data to my pointer

2017-02-28 Thread Dave Barach (dbarach)
Please explain what you're trying to do in detail. There should be no need to ever do something like that. Vlib_buffer_t's are embedded in private headroom space, tangent to the packet DMA target [which starts at (struct mbuf *)mb->data_off]. Here's how we create the mempools: rmp =

Re: [vpp-dev] system func in vpp

2017-02-28 Thread Dave Barach (dbarach)
See also src/vnet/unix/tuntap.c, which seems to already do pretty much what you’re describing. It’s disabled by default. Use the command-line argument “tuntap { enable }” to kick the tires. In addition to the concerns which Chris mentioned, adding ‘system(“foo”)’ calls to vpp is not a security

[vpp-dev] vpp w/ dpdk-as-plugin

2017-03-01 Thread Dave Barach (dbarach)
"If you're reading this message, vpp w/ dpdk-as-a-plugin is now running my home gateway." No issues noted... Nice job, Damjan! dbarach@vppgate:~$ telnet 0 5002 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. _____ _ ___ __/ __/ _ \ (_)__| | / / _ \/

Re: [vpp-dev] system func in vpp

2017-03-02 Thread Dave Barach (dbarach)
d at main thread? Ewan yug...@telincn.com<mailto:yug...@telincn.com> From: Luke, Chris<mailto:chris_l...@comcast.com> Date: 2017-03-01 20:14 To: yug...@telincn.com<mailto:yug...@telincn.com>; Dave Barach (dbarach)<mailto:dbar...@cisco.com>; E

Re: [vpp-dev] VPP API Freeze date coming up -- March 8

2017-03-02 Thread Dave Barach (dbarach)
+1, exactly right, thanks Ole... Dave -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of otr...@employees.org Sent: Thursday, March 2, 2017 7:17 AM To: vpp-dev Subject: [vpp-dev] VPP API Freeze date coming up --

[vpp-dev] Clean-up tasks: 17.01 F0 -> RC0

2016-10-27 Thread Dave Barach (dbarach)
Folks, I'd like to suggest that we undertake several clean-up tasks once we reach the 17.01 F0 (API freeze) milestone: *Clean up Coverity warnings *Split .../vpp/vpp-infra/{vpe.api, api.c} into groups of related APIs, to reduce future merge collisions *Finish

Re: [vpp-dev] Clean-up tasks: 17.01 F0 -> RC0

2016-10-27 Thread Dave Barach (dbarach)
...@comcast.com] Sent: Thursday, October 27, 2016 4:19 PM To: Dave Barach (dbarach) <dbar...@cisco.com>; vpp-dev@lists.fd.io Subject: RE: Clean-up tasks: 17.01 F0 -> RC0 Sounds good to me. The api files in particular strike me as unmanageably large right now. I've especially wondered if the

Re: [vpp-dev] L2BD test failing during MAC learning - VPP-518

2016-10-28 Thread Dave Barach (dbarach)
, October 28, 2016 1:59 PM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco) <jgel...@cisco.com>; vpp-dev@lists.fd.io; csit-...@lists.fd.io Subject: Re: [vpp-dev] L2BD test failing during MAC learning - VPP-518 Hi Dave, the reaso

Re: [vpp-dev] vpp build error on ubuntu 14.04

2016-11-08 Thread Dave Barach (dbarach)
hings work as expected. Probably best to grumble a bit and move on. This wouldn't be the first time for this sort of problem... Sorry... Dave -Original Message- From: Shravan Ambati [mailto:shravan.amb...@calix.com] Sent: Tuesday, November 8, 2016 4:53 PM To: Dave Barach (dbarach) <dbar

Re: [vpp-dev] VPP compilation failing

2016-11-09 Thread Dave Barach (dbarach)
Use the top-level Makefile: $ "make install-dep" This will acquire the required build tools. -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of mohan NMH Sent: Wednesday, November 9, 2016 9:34 AM To: vpp-dev@lists.fd.io Subject:

Re: [vpp-dev] [csit-dev] CSIT switchover to Ubuntu 16.04.1

2016-10-14 Thread Dave Barach (dbarach)
I've pinged the Linux Foundation on their "emergency" alias. Gerrit.fd.io is inaccessible. Thanks... Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Dave Wallace Sent: Friday, October 14, 2016 9:29 AM To: Peter Mikus -X (pmikus - PANTHEON TECHNOLOGIES

Re: [vpp-dev] Fwd: Punting UDP packets to Kernel

2016-11-22 Thread Dave Barach (dbarach)
s why you do see any packet trace after error-punt. -John From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> [mailto:vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io>] On Behalf Of Dave Barach (dbarach) Sent: Friday, November 18, 2016 8:23 AM

Re: [vpp-dev] @DPDK@ in Makefile.am files

2016-11-15 Thread Dave Barach (dbarach)
= --with-dpdk while ../build-data/platforms/vpp_lite.mk has the following setting: vnet_configure_args_vpp_lite = # no dpdk HTH... Dave From: Shravan Ambati [mailto:shravan.amb...@calix.com] Sent: Tuesday, November 15, 2016 12:17 PM To: Dave Barach (dbarach) <dbar...@cisco.com> Subject: @DPDK

Re: [vpp-dev] vpp node implementation

2016-11-18 Thread Dave Barach (dbarach)
Quad loops (4+4) are sometimes effective. See ip4_lookup_inline(...) and dpdk_device_input(...) for examples. The limiting factor: gcc runs out of registers. I've yet to discover a case where a sextuple loop (6+6) would seem likely to be effective. Please let folks know if you discover one.

Re: [vpp-dev] Fwd: Punting UDP packets to Kernel

2016-11-18 Thread Dave Barach (dbarach)
You saw the packets w/ tcpdump, right? Thanks… Dave From: Prerit Jain [mailto:prerit.j...@gmail.com] Sent: Friday, November 18, 2016 8:15 AM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Fwd: Punting UDP packets to Kernel You mean that i

Re: [vpp-dev] IPFIX implementation in VPP

2016-11-18 Thread Dave Barach (dbarach)
Please support the core implementation. The flow-per-pkt plugin is experimental at this point... Thanks... Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) Sent: Friday, November 18, 2016 4:51

Re: [vpp-dev] Problem while setting socket parameter

2016-11-21 Thread Dave Barach (dbarach)
Is the requested address already assigned? "netstat -ln"... Thanks... Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Deepak Jain4 Sent: Sunday, November 20, 2016 11:12 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Problem while setting socket parameter

Re: [vpp-dev] duplicate vnet api errno

2016-10-21 Thread Dave Barach (dbarach)
Um, no, that's a mistake, probably due to a minor merge accident... Thanks... Dave -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco) Sent: Friday, October 21, 2016 5:03 AM

Re: [vpp-dev] https://gerrit.fd.io/r/#/c/2428/ isn't included in 16.09

2016-11-01 Thread Dave Barach (dbarach)
Please attend the vpp project meeting today at 11:00 AM to discuss this request. Thanks... Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Yang, Yi Y Sent: Tuesday, November 1, 2016 9:01 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev]

Re: [vpp-dev] VPP project committer nomination: Neale Ranns

2016-11-01 Thread Dave Barach (dbarach)
+1, without question Thanks... Dave ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Clean-up tasks: 17.01 F0 -> RC0

2016-10-31 Thread Dave Barach (dbarach)
Original Message- From: Ole Troan [mailto:o...@cisco.com] Sent: Monday, October 31, 2016 4:43 AM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: Luke, Chris <chris_l...@comcast.com>; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Clean-up tasks: 17.01 F0 -> RC0 > It’s an SMT [simp

Re: [vpp-dev] FW: ARP handling using VPP

2016-11-04 Thread Dave Barach (dbarach)
resent, however my question is that what will happen to that data packet. Do VPP will queue it up till ARP query is completed. If yes, then can you let me know where it is getting queued up in the VPP source code? Regards Prerit - Original Message - Sender : Dave Barach (d

Re: [vpp-dev] macro definition

2016-10-13 Thread Dave Barach (dbarach)
Here’s what I do... Use cscope [or some other tool] to search for the text string ETHERNET_TYPE_##. Symbols such as ETHERNET_TYPE_XXX are constructed using the C preprocessor string-concatenation operator ‘##’. Once you find the template string, it will be obvious where to find the list of

Re: [vpp-dev] Queries regarding test cases for "vppinfra"

2016-10-13 Thread Dave Barach (dbarach)
Before I answer: from 100,000 feet, what are you trying to do? Run vpp on a CPU architecture other than x86_64? From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Ayush Singhal Sent: Thursday, October 13, 2016 8:34 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev]

Re: [vpp-dev] Configuration for static routes in vpp

2016-10-17 Thread Dave Barach (dbarach)
Look at .../vpp-api-test/vat/api_format.c for a working example which uses this API. Then, write a vpp_api_test script - and try it - to make sure that the API message sequence you're about to code results in the FIB contents you want. Thanks... Dave From: vpp-dev-boun...@lists.fd.io

Re: [vpp-dev] Fwd: DPDK SDK in plugin

2016-12-14 Thread Dave Barach (dbarach)
5, 2016 at 4:26 PM Subject: Re: [vpp-dev] DPDK SDK in plugin To: "Dave Barach (dbarach)" <dbar...@cisco.com<mailto:dbar...@cisco.com>> Hi Dave, I compared DPDK and VPP hash libs and it seems that DPDK implementation is about twice faster that VPP hash. I want to use DPDK hash i

Re: [vpp-dev] collectd

2016-12-15 Thread Dave Barach (dbarach)
Ed: correct me if I’m wrong, but IIRC we must not put GPLv2 into an fd.io gerrit repo... Thanks… Dave From: Alec Hothan (ahothan) Sent: Wednesday, December 14, 2016 4:06 PM To: Joel Halpern <joel.halp...@ericsson.com>; Dave Barach (dbarach) <dbar...@cisco.com>; t...@lists.fd.io;

[vpp-dev] collectd

2016-12-14 Thread Dave Barach (dbarach)
I took a note to have a look at collectd during yesterday's vpp project call. There appears to be a license issue. See https://collectd.org/wiki/index.php/Plugin_architecture - "The [plugin] license must be compatible to collectd's own license, the GPL 2." Give that all fd.io code carries an

Re: [vpp-dev] Fwd: DPDK SDK in plugin

2016-12-14 Thread Dave Barach (dbarach)
In /Makefile.am: my_plugin_la_LIBADD = -l for any / all values of that the plugin requires. Thanks… Dave From: mahdi akrami [mailto:akram...@gmail.com] Sent: Wednesday, December 14, 2016 10:48 AM To: Dave Barach (dbarach) <dbar...@cisco.com> Subject: Re: [vpp-dev] Fwd: DPDK SDK in plug

Re: [vpp-dev] VPP-556 - vpp crashing in an openstack odl stack

2017-01-11 Thread Dave Barach (dbarach)
Dear Juraj, I took a look. It appears that the last operation in the post-mortem API trace was to kill a vxlan tunnel. Is there a reasonable chance that other interfaces in the bridge group containing the tunnel were still admin-up? Was the tunnel interface removed from the bridge group prior

[vpp-dev] VPP-598 TCP RFC / public comment uploaded to gerrit.fd.io

2017-01-13 Thread Dave Barach (dbarach)
Please see https://gerrit.fd.io/r/#/c/4674. Lots more work to do, but as given the tcp host stack manages to bring up tcp sessions. Comments to me, Florin Coras (fco...@cisco.com), and/or Keith Burns (k...@cisco.com). Thanks. Dave smime.p7s Description: S/MIME cryptographic

Re: [vpp-dev] rte_timer

2017-01-15 Thread Dave Barach (dbarach)
Vpp already calls rte_eal_init(...) in .../src/vnet/dpdk/init.c:dpdk_config(). Please don't call rte_eal_init(..) elsewhere, it simply won't work. At a higher level: what are you trying to do? It's hard to provide meaningful help with so little information. Thanks... Dave From:

Re: [vpp-dev] VPP-556 - vpp crashing in an openstack odl stack

2017-01-11 Thread Dave Barach (dbarach)
+1... Hey John, thanks a lot for the detailed analysis... Dave From: John Lo (loj) Sent: Wednesday, January 11, 2017 5:40 PM To: Dave Barach (dbarach) <dbar...@cisco.com>; Juraj Linkes -X (jlinkes - PANTHEON TECHNOLOGIES at Cisco) <jlin...@cisco.com>; vpp-dev@lists.fd.io Subject:

Re: [vpp-dev] Formatted elogs more than 20 bytes

2016-12-04 Thread Dave Barach (dbarach)
32 is an even divisor of CLIB_CACHE_LINE_BYTES for every platform that I can think of. The usual scheme: split the data across 2 (or more) elogs. Any special reason you can’t do that? Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Alex Salig

Re: [vpp-dev] DPDK SDK in plugin

2016-12-05 Thread Dave Barach (dbarach)
I’m sure that I can help, but this request isn’t specific enough. Please upload a draft patch with a README describing the library / contents you need to link into the plugin. Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of mahdi akrami Sent:

[vpp-dev] gerrit.fd.io acting up...

2017-01-03 Thread Dave Barach (dbarach)
Folks, Gerrit.fd.io is behaving badly this morning: glacially slow, gateway timeouts, disappearance of the +2 button for committers, etc. We've alerted the LF. No ETA for happy camping. Thanks... Dave ___ vpp-dev mailing list vpp-dev@lists.fd.io

Re: [vpp-dev] strange phenomenon of interface

2016-12-31 Thread Dave Barach (dbarach)
Take a look at vpp_api_test, specifically .../vat/api_format.c:api_ip_add_del_route()... Thanks... Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of yug...@telincn.com Sent: Saturday, December 31, 2016 7:23 AM To: vpp-dev Subject:

[vpp-dev] Python API binding suggestion / request....

2017-01-06 Thread Dave Barach (dbarach)
Dear Ole, I have a quick/easy request for the Python language binding. See pneum_connect(...). We need to make the client input queue size configurable, with a default size of 32. See below. Seems like a simple change to vpp_papi.py:connect(...) -> pneum_wrap.c:wrap_connect(...) ->

[vpp-dev] Reminder: vpp project 17.01 F0 (API freeze) tomorrow (12/7) at 5pm PST

2016-12-06 Thread Dave Barach (dbarach)
Thanks... Dave ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] vpp consistent per-packet latency

2016-12-06 Thread Dave Barach (dbarach)
The prevailing vector size is a self-timed, stable equilibrium value, arranged by the graph dispatcher. Individual graph nodes don't have to worry about the problem. Follow the coding patterns you'll see all over the place, and you should be good. The graph dispatcher is essentially a while(1)

Re: [vpp-dev] ioam_trace plugin: registration of HBH_OPTION_TYPE_IOAM_TRACE_DATA_LIST failed

2016-12-22 Thread Dave Barach (dbarach)
Workaround: you can make the pain go away by trashing the ioam plugin(s), e.g. in /usr/lib/vpp_plugins. Or, disable them in .../plugins/configure.ac in the obvious way, remove / rebuild / reinstall the Debian plugin package. Thanks… Dave From: vpp-dev-boun...@lists.fd.io

Re: [vpp-dev] Building router plugin

2017-03-24 Thread Dave Barach (dbarach)
Dear Luk, The "vpp-install," "install-packags," "install-deb" etc. targets will build the set of plugins configured in src/configure.ac: For example: $ cd build-root $ make PLATFORM=vpp TAG=vpp vpp-install HTH. Dave -Original Message- From: vpp-dev-boun...@lists.fd.io

Re: [vpp-dev] Building router plugin

2017-03-28 Thread Dave Barach (dbarach)
FWIW: I sent diffs to fix the build-system integration over the weekend, as well as a fair fraction of the FIB 2.0 integration... Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Ni, Hongjun Sent: Monday, March 27, 2017 10:32 PM To: Ed Warnicke

Re: [vpp-dev] Building router plugin

2017-03-26 Thread Dave Barach (dbarach)
+1. See diffs below, which are a start on the problem / fix first-order build and infra issues. The “router” component needs FIB 2.0 brain-police. I’m pretty sure that Pierre meant to write: “netlink and router plugin are NOT really maintained. It is not surprising that they do not compile

[vpp-dev] Gerrit 5859 verify failure

2017-03-25 Thread Dave Barach (dbarach)
Gerrit 5859 (https://gerrit.fd.io/r/#/c/5859) is almost certainly not responsible for the "make test" failure shown below. Does anyone know what's going on? I'm going to press the "recheck" button and hope for the best. Thanks... Dave 2:53:54

Re: [vpp-dev] vpp-plugins RPM dependency

2017-03-22 Thread Dave Barach (dbarach)
Simply remove the “dpdk” stanza from /etc/vpp/startup.conf if you want to run vpp without the dpdk plugin. Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Feng Pan Sent: Wednesday, March 22, 2017 1:47 PM To: vpp-dev

Re: [vpp-dev] Strange C Dyanmic Loading Failure

2017-03-29 Thread Dave Barach (dbarach)
...@redhat.com] Sent: Wednesday, March 29, 2017 10:46 AM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: Thomas F Herbert <therb...@redhat.com> Subject: Re: [vpp-dev] Strange C Dyanmic Loading Failure Thanks, let me know what I can do to help. On Wed, Mar 29, 2017 at 10:43 AM, Dave Barach (dba

Re: [vpp-dev] Strange C Dyanmic Loading Failure

2017-03-27 Thread Dave Barach (dbarach)
at it will crash as described. Thanks… Dave From: Adrian Daniel Calianu [mailto:adrian.cali...@gmail.com] Sent: Monday, March 27, 2017 10:27 AM To: Jon Loeliger <j...@netgate.com> Cc: vpp-dev <vpp-dev@lists.fd.io>; Dave Barach (dbarach) <dbar...@cisco.com> Subject: Re: [vpp-dev] S

Re: [vpp-dev] VPP API Test Crash - Need help debugging

2017-03-27 Thread Dave Barach (dbarach)
Dear Billy, Looks like a stale tree... vm = vlib_mains[os_get_cpu_number ()] from within vpp_api_test was always a mistake. I cleaned this up a while ago. Vpp_api_test was spuriously linked against libvlib.so, leading to this very crash in vpp_api_test until I cleaned up the set of libraries,

Re: [vpp-dev] problems in mips32

2017-03-20 Thread Dave Barach (dbarach)
//pop ra lw $29,0($29) //pop old stack jr $31 //return .end clib_calljmp; Regards, Xinying Xue From: Dave Barach (dbarach)<mailto:dbar...@cisco.com> Date: 2017-03-16 21:03 To: 薛欣颖<mailto:x

[vpp-dev] Spurious patch validation failure

2017-04-04 Thread Dave Barach (dbarach)
Any idea what could have cause this failure? https://jenkins.fd.io/job/vpp-verify-master-ubuntu1404/4739/ Thanks... Dave ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] is MLX4 PMD supported ?

2017-04-17 Thread Dave Barach (dbarach)
All bets are off since the dpdk plugin didn't load correctly. You'll need to track down ibv_fork_init(...)... Thanks... Dave -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Mircea Orban Sent: Monday, April 17, 2017 12:24 PM To:

Re: [vpp-dev] is MLX4 PMD supported ?

2017-04-17 Thread Dave Barach (dbarach)
on a regular basis ? > > I just want to know if I did something wrong or whether there might be an > actual issue here. > > Thanks, > Mircea > > > -Original Message- > From: Dave Barach (dbarach) [mailto:dbar...@cisco.com] > Sent: Monday, April 1

[vpp-dev] spurious patch validation failure: gerrit 6208

2017-04-18 Thread Dave Barach (dbarach)
Please see https://jenkins.fd.io/job/vpp-csit-verify-virl-master/4951/console, excerpt below. Probably not related to the patch. I've already pressed the "recheck" button. Thanks... Dave 13:03:53 + scp -i priv_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o

[vpp-dev] sw_interface_set_vxlan_bypass API message - 2x incompatible handlers...

2017-03-02 Thread Dave Barach (dbarach)
Dear John, I imagine that you might be the right person to warn about this... There are two incompatible implementations of vl_api_sw_interface_set_vxlan_bypass_t_handler. One in .../src/vpp/api/api.c, and the other one is in .../src/vnet/vxlan.c. One is feature-arc based, the other is not.

Re: [vpp-dev] Missing session.api.h file

2017-03-03 Thread Dave Barach (dbarach)
BUG: multiple registrations of 'vl_api_sw_interface_tag_add_del_reply_t_handler' means pretty much what it says. Two places in the code are registering handlers for that specific message. Last registrant wins. I found and fixed 30 of these when I first added the check. Most were relatively

Re: [vpp-dev] Missing session.api.h file

2017-03-03 Thread Dave Barach (dbarach)
too sleepy to do it accurately right now. Thanks… Dave From: Jon Loeliger [mailto:j...@netgate.com] Sent: Friday, March 3, 2017 10:43 PM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: Florin Coras <fcoras.li...@gmail.com>; vpp-dev <vpp-dev@lists.fd.io> Subject: Re:

Re: [vpp-dev] Missing session.api.h file

2017-03-04 Thread Dave Barach (dbarach)
See https://gerrit.fd.io/r/#/c/5622... Thanks… Dave From: Dave Barach (dbarach) Sent: Friday, March 3, 2017 10:50 PM To: Jon Loeliger <j...@netgate.com> Cc: Florin Coras <fcoras.li...@gmail.com>; vpp-dev <vpp-dev@lists.fd.io> Subject: RE: [vpp-dev] Missing session.api.h

Re: [vpp-dev] [Dev question on changing the VLIB_FRAME_SIZE]

2017-03-08 Thread Dave Barach (dbarach)
Linguaglossa Sent: Wednesday, March 8, 2017 9:54 AM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] [Dev question on changing the VLIB_FRAME_SIZE] Thank you for your reply, I actually re-built everything ( make wipe-release && make buil

Re: [vpp-dev] R Signal events between graph nodes within different threads

2017-03-08 Thread Dave Barach (dbarach)
...@zte.com.cn] Sent: Wednesday, March 8, 2017 2:50 AM To: hongjun...@intel.com Cc: alaga...@gmail.com; Dave Barach (dbarach) <dbar...@cisco.com>; zhao.zhig...@zte.com.cn; gu.ji...@zte.com.cn; pan.feng...@zte.com.cn; vpp-dev@lists.fd.io Subject: 答复: RE: R[vpp-dev] Signal events between graph

Re: [vpp-dev] [Dev question on changing the VLIB_FRAME_SIZE]

2017-03-08 Thread Dave Barach (dbarach)
Please make absolutely sure that (a) you’ve compiled the tree from scratch, and (b) that you’re not tripping over previously-installed shared libraries built with a different VLIB_FRAME_SIZE. Why are you interested in changing VLIB_FRAME_SIZE in the first place? Thanks… Dave From:

Re: [vpp-dev] VPP receive no tagged packet on Virtio interface

2017-03-06 Thread Dave Barach (dbarach)
I'm not sure if this is significant, but you wrote: "In a testcase I'm sending tagged frame with tag 20 and I'm expecting received packed with tag 10" The packet tracer shows the reverse: a packet received on vlan 10 and sent on vlan 20. 00:00:18:038106: dpdk-input GigabitEthernet0/4/0 rx

Re: [vpp-dev] [csit-dev] VPP receive no tagged packet on Virtio interface

2017-03-06 Thread Dave Barach (dbarach)
+1... Crud, missed that... Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Neale Ranns (nranns) Sent: Monday, March 6, 2017 11:07 AM To: Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco) ; vpp-dev@lists.fd.io Cc:

Re: [vpp-dev] Missing session.api.h file

2017-03-05 Thread Dave Barach (dbarach)
Cool... Thanks… Dave From: Jon Loeliger [mailto:j...@netgate.com] Sent: Sunday, March 5, 2017 10:06 AM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: Florin Coras <fcoras.li...@gmail.com>; vpp-dev <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] Missing session.api.h file O

Re: [vpp-dev] sw_interface_set_vxlan_bypass API message - 2x incompatible handlers...

2017-03-02 Thread Dave Barach (dbarach)
Cool... Thanks... Dave From: John Lo (loj) Sent: Thursday, March 2, 2017 4:32 PM To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: vpp-dev <vpp-dev@lists.fd.io> Subject: RE: sw_interface_set_vxlan_bypass API message - 2x incompatible handlers... Thanks Dave, I will clean up the

Re: [vpp-dev] Out of Tree Build Failure on vnet/rewrite.h

2017-03-31 Thread Dave Barach (dbarach)
I’d rather not move the API test tool. It’s compiled into vpp itself these days, to facilitate binary API - and vpp_api_test - debugging. I worked hard enough on the problem so that vpp manages to inhale vpp_api_test plugins, so that essentially the entire binary API can be exercised through

  1   2   3   >