[vpp-dev] VPP and Mellanox 40 Gb/s NIC

2017-10-09 Thread Alessio Silvestro
Hi all, I am working on VPP v17.04.2-2. I use to work with 10Gb/s Intel NICs. Now, I would like to use a 40Gb/s Mellanox ConnectX-3 NIC. I read a previous thread on the topic ( https://lists.fd.io/pipermail/vpp-dev/2017-June/005540.html) however it refers only to the new generation ConnectX-4.

Re: [vpp-dev] VPP Multi-thread

2017-10-04 Thread Alessio Silvestro
Yeah you completely got the point. Thanks for the hint ;) Alessio On Oct 4, 2017 12:11, "Damjan Marion" <dmarion.li...@gmail.com> wrote: > > > On 2 Oct 2017, at 18:14, Alessio Silvestro <ale.silver...@gmail.com> > wrote: > > Dear all, > > I am run

[vpp-dev] VPP Multi-thread

2017-10-02 Thread Alessio Silvestro
Dear all, I am running VPP on a CPU with 2 sockets and 4 virtual cores. The startup configuration is the following: unix { > interactive > nodaemon > } > > cpu { > main-core 0 > corelist-workers 2-3 > *workers 2* > } > > dpdk { > dev :07:00.0 { > num-rx-queues 2 > } >

[vpp-dev] Poor L3/L4 Performance

2017-09-25 Thread Alessio Silvestro
Dear all, I am performing some experiments on VPP in order to get some performance metrics for specific applications. I am working on vpp v17.04.2-2. In order to have a baseline of my system, I run L2 XConnect (XC) as in [ https://perso.telecom-paristech.fr/~drossi/paper/vpp-bench-techrep.pdf].

[vpp-dev] Changing VLIB_FRAME_SIZE VPP v17.07

2017-07-29 Thread Alessio Silvestro
Dear all, I am currently working on VPP v17.07. I would like to do some measurement and change the size of the VLIB_FRAME_SIZE, defined in VPP_ROOT/src/vlib/node.h. However, I face an issue similar to the post (https://lists.fd.io/pipermail/vpp-dev/2017-March/004361.html). More in detail,

Re: [vpp-dev] Capturing Packets with Particular Ethertypes

2017-07-28 Thread Alessio Silvestro
thertype of the packet. From your description, > the interface appear to be in L2 mode. > > > > Regards, > > John > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Alessio Silvestro > *Sent:* Thursday, July

[vpp-dev] Capturing Packets with Particular Ethertypes

2017-07-27 Thread Alessio Silvestro
Dear all, I am trying to capture packets with a particular Ethertype. Let's say I want the ethertype 0x2323. I first define the new protocol type in vpp/srv/vnet/ethernet/types.def ethernet_type (0x2323, MY_PROTOCOL) Thus, I created and registered a new node "my_node". In the init function

Re: [vpp-dev] VPP: Answer UDP Packets

2017-07-12 Thread Alessio Silvestro
pp-dev-boun...@lists.fd.io> on behalf of Dharmaray Kundargi < > dharmaray.kunda...@mavenir.com> > Date: Wednesday, 21 June 2017 at 10:48 > To: "Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)" < > ksek...@cisco.com>, Alessio Silvestro <ale.silver...@gma

Re: [vpp-dev] Buffer allocation failure

2017-06-30 Thread Alessio Silvestro
iday, June 30, 2017 8:29 AM > *To:* Alessio Silvestro <ale.silver...@gmail.com>; vpp-dev@lists.fd.io > *Subject:* Re: [vpp-dev] Buffer allocation failure > > > > The packet you receive, what do you do with it? > > > > If you don’t forward it, you have two choices:

Re: [vpp-dev] VPP: Answer UDP Packets

2017-06-16 Thread Alessio Silvestro
out > b.) loops back packets received - bfd_udp.c - bfd_udp_echo_input() > > I'm not sure what's your use case, whether you are trying to reuse > existing buffer, but one of these should fit it. > > Regards, > Klement > > Quoting Alessio Silvestro (2017-06-14 17

[vpp-dev] VPP: Answer UDP Packets

2017-06-14 Thread Alessio Silvestro
Dear all, I implemented a new VPP node that receives UDP traffic using the following function: udp_register_dst_port (vm, PORT, my_node.index , 1 /* is_ip4 */); I am able to parse the packet and I would like to be able to send back an UDP packet. Looking at the source code, the only function

Re: [vpp-dev] New vpp node

2017-06-14 Thread Alessio Silvestro
> /neale > > > > *From: *<vpp-dev-boun...@lists.fd.io> on behalf of Alessio Silvestro < > ale.silver...@gmail.com> > *Date: *Monday, 12 June 2017 at 17:42 > *To: *"vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> > *Subject: *[vpp-dev]

[vpp-dev] New vpp node

2017-06-12 Thread Alessio Silvestro
Dear all, I am implementing a new node in VPP. The code is in ~/vpp/src/vnet/mynode/ In order to compile the code, I added the following lines to the file ~/vpp/src/vnet.am libvnet_la_SOURCES += \ vnet/mynode/my_file.c nobase_include_HEADERS += \

Re: [vpp-dev] VPP Node Debug

2017-06-06 Thread Alessio Silvestro
start VPP with: > punt { socket } > > Then you should see the print messages you added in on the VPP console / > cli. > > Best regards, > Ole > > > On 5 Jun 2017, at 19:49, Alessio Silvestro <ale.silver...@gmail.com> > wrote: > > > > Dear Ole, > &g

Re: [vpp-dev] VPP Node Debug

2017-06-05 Thread Alessio Silvestro
nix { interactive }. > And directly from a the build directory. > The vagrant stuff is mostly useful for demo and first look. Sounds like > you really want to do some development. > > Cheers, > Ole > > > On 2 Jun 2017, at 13:31, Alessio Silvestro <ale.silver...@gmail.com>

Re: [vpp-dev] VPP Node Debug

2017-06-02 Thread Alessio Silvestro
he output of clib_warning() call should be in the syslog. If running vpp > in Ubuntu, take a look in /var/log/syslog. -John > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Alessio Silvestro > *Sent:* Thursday, June 01, 201

Re: [vpp-dev] VPP Node Debug

2017-06-01 Thread Alessio Silvestro
sole when running in a debugger, or > interactively, clib_warning() may be what you are looking for. > > > > Chris. > > > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Alessio Silvestro > *Sent:* Thursday, June 1, 2017 1

[vpp-dev] VPP Node Debug

2017-06-01 Thread Alessio Silvestro
Hi all, I am using this code "https://gerrit.fd.io/r/#/c/6721/; to in order to enable an external process to receive UDP packets. I tried to use printk -- including module.h in the c file. When I compile VPP with: TOPDIR/vpp make build-release I got the following error fatal error:

[vpp-dev] VPP & UDP Traffic

2017-05-30 Thread Alessio Silvestro
Dear all, I am currently working on VPP and I am interested in receiving UDP traffic at a specific port. However, I have seen that the project regarding L4 protocols (e.g., TCP, UDP) namely TLDK (Transport Layer Development Kit), is still a project proposal. Is there a simple way to listen to

[vpp-dev] VPP/How To Build The Sample Plugin

2017-05-26 Thread Alessio Silvestro
Hi all, I am trying to build the sample vpp-engine plug-in as explained here ( https://wiki.fd.io/view/VPP/How_To_Build_The_Sample_Plugin). I already tested my vpp installation, for instance it works when I created a Source NAT. I downloaded the most updated version of the sample-plugin and run

[vpp-dev] VPP interface configuration problem

2017-05-24 Thread Alessio Silvestro
Dear all, I use the vagrant installation. I can start the VM, build the packages and start vpp process. I am stuck at the step (Step 1: Configure and enable an interface) of the guide available at https://wiki.fd.io/view/VPP/Build,_install,_and_test_images. At the first boot I have: