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 que

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) Cc: Florin Coras ; vpp-dev Subject: Re: [vpp-dev] Missing session.api.h file On Sat, Mar 4, 2017 at 7:57 AM, Dave Barach (dbarach) mailto:dbar...@cisco.com

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 Cc: Florin Coras ; vpp-dev Subject: RE: [vpp-dev] Missing session.api.h file Oh, no need to bisect or otherwise screw around. I found the problem. Too many

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) Cc: Florin Coras ; vpp-dev Subject: Re: [vpp-dev] Missing session.api.h file On Fri, Mar 3, 2017 at 9:20 PM, Dave Barach (dbarach

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 ben

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

2017-03-03 Thread Dave Barach (dbarach)
Merged... Thanks... D. From: John Lo (loj) Sent: Friday, March 3, 2017 1:46 PM To: Dave Barach (dbarach) Cc: vpp-dev Subject: RE: sw_interface_set_vxlan_bypass API message - 2x incompatible handlers... The cleanup patch is submitted. Please review/merge at your convenience: https

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) Cc: vpp-dev Subject: RE: sw_interface_set_vxlan_bypass API message - 2x incompatible handlers... Thanks Dave, I will clean up the one in api.c which is obsolete. Thanks for letting me

[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. On

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 -- March 8 All, Please re

Re: [vpp-dev] system func in vpp

2017-03-02 Thread Dave Barach (dbarach)
Do you have a specific reason for calling that function? If the answer amounts to “I need some memory,” please use clib_mem_alloc(...) instead. Thanks… Dave From: yug...@telincn.com [mailto:yug...@telincn.com] Sent: Thursday, March 2, 2017 2:43 AM To: Luke, Chris ; Dave Barach (dbarach) ; Ed

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

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

Re: [vpp-dev] Fixed QAT device binding ...

2017-02-24 Thread Dave Barach (dbarach)
I've merged the patch... Thanks... Dave From: Tibor Frank -X (tifrank - PANTHEON TECHNOLOGIES at Cisco) Sent: Friday, February 24, 2017 6:02 AM To: vpp-dev@lists.fd.io; Dave Barach (dbarach) ; Gonzalez Monroy, Sergio (sergio.gonzalez.mon...@intel.com) ; Rybalchenko, Kirill (kirill.ryb

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: [vpp-dev] Coding Prefer

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

Re: [vpp-dev] Loopback Interface Names

2017-02-23 Thread Dave Barach (dbarach)
Inline... Thanks… Dave From: Jon Loeliger [mailto:j...@netgate.com] Sent: Thursday, February 23, 2017 9:27 AM To: Dave Barach (dbarach) Cc: vpp-dev Subject: Re: [vpp-dev] Loopback Interface Names Dave, Thanks for taking the time to help me here! On Wed, Feb 22, 2017 at 4:47 PM, Dave Barach

Re: [vpp-dev] Loopback Interface Names

2017-02-22 Thread Dave Barach (dbarach)
You would certainly have to rewrite vnet_create_loopback_interface(...) a little bit. That’s not necessarily a bad thing. Please brain-police the instance number: flunk attempts to create specific loopback instances (e.g. loop0) more than once, and so forth. Bitmap, plus some upper limit (maybe

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: vpp-de

Re: [vpp-dev] Threads in vpp

2017-02-22 Thread Dave Barach (dbarach)
[@0]: dpo-load-balance: [index:6 buckets:1 uRPF:6 to:[0:0]] [0] [@2]: dpo-receive Thanks… Dave From: Pragash Vijayaragavan [mailto:pxv3...@rit.edu] Sent: Tuesday, February 21, 2017 2:33 PM To: Dave Barach (dbarach) ; vpp-dev@lists.fd.io Cc: Arjun Dhuliya ; Shailesh Vajpayee ; John Marshall

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] 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 ; Andrew Yourtchenko (ayourtch) ;

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 ; Arjun Dhuliya

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) ; Pavel Kotucek -X (pkotucek

[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@lis

[vpp-dev] FW: [tsc] NOTIFICATION: Jenkins queue backed up

2017-02-16 Thread Dave Barach (dbarach)
-Original Message- From: tsc-boun...@lists.fd.io [mailto:tsc-boun...@lists.fd.io] On Behalf Of Vanessa Valderrama Sent: Thursday, February 16, 2017 10:17 AM To: disc...@lists.fd.io; t...@lists.fd.io; infra-steer...@lists.fd.io Subject: Re: [tsc] NOTIFICATION: Jenkins queue backed up I apo

[vpp-dev] FW: [discuss] NOTIFICATION: Jenkins queue backed up

2017-02-16 Thread Dave Barach (dbarach)
-Original Message- From: discuss-boun...@lists.fd.io [mailto:discuss-boun...@lists.fd.io] On Behalf Of Vanessa Valderrama Sent: Thursday, February 16, 2017 10:08 AM To: disc...@lists.fd.io; t...@lists.fd.io; infra-steer...@lists.fd.io Subject: [discuss] NOTIFICATION: Jenkins queue backed

[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

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: vpp-dev@lists.f

Re: [vpp-dev] VPP API Synchronization Question

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

Re: [vpp-dev] VPP API Synchronization Question

2017-02-10 Thread Dave Barach (dbarach)
on a separate pthread. The api test tool uses the world’s crudest synchronization scheme. Contact me off-list if you can’t figure out what’s wrong. Thanks… Dave From: Jon Loeliger [mailto:j...@netgate.com] Sent: Friday, February 10, 2017 12:12 PM To: vpp-dev Cc: Dave Barach (dbarach) ; Edward

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

2017-02-09 Thread Dave Barach (dbarach)
, February 8, 2017 11:15 PM To: Dave Barach (dbarach) Cc: Pierre Pfister (ppfister) ; 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 couldn't find ip input feature. I found input u

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

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

2017-02-08 Thread Dave Barach (dbarach)
tap interface ---> linux stack . . . .| Client N + dst-addr is _not_ for us, it’s going out into the world. VPP should intercept. Basically a proxy. On Wed, Feb 8, 2017 at 5:48 AM, Dave Barach (dbarach) mailto:dbar...@cisco.com>> wrote: Dear John, Is this picture what you ha

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

2017-02-08 Thread Dave Barach (dbarach)
...@lists.fd.io> mailto:vpp-dev-boun...@lists.fd.io>> on behalf of Sreejith Surendran Nair mailto:sreejith.surendrann...@linaro.org>> Sent: Wednesday, February 8, 2017 2:58 PM To: Dave Barach (dbarach) Cc: vpp-dev Subject: Re: [vpp-dev] Query regarding VPP Pool allocation Hi Dave,

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) Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] classify and redirect to tap Hi Dave, I h

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) Cc: vpp-dev Subject: Re: [vpp-dev] Query regarding VPP

Re: [vpp-dev] [sig-scan-admin] fd.io vpp project: summary stats out of whack

2017-02-07 Thread Dave Barach (dbarach)
Dear Mel, NP, thanks for letting me know. With my http://fd.io vpp project PTL hat on: we really appreciate Coverity’s support of our project. Coverity has identified a number of all-too-real problems for us. Thanks… Dave Barach From: Mel Llaguno [mailto:mel.llag...@synopsys.com

[vpp-dev] fd.io vpp project: summary stats out of whack

2017-02-07 Thread Dave Barach (dbarach)
Folks, Many of the summary stats and graphs displayed at https://scan.coverity.com/projects/fd-io-vpp seem grossly out of sync with the number of unresolved defects visible at https://scan9.coverity.com/reports.htm#v26724/p12999. Any idea what's going on? Thanks. Dave B

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(...) immed

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 .../src/

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 o

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 Subject: Re: [vpp-dev] Committer / Maintainer model. In th

[vpp-dev] vpp home gateway malicious traffic noted

2017-02-06 Thread Dave Barach (dbarach)
Folks, In several days of running, I've seen unsolicited net-to-gateway [malicious] traffic - summarily discarded by the snat plugin - as follows: * Mirai botnet [tcp -> port 5747] * Microsoft WSDAPI [tcp -> port 5358] * Telnet [tcp -> port 23] * HTTP alternate [tcp -> port 81]

Re: [vpp-dev] memory allocation fail in clib_bitmap

2017-02-06 Thread Dave Barach (dbarach)
Dear Juan, Bitmaps are dense byte vectors. You’re asking clib_bitmap_set to create a bitmap that’s 290,984,198,272 bytes (290gb) in size. The main heap is likely 3gb, and cannot exceed 4gb unless you build an image with CLIB_VEC64 > 1. Please don’t go there. If you need a sparse structure, try

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) ; vpp-dev@lists.fd.io Cc: csit-...@lists.fd.io Subject: Re: [vpp-dev] vpp patch(es

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

[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

[vpp-dev] Another vpp patch validation failure

2017-02-02 Thread Dave Barach (dbarach)
traffic_scripts/ipfix_check.py", line 141, in main raise RuntimeError("Unable to parse IPFIX set after header.") RuntimeError: Unable to parse IPFIX set after header. Thanks... Dave -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd

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) ; Dave Wallace ; csit-...@lists.fd.io Cc: vpp-dev@lists.fd.io Subject: RE: vpp patch validation

[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, u'\''

Re: [vpp-dev] [FD.io Helpdesk #36114] [linuxfoundation.org #36114] RE: Verify job failures due to external IP address lookup

2017-02-01 Thread Dave Barach (dbarach)
I just pressed the Linux Foundation "emergency" button, to wake up someone to deal with the problem. Thanks… Dave -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of matfa...@cisco.com via RT Sent: Wednesday, February 1, 2017 1:55 AM To

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 ; vpp-dev@lists.fd.io; hc2...@lists.fd.io Cc: Dave Barach (dbarach) ; Damjan Marion (damarion) Subject: RE: Coverity warnings in generated java files

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

2017-01-27 Thread Dave Barach (dbarach)
so 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) ; nsh_sfc-...@lists.fd.i

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

2017-01-27 Thread Dave Barach (dbarach)
Please see if vpp packet tracer will show you why the packets aren't behaving as required... For example: Vpp# trace add dpdk-input 50 Vpp# show trace HTH... Thanks... Dave P.S. you might need to specify a node other than dpdk-input if e.g. you're using tap, af_packet, etc. other sorts of in

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) Cc: vpp-dev Subject: Re: [vpp-dev] SNAT Plugin Use On Thu, Jan 26, 2017 at 4:38 PM, Jon Loeliger mailto:j...@netgate.com>> wrote: Does this same mechanism hold true for the VPE messages?

Re: [vpp-dev] SNAT Plugin Use

2017-01-26 Thread Dave Barach (dbarach)
index (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) Cc: vpp-dev Subject: Re: [vpp-dev] SNAT Plugin Use On Wed, Jan 25, 2017 at 10:49 AM, Dave Barach (dbarach) mailto:dbar...@cisco.com>

Re: [vpp-dev] SNAT Plugin Use

2017-01-25 Thread Dave Barach (dbarach)
Dear Jon, Sorry for the delayed response. Anyhow, the constant VL_MSG_FIRST_AVAILABLE is a historical name for a simple thing: the number of binary API messages defined by a given plugin. I’m not sure what you’re trying to do, but it’s actually just as well that you ran into a compile error. I

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 maneu

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

Re: [vpp-dev] Ubuntu 14.04 support in vpp 17.04?

2017-01-24 Thread Dave Barach (dbarach)
I’d say “no, let’s deprecate official 14.04 support.” Other opinions? Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Ed Warnicke Sent: Tuesday, January 24, 2017 1:27 PM To: vpp-dev Subject: [vpp-dev] Ubuntu 14.04 support in vpp 17.04? The ques

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

2017-01-24 Thread Dave Barach (dbarach)
“It should just work...” I’m vastly more familiar with Ubuntu, which is why I went there. Thanks… Dave From: Bernier, Daniel [mailto:daniel.bern...@bell.ca] Sent: Tuesday, January 24, 2017 11:55 AM To: Dave Barach (dbarach) ; vpp-dev Subject: Re: [vpp-dev] vpp home gateway use-case added to

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

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 forwarded message: From:

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

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

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

Re: [vpp-dev] VPP 17.01 Formal Release

2017-01-12 Thread Dave Barach (dbarach)
Are you interested in a list of .debs and .rpms? Thanks… Dave -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Vanessa Valderrama Sent: Thursday, January 12, 2017 2:11 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] VPP 17.01 Formal Rel

Re: [vpp-dev] VPP home gateway

2017-01-11 Thread Dave Barach (dbarach)
; } /etc/default/isc-dhcp-server: INTERFACES="lstack" Thanks… Dave From: Thomas F Herbert [mailto:therb...@redhat.com] Sent: Wednesday, January 11, 2017 6:19 PM To: Dave Barach (dbarach) Subject: Re: VPP home gateway On 01/10/2017 12:53 PM, Dave Barac

Re: [vpp-dev] VPP Build Bombing Out on libsvm.la?

2017-01-11 Thread Dave Barach (dbarach)
Here’s what I do when switching branches: $ cd build-root $ make distclean $ cd ../ $ git clean -fx $ cd build-root $ ./bootstrap.sh $ # build should work HTH… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Burt Silverman Sent: Wednesday, January 11, 20

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) ; Juraj Linkes -X (jlinkes - PANTHEON TECHNOLOGIES at Cisco) ; vpp-dev@lists.fd.io Subject: RE: VPP-556 - vpp crashing in an openstack odl stack

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 t

Re: [vpp-dev] vcgn plugin

2017-01-09 Thread Dave Barach (dbarach)
+1... Good idea... Thanks... Dave -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Damjan Marion (damarion) Sent: Monday, January 9, 2017 6:42 PM To: vpp-dev Subject: [vpp-dev] vcgn plugin After recent source tree re-org, we have on

Re: [vpp-dev] make-plugin.sh is missing configure.ac and Makefile.am? (resend with plain text)

2017-01-09 Thread Dave Barach (dbarach)
Please put this onto wiki.fd.io... Note that I try to keep .../build-root/emacs-lisp/make-plugin.el [and friends] up-to-date. Last time I checked - a few days ago - it managed to generate a working plugin. The edits to the top-level Makefile.am and [possibly] to configure.ac are not covered. Fo

[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(...) -> pneu

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

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] strange ph

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 [mailto:vpp-dev-boun..

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

2016-12-21 Thread Dave Barach (dbarach)
Dear Ole, That makes sense to me. We have a few problems to address: 1. Patches not being reviewed in a timely fashion 2. Committers spending too much time reviewing patches 3. Committers reviewing patches outside their area of expertise 4. Inability to filter code review request emails from gen

Re: [vpp-dev] [csit-dev] vxlan-gpe-pop-ioam-v4: multiply-defined by standard plugin build

2016-12-19 Thread Dave Barach (dbarach)
Yes. Damjan is going to add the ~3-liner [back] into the deb/rpm builds to permanently fix the problem. This issue has been around since we spun up fd.io about a year ago. Thanks… Dave From: Maciek Konstantynowicz (mkonstan) Sent: Monday, December 19, 2016 10:18 AM To: Dave Barach (dbarach

Re: [vpp-dev] [csit-dev] FW: vxlan-gpe-pop-ioam-v4: multiply-defined by standard plugin build

2016-12-19 Thread Dave Barach (dbarach)
OGIES at Cisco) Sent: Monday, December 19, 2016 4:44 AM To: Dave Barach (dbarach) ; csit-...@lists.fd.io Subject: RE: [csit-dev] FW: vxlan-gpe-pop-ioam-v4: multiply-defined by standard plugin build Hello Dave, Unfortunately the log of the corresponding vpp-csit-verify job is already deleted so

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 ; Dave Barach (dbarach) ; t...@lists.fd.io; vpp-dev ; Ed Warnicke (eaw) Cc: Steve Shin (jonshin

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

2016-12-14 Thread Dave Barach (dbarach)
+1, thanks Burt... D. From: Burt Silverman [mailto:bur...@gmail.com] Sent: Wednesday, December 14, 2016 3:29 PM To: Dave Barach (dbarach) Cc: mahdi akrami ; vpp-dev Subject: Re: [vpp-dev] Fwd: DPDK SDK in plugin and in some cases you also want to add -L to the expression (like when the

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

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) Subject: Re: [vpp-dev] Fwd: DPDK SDK in plugin Hi, Could you please

[vpp-dev] API-based debug CLI...

2016-12-14 Thread Dave Barach (dbarach)
Good news on the API-based debug CLI front... Net of a nip here and a tuck there: DBGvpp# binary-api tap_connect tapname foo hwaddr random DBGvpp# bin sw_interface_add_del_address sw_if_index 1 192.168.4.1/24 DBGvpp# bin sw_interface_set_flags sw_if_index 1 admin-up DBGvpp# api trace save foo API

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

2016-12-14 Thread Dave Barach (dbarach)
gin To: "Dave Barach (dbarach)" 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 in my plugin. Thanks On Mon, Dec 5, 2016 at 4:16 PM, Dave Barach (dbarach) ma

Re: [vpp-dev] [FD.io Helpdesk #34316] jenkins.fd.io: no executors

2016-12-11 Thread Dave Barach (dbarach)
Ack, thanks... D -Original Message- From: Konstantin Ryabitsev via RT [mailto:fdio-helpd...@rt.linuxfoundation.org] Sent: Sunday, December 11, 2016 11:06 AM To: Dave Barach (dbarach) Cc: Ed Warnicke (eaw) ; hagb...@gmail.com Subject: [FD.io Helpdesk #34316] jenkins.fd.io: no executors

[vpp-dev] FW: jenkins.fd.io: no executors

2016-12-11 Thread Dave Barach (dbarach)
FYI... From: Dave Barach (dbarach) Sent: Sunday, December 11, 2016 9:21 AM To: responsible_parties at linuxfoundation dot org Subject: jenkins.fd.io: no executors Looks like the wheels fell off completely 7-8 hrs ago. Please investigate AYEC. Thanks... Dave

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: Mo

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 S

Re: [vpp-dev] [csit-dev] [it-infrastructure-alerts] Upstream Network Maintenance, Dec 1st and 2nd PT

2016-12-01 Thread Dave Barach (dbarach)
It looks like all of the Jenkins minions are stuck again. Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Damjan Marion (damarion) Sent: Thursday, December 1, 2016 7:38 AM To: Ed Warnicke Cc: csit-...@lists.fd.io; vpp-dev Subject: Re: [vpp-dev]

[vpp-dev] Jenkins queue stuck again

2016-11-30 Thread Dave Barach (dbarach)
It looks like the Jenkins queue is stuck again. I've attempted to alert the LF infra folks. In case enquiring minds want to know... Thanks... Dave ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] VPP Compilation Issue on Centos

2016-11-24 Thread Dave Barach (dbarach)
Check the number of hugetlb pages: cat /proc/sys/vm/nr_hugepages. Rough guess, repeated compilations have fragmented memory to the point where the minimum number of hugetlb pages is not available. A reboot with the vpp packages installed should cure the problem. Thanks… Dave From: vpp-dev-boun

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

2016-11-22 Thread Dave Barach (dbarach)
ny 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 To: Prerit Jain mailto:pre

Re: [vpp-dev] VPP Compilation Issue

2016-11-21 Thread Dave Barach (dbarach)
“I am currently using 32 bit Ubuntu 14.04 version” I’d suggest running 64-bit Ubuntu 16.04. Although we’d be happy to take patches to clean up the [all but certain] bit-rot you’ve encountered, we test against 64-bit Ubuntu 16.04 all the time. 32-bit Ubuntu 14.04, not so much... Thanks… Dave Fr

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

<    5   6   7   8   9   10   11   >