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 data. the data received in the server can be viewed from the packet
> dump provided by DPDK. You can see the data I am sending "hello"s right at
> the bottom of the log
> 

How exactly are you sending this data? What is the code for creating the
packet to send? The code you sent looks ok for reading the packet, but the
position in the mbuf also depends on what the packet being sent looks like,
which is dependent on how the packet is created on the sender side.

Regards,

/Bruce

Reply via email to