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] 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] 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] 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.

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

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

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

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] 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] 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] 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)

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

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] 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] 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] 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] @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 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] 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] 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] 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] 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] 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] 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] 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

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

<    1   2   3