[vpp-dev] i cannot change vlib_buffer_t to rte_mbuf correctly

2017-03-20 Thread Li, Rujun
Hi all I have a vlib_buffer_t packets (in GDB) looks like: $37 = {cacheline0 = 0x7fff54716f00 "\362\377*", current_data = -14, current_length = 42, flags = 0, free_list_index = 0, total_length_not_including_first_buffer = 0, next_buffer = 0, trace_index = 0, clone_count = 0, error = 401409,

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

2017-03-20 Thread Jon Loeliger
On Mon, Mar 20, 2017 at 9:18 PM, Jon Loeliger wrote: > Dave, > > With the advent of a compiling tree (hooray!), I've updated, rebuilt, > installed, and tried running all the C libraries and API pieces again. > Sadly, things are not working. > > Very early in the bring-up of a C executable that is

[vpp-dev] Strange C Dyanmic Loading Failure

2017-03-20 Thread Jon Loeliger
Dave, With the advent of a compiling tree (hooray!), I've updated, rebuilt, installed, and tried running all the C libraries and API pieces again. Sadly, things are not working. Very early in the bring-up of a C executable that is linked to VPP's libraries (vlibmemoryclient vlibapi svm vppinfra),

[vpp-dev] Questions about AF_PACKET and VNET_DEVICE_CLASS Functions

2017-03-20 Thread Jon Loeliger
Folks, I am trying to understand a bit more about the "host" interface for some AF_PACKET interfaces. Currently, there is a single API call to create an AF_PACKET interface. It simultaneously sets the HW_ADDR (ie, MAC address) of the interface to either user-specified value, or a randomly genera

[vpp-dev] VPP Python API for create host-interface ?

2017-03-20 Thread Shravan Ambati
Hello, I am running the latest vpp code from master branch. I am looking at the python APIs that vpp provides. I am specifically trying to find the API for the following cli command - create host-interface [] I could not find where exactly this is defined in the json files in /usr/shar/vpp/api/

Re: [vpp-dev] Make pkg-rpm seems to be failing...

2017-03-20 Thread Thomas F Herbert
Please review: https://gerrit.fd.io/r/#/c/5798/ On 03/20/2017 12:06 PM, Ed Warnicke wrote: Jon, Looking at : https://git.fd.io/vpp/tree/Makefile#n138 In make bootstrap... for deb packages on Ubuntu its checking to see if things are missing and failing fast if they are. I'd suggest we look

Re: [vpp-dev] Make pkg-rpm seems to be failing...

2017-03-20 Thread Thomas F Herbert
On 03/20/2017 12:06 PM, Ed Warnicke wrote: Jon, Looking at : https://git.fd.io/vpp/tree/Makefile#n138 In make bootstrap... for deb packages on Ubuntu its checking to see if things are missing and failing fast if they are. I'd suggest we look at doing something similar for rpms. Anyone inte

Re: [vpp-dev] Make pkg-rpm seems to be failing...

2017-03-20 Thread Burt Silverman
Jon's assessment is more accurate than what I wrote previously. That's because I was mashing together two issues that really are separate, but are closely related. In my case, I know I was trying to play a game of using minimal disk space, and I played a game at the start where I determined depende

Re: [vpp-dev] Make pkg-rpm seems to be failing...

2017-03-20 Thread Ed Warnicke
Jon, Looking at : https://git.fd.io/vpp/tree/Makefile#n138 In make bootstrap... for deb packages on Ubuntu its checking to see if things are missing and failing fast if they are. I'd suggest we look at doing something similar for rpms. Anyone interested in submitting a patch? Ed On Mon, Mar 2

Re: [vpp-dev] Make pkg-rpm seems to be failing...

2017-03-20 Thread Jon Loeliger
Burt and Ole, On Sun, Mar 19, 2017 at 7:26 AM, wrote: > >> >> Hmm, so https://gerrit.fd.io/r/#/c/5781/ >> isn't sufficient? >> > Necessary, yes. Sufficient? No. On the other hand... On Sun, Mar 19, 2017 at 11:51 AM, Burt Silverman wrote: > Ugh, I made a terrible bone head mistake... Possibl

Re: [vpp-dev] vhost user and upstream dpdk

2017-03-20 Thread Thomas F Herbert
Damjan, Thanks for your response. My answer is inline below. --TFH On 03/16/2017 02:25 PM, Damjan Marion wrote: On 16 Mar 2017, at 14:24, Thomas F Herbert > wrote: Do we still have a plan convergence toward upstream DPDK for vhost-user? This has come up in a

Re: [vpp-dev] Make pkg-rpm seems to be failing...

2017-03-20 Thread Thomas F Herbert
On 03/19/2017 12:51 PM, Burt Silverman wrote: Ugh, I made a terrible bone head mistake... Possibly I never ran make install-dep. Even if I had, I was unaware that it is a good idea to run it again, just to be sure, in a case like this. I probably thought it was like make bootstrap, where runn

Re: [vpp-dev] problems in mips32

2017-03-20 Thread 薛欣颖
I use a physical device, not a vicual one. Here are the information. # cat /proc/cpuinfo system type : Atheros AR934x processor : 0 cpu model : MIPS 74Kc V4.12 BogoMIPS: 279.55 wait instruction: yes microsecond timers : yes tl

Re: [vpp-dev] problems in mips32

2017-03-20 Thread Dave Barach (dbarach)
Perhaps someone in the community can help you. I have neither cycles nor equipment available to work on the problem. Just to ask: what kind of hardware are you using, or are you using a qemu model? From: 薛欣颖 [mailto:xy...@fiberhome.com] Sent: Sunday, March 19, 2017 11:18 PM To: Dave Barach (dbar