Re: [dpdk-dev] Questions about locating the rte_mbuf payload

2018-07-16 Thread Sungho Hong
Thanks for the reply Bruce, I have solved the problem. Just like you have said all I had to know was the data size that I was sending and the packet size that the DPDK tries to send. I subtracted them to get the accurate position of the end of the packet header address and my data.

Re: [dpdk-dev] Questions about locating the rte_mbuf payload

2018-07-16 Thread Bruce Richardson
On Fri, Jul 13, 2018 at 10:41:31PM -0700, Sungho Hong wrote: > Hello I have sent the packet with the data "hellohellohello*" > in a message struct using DPDK > > struct message{ > data[PKT_SIZE] > } > > I am sending this data from a client to server, and the server receives > this dat

[dpdk-dev] Questions about locating the rte_mbuf payload

2018-07-13 Thread Sungho Hong
Hello I have sent the packet with the data "hellohellohello*" in a message struct using DPDK struct message{ data[PKT_SIZE] } I am sending this data from a client to server, and the server receives this data. the data received in the server can be viewed from the packet dump provided