[dpdk-dev] Packet crafting....

2014-03-14 Thread sabu kurian
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

[dpdk-dev] Packet crafting....

2014-03-14 Thread sabu kurian
; Sent: Friday, March 14, 2014 10:09 AM > > To: Richardson, Bruce > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] Packet crafting > > > > Thank you very much Richardson for your valuable reply. But is there > another way of doing it using the rte_pktmbuf_appe

[dpdk-dev] Packet crafting....

2014-03-14 Thread sabu kurian
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

[dpdk-dev] Packet crafting....

2014-03-14 Thread sabu kurian
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

[dpdk-dev] Packet crafting....

2014-03-14 Thread Richardson, Bruce
> 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. You did mention something like "Don't

[dpdk-dev] Packet crafting....

2014-03-14 Thread Richardson, Bruce
> From: sabu kurian [mailto:sabu2kurian at gmail.com] > Sent: Friday, March 14, 2014 10:09 AM > To: Richardson, Bruce > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] Packet crafting > > Thank you very much Richardson for your valuable reply. But is there another > w

[dpdk-dev] Packet crafting....

2014-03-14 Thread Richardson, Bruce
> 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