From: Vladimir Medvedkin <medvedkinv@gmail.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] TX IP checksum offloading
Date: Fri, 8 Nov 2013 01:05:09 +0400 [thread overview]
Message-ID: <CANDrEHmzUgHS8pvVbQa7FChOVR50gAeE=zsS4tmZ=30KLDHvBQ@mail.gmail.com> (raw)
In-Reply-To: <CA+8v-JziNxf5e=m-y-JEeRyoRnpk14rmXo3X5acasV3ocdbbMw@mail.gmail.com>
Hi,
Did you set
m->pkt.vlan_macip.f.l2_len = sizeof(struct ether_hdr);
m->pkt.vlan_macip.f.l3_len = sizeof(struct ipv4_hdr);
fields?
Regards,
Vladimir
2013/11/7 Daniel Kaminsky <daniel.kaminsky@infinitelocality.com>
> Hi,
>
> Did anyone had an experience using the PKT_TX_IP_CKSUM flag?
> I have an application that generates IP traffic but whenever I try to set
> this flag on (*m->ol_flags = PKT_TX_IP_CKSUM)* the rte_mbuf nothing is sent
> out.
> Retrieving that statistics from the ethernet device show zero for opackets
> and oerrors.
>
> I'm using ixgbe driver and DPDK 1.5.0-8 (from Intel) distribution.
>
> Thanks,
> Daniel
>
next prev parent reply other threads:[~2013-11-07 21:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-07 12:52 Daniel Kaminsky
2013-11-07 17:06 ` Benson, Bryan
2013-11-07 21:05 ` Vladimir Medvedkin [this message]
2013-11-10 15:59 ` Daniel Kaminsky
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='CANDrEHmzUgHS8pvVbQa7FChOVR50gAeE=zsS4tmZ=30KLDHvBQ@mail.gmail.com' \
--to=medvedkinv@gmail.com \
--cc=dev@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).