[dpdk-dev] problem with rte_pktmbuf_prepend (possible bug?)

2014-02-18 Thread Mario Gianni
Hi all, I'm experimenting some code with DPDK v1.5.0 and I have the following problem: I have a thread that receives packets from NIC, once I received a packet I want to prepend some data to it and I try to do so through the function rte_pktmbuf_prepend() then the packet is enqueued in a ring b

[dpdk-dev] problem with rte_pktmbuf_prepend (possible bug?)

2014-02-19 Thread Mario Gianni
ction? - Original Message - From: Benson, Bryan Sent: 02/18/14 06:16 PM To: Periklis Akritidis, Mario Gianni Subject: RE: [dpdk-dev] problem with rte_pktmbuf_prepend (possible bug?) Whoa, be careful, we used a custom init function and had a nasty bug because we assumed it was called on mbuf_free as

[dpdk-dev] Cannot mmap device resource in DPDK 1.7.0 multi-process/multi-thread

2014-10-24 Thread Mario Gianni
Hi all, I have a problem since I updated to 1.7.0 version, I got a multi-process, multi-threaded application, In my application first I launch a master process, then I launch a secondary process with multiple threads in it Well, when the number of lcores reserved for the secondary process exceeds

[dpdk-dev] Cannot mmap device resource in DPDK 1.7.0 multi-process/multi-thread

2014-10-24 Thread Mario Gianni
08 PM From:?"Bruce Richardson" To:?"Mario Gianni" Cc:?dev at dpdk.org Subject:?Re: [dpdk-dev] Cannot mmap device resource in DPDK 1.7.0 multi-process/multi-thread On Fri, Oct 24, 2014 at 01:21:08PM +0200, Mario Gianni wrote: > Hi all, I have a problem since I updated to 1.7.0

[dpdk-dev] Cannot mmap device resource in DPDK 1.7.0 multi-process/multi-thread

2014-10-24 Thread Mario Gianni
error. One more question at this point: Assume that I use l2fwd_fork, when I launch the secondary process, how do I assign the lcore coremask associated with that process? Mario ? ? Sent:?Friday, October 24, 2014 at 3:39 PM From:?"Bruce Richardson" To:?"Mario Gianni" Cc