From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) by dpdk.org (Postfix) with ESMTP id 791192B88 for ; Wed, 22 Feb 2017 08:18:58 +0100 (CET) Received: by mail-qk0-f182.google.com with SMTP id s186so2305697qkb.1 for ; Tue, 21 Feb 2017 23:18:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=incapsula.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=x3NqlnESEvigtcOsNoF1A4vgRFSOBf9jIJ6PrrqZ410=; b=DuC087wtwWUqWmRcyCTYjWz2lr82QkpcnUpWeKY3hbJuSBmU9E+qMjQvpymZA56Rf3 +ni3zVD0B5eMrb24Mq1UaoZqwvPOCZim6Zlo3CW0zTBNvZ5UeLfLnb7sl5zk6HxsMdos t2/rTYromt10WSQjFVM77CDnX52hRhbWWMDpI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=x3NqlnESEvigtcOsNoF1A4vgRFSOBf9jIJ6PrrqZ410=; b=ZEYsTGbB6cslCx2W5Ybe6yQimc7b1+v969oZhzjSgdfmUc/ynhpEka4YfrVqaJlmDz UHLy+/JGFyjM1nWpBpeH4RENrceKWEQTPcEFrwCcfx63eurKM3KOM9Xo/0mVFHDUkLoT UyLeO57Y7wTCQIhR3a77D/6VJ/xdG8vhvdqz0nzZcqV0m4R6dN0G8YG6rpt/dcmf/xgp cVJKdroGYWhckWqnyK/IonAE2uv8yQpVDJx6gYMuknz1qauhWZ+lil5ZrNrtPHsS1ES8 iOqU7DRp9lxmHPMxBKAEUIC9SmfQoUJyt5FwaUs7AoT3LIEdT5Y/nROTUYhJwTNbO1V3 TlwA== X-Gm-Message-State: AMke39lzDU6gywM6vlUfsBg2SSTRkReFTbH1um4I9oY9xZuy59M1OfJUMMPhSUa7EAP+UWDRb56ZsVOks2vccEPx X-Received: by 10.55.94.6 with SMTP id s6mr31482229qkb.166.1487747937572; Tue, 21 Feb 2017 23:18:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.33.161 with HTTP; Tue, 21 Feb 2017 23:18:57 -0800 (PST) From: Eyal Leshem Date: Wed, 22 Feb 2017 09:18:57 +0200 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Checksum offloading on gre outer-ip in dpdk-16.11 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 07:18:58 -0000 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