[vpp-dev] Flowprobe without IPFIX #flowprobe #vpp #vnet

2020-11-23 Thread Solis JR, M. (Mauricio) via lists.fd.io
Hi, I am trying to duplicate traffic in the following manner: VPP [Physical DPDK Interface] <<--[ *PROBE* ]-- [AF_PACKET host-interface] -

[vpp-dev] DPDK TX Queue Allocation #vpp #vnet #dpdk

2020-11-19 Thread Solis JR, M. (Mauricio) via lists.fd.io
Hi, I am trying to figure out where VPP allocates memory for the DPDK TX queues. In dpdk/common.c I am seeing a call to: vec_validate_aligned (xd->tx_queues, xd->tx_q_used - 1, CLIB_CACHE_LINE_BYTES) I'm not if this allocates memory for each queue since I'm not seeing a size other than for alig

[vpp-dev] Plugin node executing way after #vnet #vpp

2020-09-23 Thread Solis JR, M. (Mauricio) via lists.fd.io
Hi, I've created a timestamp plugin to stamp all packets being received prior to the ethernet-input node.  The problem I'm seeing, based on debug prints I've inserted into VLIB_NODE_FN (timestamp_node), is that my plugin node is running way way after any other node (seconds).  I have similar pr

Re: [vpp-dev] How to include my custom plugin in the rpm packages.

2020-09-22 Thread Solis JR, M. (Mauricio) via lists.fd.io
Hi, Has anyone figured this out??  I'm using 'make pkg-deb' and I'm similar results as above.  'make run' and 'make debug' show my plugin, but it is not included in the packages using 'make pkg-deb' Thanks Mauricio -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. Vie

Re: [vpp-dev] Does VPP timestamp every packet coming and and going out?

2020-09-21 Thread Solis JR, M. (Mauricio) via lists.fd.io
If not, would adding a patch to time stamp the packets at ethernet-input as a starting point make sense? What I am trying to do is collect the time it takes for the packet to traverse VPP.  I'm using this and placing it in the iOAM telemetry data. The ending time stamp would then be somewhere in

Re: [vpp-dev] Buffer Occupancy Calculation #vnet #vpp

2020-09-21 Thread Solis JR, M. (Mauricio) via lists.fd.io
On Fri, Sep 18, 2020 at 08:06 AM, Benoit Ganne (bganne) wrote: > > I am trying to report the hardware interface queue depth. As in, TX interface FIFO/Queue occupancy. > > You can use vnet_get_sup_hw_interface() for this, however HW queues are > managed differently by each driver. There is "ea

[vpp-dev] Does VPP timestamp every packet coming and and going out?

2020-09-20 Thread Solis JR, M. (Mauricio) via lists.fd.io
Hi, As stated in the title, I am wondering if VPP stamps every packet coming in and right before it is TX'd out?  If so, where can I find this in the code base? Thanks, Mauricio -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17465): https://lists.

Re: [vpp-dev] Buffer Occupancy Calculation #vnet #vpp

2020-09-18 Thread Solis JR, M. (Mauricio) via lists.fd.io
Hi all, I am trying to report the hardware interface queue depth.  I'm looking at ip6_forward and it seems that the process to TX a packet is vlib_get_next_frame ... [do things with packet] ... vlib_validate_buffer_enqueue ... vlib_put_next_frame. Before I go down this rabbit hole of code read

Re: [vpp-dev] Buffer Occupancy Calculation #vnet #vpp

2020-09-04 Thread Solis JR, M. (Mauricio) via lists.fd.io
Thank you, I'm beginning to understand now, then total = available + cached + used? Is there a way to determine who has cached and who is using a specific buffer? Is allocation of buffers bounded to a specific numa node? Or can they allocate across numa nodes? If so, how is this determined? --

Re: [vpp-dev] Buffer Occupancy Calculation #vnet #vpp

2020-09-03 Thread Solis JR, M. (Mauricio) via lists.fd.io
[Edited Message Follows] Are there any resources where I can read more about the VPP buffer architecture? @Dave In regards to identifying the number of total buffers, are you referring to the vector size of vlib_buffer_pools_t in vlib_buffer_main? Thanks, Mauricio -=-=-=-=-=-=-=-=-=-=-=- Links:

Re: [vpp-dev] Buffer Occupancy Calculation #vnet #vpp

2020-09-03 Thread Solis JR, M. (Mauricio) via lists.fd.io
Are there any resources where I can read more about the VPP buffer architecture? Thanks, Mauricio -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17328): https://lists.fd.io/g/vpp-dev/message/17328 Mute This Topic: https://lists.fd.io/mt/76605334/21

[vpp-dev] Buffer Occupancy Calculation #vnet #vpp

2020-09-03 Thread Solis JR, M. (Mauricio) via lists.fd.io
Hi, I am looking to calculating the overall packet buffer occupancy.  I've dug into the buffer files and it looks like the main data structure holding buffer information is "vlib_buffer_pool_t".  This structure seems to take information from the startup.conf "buffers {}" section.  I'm confused

Re: [vpp-dev] Update to iOAM using latest IETF draft #vpp

2020-08-04 Thread Solis JR, M. (Mauricio) via lists.fd.io
Justin, I too am working on my master thesis, but I'm set to finish in December. Currently, we're looking at video streaming and would like to get telemetry data for buffer occupancy, queue depth, and transit delays. VPP seems the best viable (and free) option for use. Mauricio -Origin

Re: [vpp-dev] Update to iOAM using latest IETF draft #vpp

2020-08-03 Thread Solis JR, M. (Mauricio) via lists.fd.io
Justin, Do you know the release date for the updated iOAM plugin on the latest ietf draft? Mauricio -Original Message- From: Justin Iurman Sent: woensdag 29 juli 2020 14:26 To: Solis JR, M. (Mauricio) Cc: vpp-dev ; Shwetha Bhandari (shwethab) Subject: Re: [vpp-dev] Update to iOAM us