From: Bruce Richardson <bruce.richardson@intel.com>
To: Sungho Hong <shong59@asu.edu>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] Questions about locating the rte_mbuf payload
Date: Mon, 16 Jul 2018 13:58:53 +0100 [thread overview]
Message-ID: <20180716125853.GA1488@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <CAKf1RwDFbaS_VSFj7u3MkWb6wLcC2tmfi2et4T-XyKTNYLObtA@mail.gmail.com>
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
next prev parent reply other threads:[~2018-07-16 12:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-14 5:41 Sungho Hong
2018-07-16 12:58 ` Bruce Richardson [this message]
2018-07-16 17:05 ` Sungho Hong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180716125853.GA1488@bricha3-MOBL.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=shong59@asu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).