[dpdk-dev] Weird behavior of DPDK - ongoing problem

2014-04-14 Thread Meir Tseitlin
releasing them before they actually sent. This caused early reallocation. Anyway, thanks for help! Meir Tseitlin On Mon, Apr 14, 2014 at 10:20 AM, Tetsuya.Mukawa wrote: > Hi Meir, > > (2014/04/13 19:21), Meir Tseitlin wrote: > > The problem is that in 30% of the cases data packet

[dpdk-dev] Weird behavior of DPDK - ongoing problem

2014-04-13 Thread Meir Tseitlin
Hi guys, I am still struggling to find a solution for a problem each time I face from different angle (already wrote few posts). Now I think it is some kind of DMA problem. I am modifying l2fwd example to collect packet flow from high speed ethernet device and store it in file, this is why I use

[dpdk-dev] Still rte_pktmbuf_alloc problems

2014-04-06 Thread Meir Tseitlin
I am modifying l2fwd example to inject additional packets. I am successfully allocating mbufs with rte_pktmbuf_alloc, but weird problems started to occur (feels likes concurrency problems). I enabled DEBUGs in config file and now my application started crashing on: PANIC in rte_mbuf_sanity_check

[dpdk-dev] rte_pktmbuf_alloc fails

2014-04-01 Thread Meir Tseitlin
I think I found the problem - it was solved by manually calling rte_pktmbuf_free for each packet. It seems that rte_pktmbuf_free is not automatically called from within rte_eth_tx_burst if packets are sent to pcap device. Is it possible? On Tue, Apr 1, 2014 at 2:08 PM, Meir Tseitlin wrote

[dpdk-dev] rte_pktmbuf_alloc fails

2014-04-01 Thread Meir Tseitlin
ng traffic (even light traffic). Following Intel developers guide suggestion about thread safety, I am calling this function within the same CPU core I am about to send the packet. Any ideas? Thanks Meir Tseitlin

[dpdk-dev] Topology question

2014-03-07 Thread Meir Tseitlin
Hi guys, I am running DPDK on native Linux environment. I also running Windows 7 under KVM virtualized environment for GUI purposes. What is the best way of creating Layer 2 communication channel between Windows application (which uses winpcap) and DPDK application running under Linux. Performanc

[dpdk-dev] Pcap question

2014-03-05 Thread Meir Tseitlin
/libpcap.so.1 -> libpcap.so.1.5.3 -rwxr-xr-x 1 root root 786725 Mar 5 23:26 /usr/local/lib/libpcap.so.1.5.3 Do you have any thoughts? THank you for kind support, Meir On Mon, Mar 3, 2014 at 11:45 PM, Meir Tseitlin wrote: > Yep, > > It did resolved the issue. > > I also think it shoul

[dpdk-dev] Pcap question

2014-03-03 Thread Meir Tseitlin
ote: > >>LIBPCAP_LDFLAGS ?= $(patsubst -Wl$(comma),%,$(shell pcap-config >> --libs)) >> > > I forgot a %: > > LIBPCAP_LDFLAGS ?= $(patsubst -Wl$(comma)%,%,$(shell pcap-config --libs)) > > -- Kind regards, *Meir Tseitlin* Software architect*Mobile:* +972.54.7647417 *F

[dpdk-dev] Pcap question

2014-03-03 Thread Meir Tseitlin
*** [test] Error 2 make[1]: *** [app] Error 2 make: *** [all] Error 2 Thanks Meir On Mon, Mar 3, 2014 at 10:32 PM, Olivier MATZ wrote: > Hi Meir, > > > On 03/03/2014 08:31 PM, Meir Tseitlin wrote: > >> The patch did solved compilation errors (Thanks!), but now I am agai

[dpdk-dev] Pcap question

2014-03-03 Thread Meir Tseitlin
r 2 I tried it with binutils 2.22 and 2.24. It does not happen when compiling without pcap flag enabled Can you please put some light on it? Many thanks Meir Tseitlin On Sun, Mar 2, 2014 at 10:11 PM, Olivier MATZ wrote: > Hi Meir, > > > On 03/02/2014 08:13 PM, Meir Tseitlin

[dpdk-dev] Pcap question

2014-03-02 Thread Meir Tseitlin
12.04 original repository) version prior 1.5.2r2 does compile successfully, but as mentioned in documentation it does not support packet sending Without libpcap enabled everything compiles fine Help will be highly appreciated! Meir Tseitlin -- Kind regards, *Meir Tseitlin* Software