DPDK patches and discussions
 help / color / mirror / Atom feed
From: Daniel Kaminsky <daniel.kaminsky@infinitelocality.com>
To: Vladimir Medvedkin <medvedkinv@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] TX IP checksum offloading
Date: Sun, 10 Nov 2013 17:59:27 +0200	[thread overview]
Message-ID: <CA+8v-Jxd==G7qZgevQi1k+_o0pid54FavVbuDTvEY2CRp45_og@mail.gmail.com> (raw)
In-Reply-To: <CANDrEHmzUgHS8pvVbQa7FChOVR50gAeE=zsS4tmZ=30KLDHvBQ@mail.gmail.com>

Thanks Vladimir,

Setting those values made it work.

Daniel


On Thu, Nov 7, 2013 at 11:05 PM, Vladimir Medvedkin <medvedkinv@gmail.com>wrote:

> 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
> >
>

      reply	other threads:[~2013-11-10 15:58 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
2013-11-10 15:59   ` Daniel Kaminsky [this message]

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+8v-Jxd==G7qZgevQi1k+_o0pid54FavVbuDTvEY2CRp45_og@mail.gmail.com' \
    --to=daniel.kaminsky@infinitelocality.com \
    --cc=dev@dpdk.org \
    --cc=medvedkinv@gmail.com \
    /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).