2014-04-17 17:00, Thomas Monjalon:
> Hi Konstantin,
>
> 2014-04-07 08:53, Ananyev, Konstantin:
> > Yep indeed, there is a bug in eth_pcap_tx() that can cause mbuf
> > corruption.
> > I think it should be something like that instead:
> >
> > --- a/lib/librte_pmd_pcap/rte_eth_pcap.c
> > +++ b/lib/l
Hi Thomas,
I planned to, but very unlikely that it would happen that week.
Thanks
Konstantin
-Original Message-
From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
Sent: Thursday, May 22, 2014 4:47 PM
To: Ananyev, Konstantin
Cc: dev at dpdk.org
Subject: Re: [dpdk-dev
Hi Konstantin,
2014-04-07 08:53, Ananyev, Konstantin:
> Yep indeed, there is a bug in eth_pcap_tx() that can cause mbuf corruption.
> I think it should be something like that instead:
>
> --- a/lib/librte_pmd_pcap/rte_eth_pcap.c
> +++ b/lib/librte_pmd_pcap/rte_eth_pcap.c
> @@ -205,8 +205,9 @@ eth
Hi Meir,
On Tuesday, April 01, 2014 02:53:47 PM Meir Tseitlin wrote:
> 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.
num_tx++;
rte_pktmbuf_free(mbuf);
}
Thanks
Konstantin
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Olivier MATZ
Sent: Monday, April 07, 2014 8:27 AM
To: dev at dpdk.org
Cc: Meir Tseitlin
Subject: Re: [dpdk-dev] rte_pktmbuf_alloc fails
Hi Meir,
O
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:
> H
Hi,
I modified l2fwd example to "inject" additional Ethernet packets into the
flow by allocating them with rte_pktmbuf_alloc.
I do succeed to call rte_pktmbuf_alloc when none (or almost none) packets
where forwarded since application start, but it fails when application is
busy handling traffic (
7 matches
Mail list logo