[vpp-dev] unexpected 65535 rx packets on vhost-user interface

2018-03-15 Thread wuxp
Hi,all i got unexpected 65535 packets when reconnect vhost-user interface. how to repeat: step 1: start vpp ,create a vhost (as client) and up, start a vm with previous vhost socket, send a packet (i use arping -c 1), then vpp will got 1 rx packet. it is OK. step2:  restart vpp ,create same

Re: [vpp-dev] unexpected 65535 rx packets on vhost-user interface

2018-03-15 Thread steven luong
Wuxp, The first thing is to validate your claim that nothing sent from the VM when VPP is restarted. Start tcpdump and watch nothing is sent from the VM. I assume it happens all the times as supposed to once in a blue moon. If that is validated, I’d like to see your qemu startup command to see

Re: [vpp-dev] dpdk drivers

2018-03-15 Thread Burt Silverman
Maybe you need to do some visual inspection during the build to check that what you think is being built is indeed being built and linked. Possibly you might [V=1] make build-release > build.log 2>&1 and look in build.log. Also manually examine timestamps on relevant files along with that.

Re: [vpp-dev] how to add a library to plugin?

2018-03-15 Thread Sara Gittlin
I had the same issue yesterday see Dave answer. But my lib was .so not static. Just add to your plugin.am xxx_plugin_am_LIBADD =-lyourlib בתאריך יום ה׳, 15 במרץ 2018, 17:32, מאת lin huang ‏: > Hi there, > > I want to know how to add a new static library to compile

Re: [vpp-dev] Ccache vs VPPAPIGEN

2018-03-15 Thread Jon Loeliger
On Thu, Mar 15, 2018 at 2:00 PM, Damjan Marion wrote: > > Lot of changes happened in this area in last 48 hours. There is no > bootstrap step needed anymore. > > Do you still see issues? > Damjan, I believe your changes have fixed things. Thanks! jdl

Re: [vpp-dev] make TEST=test_ip6 test failing on multiple machines, when NOT run as root.

2018-03-15 Thread Jon Loeliger
On Thu, Mar 15, 2018 at 1:54 PM, Damjan Marion wrote: > > Should be fixed now, issue was happening when VPP was allocating buffer > memory from 4K pages (running as non-root). > Damjan, It has gotten better, but I still see these:

Re: [vpp-dev] order of running 2 plugins

2018-03-15 Thread Damjan Marion
There is also inline function vnet_feature_next() and vnet_feature_next_with_data() which hides stuff Dave explained into oneliner... > On 13 Mar 2018, at 14:59, Dave Barach wrote: > > The feature arc infra handles dispatching packets from feature to feature, > depending

Re: [vpp-dev] worker_thread creation #vpp

2018-03-15 Thread Damjan Marion
Currently we don't support dynamic addition/deletion of the worker threads. It can be doable, but will require some under-the-hood work > On 7 Mar 2018, at 18:53, m...@ciena.com wrote: > > Looking to confirm worker_thread creation/deletion capabilities. > ./src/vpp/conf/startup.conf

Re: [vpp-dev] make TEST=test_ip6 test failing on multiple machines, when NOT run as root.

2018-03-15 Thread Damjan Marion
Should be fixed now, issue was happening when VPP was allocating buffer memory from 4K pages (running as non-root). > On 13 Mar 2018, at 15:24, Jon Loeliger wrote: > > On Tue, Mar 13, 2018 at 5:47 AM, Klement Sekera > wrote: >

Re: [vpp-dev] Ccache vs VPPAPIGEN

2018-03-15 Thread Damjan Marion
Lot of changes happened in this area in last 48 hours. There is no bootstrap step needed anymore. Do you still see issues? > On 15 Mar 2018, at 00:49, Jon Loeliger wrote: > > Good Evening Sports Fans, > > Have we got a match for you tonight! > > In this corner, ccache.

Re: [vpp-dev] make TEST=test_ip6 test failing on multiple machines, when NOT run as root.

2018-03-15 Thread Burt Silverman
I am getting those File Exists errors on Debian Buster Beta, and worse luck on Ubuntu 17.10 (other errors); but CentOS worked fine. All with tip of master branch code. Burt On Thu, Mar 15, 2018 at 6:36 PM, Jon Loeliger wrote: > On Thu, Mar 15, 2018 at 4:45 PM, Dave Barach

Re: [vpp-dev] make TEST=test_ip6 test failing on multiple machines, when NOT run as root.

2018-03-15 Thread Jon Loeliger
On Thu, Mar 15, 2018 at 4:45 PM, Dave Barach wrote: > +1. Definitely try “make test” as root, and let folks know how it goes… > > > > *From:* vpp-dev@lists.fd.io *On Behalf Of *Damjan > Marion > *Sent:* Thursday, March 15, 2018 5:24 PM > *To:*

[vpp-dev] FD.io minisummit @ Kubecon EU May 2-4 Copenhagen CFP opens

2018-03-15 Thread Edward Warnicke
FD.io will be holding a minisummit @Kubecon EU May 2-4 in Copenhagen. Please submit your talks at the CFP here: https://fd.io/event/fd-io-mini-summit-at-kubecon-cloudnativecon-europe/ Ed

Re: [vpp-dev] make TEST=test_ip6 test failing on multiple machines, when NOT run as root.

2018-03-15 Thread Dave Barach
+1. Definitely try "make test" as root, and let folks know how it goes... From: vpp-dev@lists.fd.io On Behalf Of Damjan Marion Sent: Thursday, March 15, 2018 5:24 PM To: vpp-dev@lists.fd.io Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] make TEST=test_ip6 test failing on

Re: [vpp-dev] unexpected 65535 rx packets on vhost-user interface

2018-03-15 Thread 伍旭鹏 <w...@anchnet.com>
Steven, i had validated no packet send from guest via tshark (like tcpdump). guest is ubuntu 16.04 qemu command : ( connect the guest console via vncviewer ) /usr/libexec/qemu-kvm -enable-kvm -m 512 -cpu host -vga cirrus -vnc 0.0.0.0:0 -drive file="ubuntu.qcow2",if=virtio,aio=threads

Re: [vpp-dev] LOG and ERROR handlers

2018-03-15 Thread Sara Gittlin
Thank you Marco That's what I wanted - Sara On Thu, Mar 15, 2018 at 11:35 AM, Marco Varlese wrote: > On Thu, 2018-03-15 at 10:33 +0200, Sara Gittlin wrote: >> Thank you Keith >> I mean the error/log macros that write to the log files > Maybe you're looking for clib_warning()

Re: [vpp-dev] dpdk drivers

2018-03-15 Thread xulang
Hi, I changed DPDK_BUILD_DIR?= $(CURDIR)/dpdk-17.02 and the file "rte_eth_bond_pmd.c" under this folder. I also changed dpdk Makefile like this: $(B)/.extract.ok: $(B)/.download.ok #@echo --- extracting $(DPDK_TARBALL) --- #@tar --directory $(B) --extract --file

[vpp-dev] Interface name to sw-if-index

2018-03-15 Thread Sara Gittlin
Hello i have a config file being read during init , one of its fileds is if-name. I need to have sw-if-index given the if-name. John already answered how to do that - but i fill lost with the cli buffers i only need a function get-if-index-by-if-name that receives if-name and returns

Re: [vpp-dev] LOG and ERROR handlers

2018-03-15 Thread Sara Gittlin
Thank you Keith I mean the error/log macros that write to the log files Regards -Sara On Wed, Mar 14, 2018 at 10:30 PM, Keith Burns wrote: > If using default startup.conf found; > src/vpp/conf/startup.conf > it is /var/log/vpp/vpp.log > > > On Wed, Mar 14, 2018 at 9:27 AM

Re: [vpp-dev] LOG and ERROR handlers

2018-03-15 Thread Marco Varlese
On Thu, 2018-03-15 at 10:33 +0200, Sara Gittlin wrote: > Thank you Keith > I mean the error/log macros that write to the log files Maybe you're looking for clib_warning() ? > > Regards > -Sara > > On Wed, Mar 14, 2018 at 10:30 PM, Keith Burns wrote: > > If using default

[vpp-dev] Interface name to sw-if-index

2018-03-15 Thread Sara Gittlin
I send this again - hope someone can help Hello I need to get sw-if-index from if-name (the if-index that is shown in the :"show interface" in the Idx column) John already answered how to do that - but i fill lost with the cli buffers John's answer: "The functions in the area you are

[vpp-dev] Reminder: 18.04 API freeze is next Wednesday!

2018-03-15 Thread Chris Luke
API freeze next week; get your API-related patches in soon! https://wiki.fd.io/view/Projects/vpp/Release_Plans/Release_Plan_18.04 Milestone Date Deliverables F0 2018-03-21 APIs frozen. Only low-risk changes accepted on main branch. Cheers, Chris.

[vpp-dev] how to add a library to plugin?

2018-03-15 Thread lin huang
Hi there, I want to know how to add a new static library to compile with a specific plugin source code into a .so file? Is there a guidance? xxx_plugin/good.c xxx_plugin/bana.c comlile ==> xxx_plugin.so xxx_plugin/app.a Thank you!!!