Hai all,
When I try to send packets of sizes > 512 bytes (in a burst of 64), the
program exits with a segmentation fault. I'm using Intel I350 1GbE card.
Moreover if I try to enable jumbo frame support , it exits with an error
saying 'Could not configure port1 (-22)' .
Any help would be appreciat
t;
bruce.richardson at intel.com> wrote:
>
> > From: sabu kurian [mailto:sabu2kurian at gmail.com]
> > Sent: Wednesday, May 28, 2014 11:54 AM
> > To: Richardson, Bruce
> > Cc: dev at dpdk.org
> > Subject: Re: [dpdk-dev] Intel I350 fails to work with DPDK
> >
>
d the NIC.
On Wed, May 28, 2014 at 4:16 PM, Richardson, Bruce <
bruce.richardson at intel.com> wrote:
> > -Original Message-
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of sabu kurian
> > Sent: Wednesday, May 28, 2014 10:42 AM
> > To: dev at dpd
I have asked a similar question before, no one replied though.
I'm crafting my own packets in mbuf's (74 byte packets all) and sending it
using
ret = rte_eth_tx_burst(port_ids[lcore_id], 0, m_pool,burst_size);
When burst_size is 1, it does work. Work in the sense the NIC will continue
with sendi
rward the packets there should be no tx failure. If
> you instruct the core to send the packet in burst, the tx rate is higher
> than 10Gbps as the core is too powerful.
>
> ---
> Sent from Boxer | http://getboxer.com <http://bit.ly/1hRkK2W>
> On April 11, 2014 at 7:16:47 P
I350 fails to sent packets in burst mode.
However it is possible to sent 1 packet at a time using the hardware.
I350 is being listed under the 'Supported NIC's' page on
http://dpdk.org/doc/nics
This is the code I used
ret = rte_eth_tx_burst(port_ids[lcore_id], 0, m_pool, burst_size);
If I give
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 wrote:
> Hi Friends,
>
> Thanks for the reply.
>
> This is the portion of the code where the I350 fails to send packet:
>
> for(;;){
&g
l were allocated using
for(j=0;jwrote:
> 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 D
Hi friends,
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
ret = rte_eth_tx_burst(port_ids[lcore_id], 0, m_pool, burst_size);
At times it might transfer
My custom program works perfect inside a VM and using an unsupported
NIC card. But the same fails on the host machine that has I350 T2 NIC card
(2 ports).
Should I need to install the driver for I350 for use with Intel DPDK ?
Hi all,
Does anyone know on what are the optimal settings that should be provided,
so as to get the maximum transmit rate for an NIC using Intel DPDK ?
Hello Friends,
What should be done to achieve maximum packet transfer rate using Intel
DPDK...? What are the things I should tune ? Does having more no.of tx
descriptors help ?
With a burst size of 30 and having 512 tx descriptors , I get a speed of
around one hundred thousand packets per second (
Hello friends,
Does anyone know of a method, that would get me the maximum
possible transmit burst size for a NIC ?
Are there any methods to compute the check sum (for FCS, IPv4 etc) fields
within Intel DPDK ?
Thanks and regards
A little bit of correction on the second format:
iphdr->packet_id = rte_bswap16(0x0001); // This one gives error as well
Any idea on what could be wrong ?
Thanks
On Mon, Mar 17, 2014 at 1:51 PM, sabu kurian wrote:
> Hello friends,
>
> I get a error like "derefer
Hello friends,
I get a error like "dereferencing pointer to incomplete type", when I try
to fill in the IPv4 headers.
Below is the code snippet:
struct ether_hdr *ehdr = rte_pktmbuf_mtod(m_pool, struct ether_hdr *);
struct ipv4_hdr *iphdr = (struct ipv4_hdr *)(&ehdr[1]);
iphdr->packet_id = (u
could be causing it ?
Regards
On Fri, Mar 14, 2014 at 9:40 PM, Chris Wright wrote:
> * sabu kurian (sabu2kurian at gmail.com) wrote:
> > Hello friends,
> >
> > I'm trying to print the ether_type for a packet that I captured from a
> port
> > on my machine. S
com> wrote:
>
> > From: sabu kurian [mailto:sabu2kurian at gmail.com]
> > Sent: Friday, March 14, 2014 11:38 AM
> > To: Richardson, Bruce
> > Cc: dev at dpdk.org
> > Subject: Re: [dpdk-dev] Packet crafting
> >
> > Thanks on the reply Richardson. Yo
eady set the maximum packet size for a mbuf and the number of mbuf's and
all. So do I really need to use rte_pktmbuf_alloc ?
On Fri, Mar 14, 2014 at 4:38 PM, Richardson, Bruce <
bruce.richardson at intel.com> wrote:
>
> > From: sabu kurian [mailto:sabu2kurian at gmail.com]
> >
Hello friends,
I'm trying to print the ether_type for a packet that I captured from a port
on my machine. Suppose 'm' holds the packet. 'm' is of type 'struct
rte_mbuf'. Intels API reference for DPDK says 'ether_type' is of uint16_t.
I used the following code to retrieve ether_type.
void * eth_ty
Thank you very much Richardson for your valuable reply. But is there
another way of doing it using the rte_pktmbuf_append / rte_pktmbuf_prepend ?
Can you please tell me on how to do that ?
Regards
On Fri, Mar 14, 2014 at 3:27 PM, Richardson, Bruce <
bruce.richardson at intel.com> wrote:
> > Hel
Hello friends,
As of now... I know on how to create an ipv4 header using the 'struct
ipv4_hdr'.
My requirement is to craft a packet and sent it via 'rte_eth_tx_burst'.
I know that there should be an 'ether_hdr' created before, the packet could
be sent.
Could someone help me on how to set the addre
Hai friends,
My requirement is to create a packet generator. So I could use
struct rte_mbuf * m;
to create a single packet holder. So how am I suppose to fill in the packet
details like the MAC source , destination and also the IP source ,
destination (in case of IPv4 packets).
Following the l2
22 matches
Mail list logo