[dpdk-dev] Query on the modified rte_mbuf structure

2015-01-05 Thread Bruce Richardson
On Tue, Dec 30, 2014 at 08:58:01AM +0200, Tapio Tallgren wrote: > Hi, > > I am not sure if I understand the question correctly, but there was a > change to the rte_mbuf structure with > patch ea672a8b1655bbb44876d2550ff56f384968a43b. It got rid of the pkt > member in rte_mbuf. Here is an example o

[dpdk-dev] Query on the modified rte_mbuf structure

2014-12-30 Thread Tapio Tallgren
Hi, I am not sure if I understand the question correctly, but there was a change to the rte_mbuf structure with patch ea672a8b1655bbb44876d2550ff56f384968a43b. It got rid of the pkt member in rte_mbuf. Here is an example of how to fix it: - eth_hdr = (struct ether_hdr *) mb->pkt.dat

[dpdk-dev] Query on the modified rte_mbuf structure

2014-12-25 Thread Shankari Vaidyalingam
Hi, I can see that in the recent releases of DPDK the rte_mbuf structure has undergone some changes. Would like to know which field in the rte_mbuf data structure holds the exact payload of the received packet in the modified structure. Regards Shankari