[dpdk-dev] Segmentation fault when creating a hash table in the example of pipeline (ROUTING type)

2018-04-19 Thread Victor Huertas
Hi all, I have tried to run the pipeline example with a ROUTING pipeline where I configured n_arp_entries=8 as well as the arp_key_offset = 192. It compiles perfectly but when it reaches the line where the rte_pipeline_table_create is (see below a fragment of the source code of the pipeline_routi

[dpdk-dev] Tx vlan offload problem with igb and DPDK v17.11

2018-09-03 Thread Victor Huertas
Hi all, I have realized that the PKT_TX_VLAN_PKT flag for Tx Vlan Offload doesn't work in my application. According to the NICs I have (IGB) there seems to be a problem with this vlan offload tx feature and this version of DPDK according to the Bug 17 : https://bugs.dpdk.org/show_bug.cgi?id=17 I

Re: [dpdk-dev] Tx vlan offload problem with igb and DPDK v17.11

2018-09-04 Thread Victor Huertas
in the driver it will work, I think. Regards, El lun., 3 sept. 2018 a las 19:32, Victor Huertas () escribió: > Hi all, > > I have realized that the PKT_TX_VLAN_PKT flag for Tx Vlan Offload doesn't > work in my application. > > According to the NICs I have (IGB) there se

Re: [dpdk-dev] Tx vlan offload problem with igb and DPDK v17.11

2018-09-04 Thread Victor Huertas
Forget about it, I found a bug in my software. Once solved, no problem with PKT_TX_VLAN_PKT at all. Regards, El lun., 3 sept. 2018 a las 19:32, Victor Huertas () escribió: > Hi all, > > I have realized that the PKT_TX_VLAN_PKT flag for Tx Vlan Offload doesn't > work

Re: [dpdk-dev] Nehalem Intel Xeon X5506 architecture and PCIe NIC association to Numa node

2018-02-08 Thread Victor Huertas
Bruce, My requirements are not that much (500 Mbps and 1 Gbps desirable). Thanks for your references links I will have a look at them. Regarding the NIC detection in the DPDK app by the DPDK EAL initialization after successfully having loaded the vfio-pci, it happens something strange. The n

[dpdk-dev] Fwd: rte_eth_rx_queue_setup is returning error -28 (ENOSPC)

2018-02-21 Thread Victor Huertas
Hi all, I am trying to make an application for having various rx threads capturing packets from various queues of the same NIC (to increase performance using RSS on one NIC). I am basing the app on an example called l3fwd-thread. However, when I try to create the rx queue in a port using the rte_

[dpdk-dev] (SOLVED) rte_eth_rx_queue_setup is returning error -28 (ENOSPC)

2018-02-22 Thread Victor Huertas
I have found myself the solution to the problem. When the struct rte_mempool *pktmbuf_pool[NB_SOCKETS]; was declared, it was not initialized with NULL and the memory pool was not created because the if clause 'if (pktmbuf_pool[socketID]==NULL)' avoided it. Once I forced the initialization of all

[dpdk-dev] Suggestions on how to customize the metadata fields of each packet

2018-02-22 Thread Victor Huertas
Hi all, In the project I am working I need to define custom metadata fields on each packet once they are captured using DPDK. I have seen that each packet has a headroom memory space (128 bytes long) where RSS hashing and other metadata provided by the NIC is stored. This information will be usefu

Re: [dpdk-dev] Suggestions on how to customize the metadata fields of each packet

2018-02-23 Thread Victor Huertas
Thanks for your quick answer, I have read so many documents and web pages on this issue that probably I confounded the utility of the headroom. It is good to know that this 128 bytes space is available to my disposal. The fact of being lost once the NIC transmits the frame it is not a problem at a

Re: [dpdk-dev] Suggestions on how to customize the metadata fields of each packet

2018-02-23 Thread Victor Huertas
--Original Message- > > From: konstantin.anan...@intel.com [mailto:konstantin.anan...@intel.com] > > Sent: Friday, February 23, 2018 4:27 PM > > To: Victor Huertas ; long...@viettel.com.vn > > Cc: dev@dpdk.org; us...@dpdk.org > > Subject: RE: [dpdk-dev] Suggestions on

[dpdk-dev] Proposal to add a new toolchain for dpdk: g++

2020-02-17 Thread Victor Huertas
Hi all, I am using DPDK development environment to develop an application from which I have to access C++ code. I managed to modify some internal mk files in the dpdk-stable repository to allow g++ compiler to be supported. I have all the modified files well identified and I wonder if the support

[dpdk-dev] Fwd: Proposal to add a new toolchain for dpdk: g++

2020-02-17 Thread Victor Huertas
. Regards, El lun., 17 feb. 2020 a las 15:40, Bruce Richardson (< bruce.richard...@intel.com>) escribió: > On Mon, Feb 17, 2020 at 11:01:21AM +0100, Victor Huertas wrote: > > Hi all, > > > > I am using DPDK development environment to develop an application from > > which

[dpdk-dev] Fwd: Proposal to add a new toolchain for dpdk: g++

2020-02-17 Thread Victor Huertas
17, 2020 at 11:01:21AM +0100, Victor Huertas wrote: > > Hi all, > > > > I am using DPDK development environment to develop an application from > > which I have to access C++ code. > > I managed to modify some internal mk files in the dpdk-stable repository > to >

[dpdk-dev] Fwd: high latency detected in IP pipeline example

2020-02-17 Thread Victor Huertas
Hi all, I am developing my own DPDK application basing it in the dpdk-stable ip_pipeline example. At this moment I am using the 17.11 LTS version of DPDK and I amb observing some extrange behaviour. Maybe it is an old issue that can be solved quickly so I would appreciate it if some expert can sha

Re: [dpdk-dev] Fwd: high latency detected in IP pipeline example

2020-02-17 Thread Victor Huertas
: > Yes, I experienced similar issue in my application. In a short answer, set > the swqs write burst value to 1 may reduce the latency significantly. The > default write burst value is 32. > > On Mon., Feb. 17, 2020, 8:41 a.m. Victor Huertas > wrote: > >> Hi all, >&g

Re: [dpdk-dev] Fwd: high latency detected in IP pipeline example

2020-02-18 Thread Victor Huertas
Feb. 17, 2020, 11:04 p.m. Victor Huertas > wrote: > >> Thanks James for your quick answer. >> I guess that this configuration modification implies that the packets >> must be written one by one in the sw ring. Did you notice loose of >> performance (in throughput)

Re: [dpdk-dev] Proposal to add a new toolchain for dpdk: g++

2020-02-18 Thread Victor Huertas
++. Regards, El mar., 18 feb. 2020 a las 14:13, Neil Horman () escribió: > On Mon, Feb 17, 2020 at 02:39:58PM +, Bruce Richardson wrote: > > On Mon, Feb 17, 2020 at 11:01:21AM +0100, Victor Huertas wrote: > > > Hi all, > > > > > > I am using DPDK development e

Re: [dpdk-dev] Fwd: high latency detected in IP pipeline example

2020-02-19 Thread Victor Huertas
23:09, James Huang () escribió: > No. I didn't notice the RTT bouncing symptoms. > In high throughput scenario, if multiple pipelines runs in a single cpu > core, it does increase the latency. > > > Regards, > James Huang > > > On Tue, Feb 18, 2020 at 1:50 AM Victor

[dpdk-dev] Fwd: Fwd: high latency detected in IP pipeline example

2020-02-19 Thread Victor Huertas
Hi , I put some maintainers as destination that could provide some extra information on this issue. I hope they can shed some light on this. Regards El mié., 19 feb. 2020 a las 9:29, Victor Huertas () escribió: > OK James, > Thanks for sharing your own experience. > What I would need

Re: [dpdk-dev] Fwd: Fwd: high latency detected in IP pipeline example

2020-02-19 Thread Victor Huertas
case. > > Do you have a simple way to reproduce your issue with the original > example app? > > > Olivier > > On Wed, Feb 19, 2020 at 11:37:21AM +0100, Victor Huertas wrote: > > Hi , > > > > I put some maintainers as destination that could provide some e

[dpdk-dev] DPDK (v17.11) ACL table field format definition enhancement: 'offset' field covering headroom space.

2019-08-17 Thread Victor Huertas
Hi all, I am developing an application with DPDK (v17.11) using a concatenation of pipelines. Now I find myself on the definition of an ACL table and more precisely the format of the ACL fields. One of the parameters of this field format is the 'offset', which indicates the number of bytes till t

[dpdk-dev] DPDK (v17.11) ACL table field format definition enhancement: 'offset' field covering headroom space.

2019-08-17 Thread Victor Huertas
Hi all, I am developing an application with DPDK (v17.11) using a concatenation of pipelines. Now I find myself on the definition of an ACL table and more precisely the format of the ACL fields. One of the parameters of this field format is the 'offset', which indicates the number of bytes till t

[dpdk-dev] [DPDK v17.11 LTS] Crash (segmentation fault) in ACL table packet look up

2019-09-18 Thread Victor Huertas
Hi all, the DPDK lib always crashes when a packet enters an ACL table I created to check IPv6 fragmented packets. If the table is empty nothing happens as the missed packets go to the next table in the pipeline but as soon as I put some entries a crash happens when the first packet enters. It see

Re: [dpdk-dev] Using valgrind with DPDK app

2020-08-29 Thread Victor Huertas
Hello, I have exactly the same problem as you. I have also downloaded, compiled and installed the very last version of valgrind (v3.17). As soon as the mempool is created, the program gets stuck. If valgrind cannot be used with DPDK (I am using v18.11.5) as memory leak debugger, there must be oth