[dpdk-dev] I350 drops packet on rte_eth_tx_burst()

sabu kurian sabu2kurian at gmail.com
Fri Apr 11 12:04:47 CEST 2014


To add to my previous mail.....

only upto 544 packets are actually sent... then it fails


On Fri, Apr 11, 2014 at 3:34 PM, sabu kurian <sabu2kurian at gmail.com> wrote:

> Hi Friends,
>
> Thanks for the reply.
>
> This is the portion of the code where the I350 fails to send packet:
>
> for(;;){
>
>                 ret = rte_eth_tx_burst(port_ids[lcore_id], 0, m_pool,
> burst_size);
>
>                 if (unlikely(ret < burst_size)) {
>                     for(j=ret;j<(burst_size-ret);j++)
>                     {
>                     rte_pktmbuf_free(m_pool[j]);
>                     }
>                     }
>                     else
>                     {
>
>                     lcore_stats[lcore_id].tx += (uint64_t)burst_size;
>                     }
>
>         }
>
> all of the m_pool were allocated using
>
> for(j=0;j<burst_size;j++)
>                 {
>                 m_pool[j] = rte_pktmbuf_alloc(pktmbuf_pool);
>
>                 }
>
>
>
>
> On Fri, Apr 11, 2014 at 1:26 PM, Thomas Monjalon <
> thomas.monjalon at 6wind.com> wrote:
>
>> Hi,
>>
>> 2014-04-11 11:29, sabu kurian:
>> > Even after installing all the required igb drivers for I350 (the device
>> > seems to work perfect on the host machine), am unable to transmit
>> packets
>> > using the same device (on Intel DPDK) using
>>
>> Please follow this documentation to setup your environment and do some
>> basic
>> tests with testpmd:
>>         http://dpdk.org/doc/quick-start
>>
>> --
>> Thomas
>>
>
>


More information about the dev mailing list