From: Cliff Burdick <shaklee3@gmail.com>
To: David Aldrich <david.aldrich.ntml@gmail.com>
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] Why is udp packet, sent by dpdk, received with zero'd payload?
Date: Wed, 1 Jul 2020 06:08:38 -0700 [thread overview]
Message-ID: <CA+Gp1nb2mLJQqKHwytSbBFOj3bCb_QR-N77L1iKwimJ=sv84hw@mail.gmail.com> (raw)
In-Reply-To: <CAJK_iegoJpQOCJ5+wdCPBBBbFU9+i5MnDwgQPtLmdtkxboF8gA@mail.gmail.com>
Sorry, I didn't see those below, but it looks incorrect. Those numbers
should match if you're using a single segment. My guess is the 42 is
truncating it to the size of the udp header part only.
On Wed, Jul 1, 2020, 06:04 David Aldrich <david.aldrich.ntml@gmail.com>
wrote:
> > Are you setting data_len and packet_len in the mbuf before sending?
>>
>
> Yes, and I believe that the mbuf dump and the tcpdump that I included
> show that these lengths are set correctly. The problem is that udp payload
> is present but consists of all 0's.
>
next prev parent reply other threads:[~2020-07-01 13:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-01 10:23 David Aldrich
2020-07-01 12:57 ` Cliff Burdick
2020-07-01 13:04 ` David Aldrich
2020-07-01 13:08 ` Cliff Burdick [this message]
2020-07-01 13:40 ` David Aldrich
2020-07-01 14:59 ` Cliff Burdick
2020-07-01 15:06 ` David Aldrich
2020-07-01 15:38 ` Cliff Burdick
2020-07-01 15:56 ` Matt Laswell
2020-07-01 16:48 ` David Aldrich
2020-07-01 17:57 ` Cliff Burdick
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='CA+Gp1nb2mLJQqKHwytSbBFOj3bCb_QR-N77L1iKwimJ=sv84hw@mail.gmail.com' \
--to=shaklee3@gmail.com \
--cc=david.aldrich.ntml@gmail.com \
--cc=users@dpdk.org \
/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).