Regards,
> Etai
>
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Prashant Upadhyaya
> Sent: Tuesday, November 12, 2013 11:15 AM
> To: Jose Gavine Cueto; dev at dpdk.org
> Subject: Re: [dpdk-dev] raw frame to rte_mbuf
>
> Hi Pepe,
>
Hi,
In DPDK how should a raw ethernet frame converted to rte_mbuf * ? For
example if I have an ARP packet:
void * arp_pkt
how should this be converted to an rte_mbuf * for transmission, does a
simple cast suffice ?
Cheers,
Pepe
--
To stop learning is like to stop loving.
-boun...@dpdk.org] On Behalf Of Jose Gavine Cueto
Sent: Tuesday, November 12, 2013 1:49 PM
To: dev at dpdk.org
Subject: [dpdk-dev] raw frame to rte_mbuf
Hi,
In DPDK how should a raw ethernet frame converted to rte_mbuf * ? For example
if I have an ARP packet:
void * arp_pkt
how should this be
Cueto; dev at dpdk.org
Subject: Re: [dpdk-dev] raw frame to rte_mbuf
Hi Pepe,
Ofcourse a simple cast will not suffice.
Please look the rte_mbuf structure in the header files and let me know if
you still have the confusion.
There is a header and payload. Your raw frame will go in the payload.
4 matches
Mail list logo