DPDK usage discussions
 help / color / mirror / Atom feed
From: Eyal Leshem <leyal@incapsula.com>
To: users@dpdk.org
Subject: [dpdk-users] Checksum offloading on gre outer-ip in dpdk-16.11
Date: Wed, 22 Feb 2017 09:18:57 +0200	[thread overview]
Message-ID: <CAB_sVL=uydMO=NrRtvbVX7N7rrBWLMgtCat3gzj08sUme6_x7g@mail.gmail.com> (raw)

Hi all,

I use checksum-offloading for calculating the checksum of packets that i
change/create inside my app.
I use it for regular packets and for gre packets (checksum is calculated on
the outer-header).

On dpdk-16.07 everything works fine , But when i try to use that with
DPDK-16.11 it seems that the offloading on GRE packets does not work (while
on the regular packets it still works fine).

In dpdk-16.07 I use the following flags on my mbuf to mark to the NIC that
the packets need checksum calculation (m is the "struct rte_mbuf"):
 "m->ol_flags |=  PKT_TX_OUTER_IPV4|PKT_TX_OUTER_IP_CKSUM;"

On 16.11 I tried to add also the PKT_TX_TUNNEL_GRE (As i saw that addition
in "csumonly.c" in the 16.11 version in the "pmd-test" app) - but that also
didn't help.

My NIC is : "Intel Corporation Ethernet Controller X710 for 10Gbe
backplane"
And i run my app in Ubuntu-14.0.4.

Any Ideas?

Thanks in advance -
Eyal

             reply	other threads:[~2017-02-22  7:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-22  7:18 Eyal Leshem [this message]
2017-02-22 13:27 ` Eyal Leshem
  -- strict thread matches above, loose matches on Subject: below --
2017-02-22  7:16 Eyal Leshem

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='CAB_sVL=uydMO=NrRtvbVX7N7rrBWLMgtCat3gzj08sUme6_x7g@mail.gmail.com' \
    --to=leyal@incapsula.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).