From patchwork Wed Sep 2 22:40:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jason_K=C3=B6lker?= X-Patchwork-Id: 513681 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (unknown [IPv6:2600:3c00::f03c:91ff:fe6e:bdf7]) by ozlabs.org (Postfix) with ESMTP id AF8AE140134 for ; Thu, 3 Sep 2015 08:40:40 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=koelker.net header.i=@koelker.net header.b=U02ig/6I; dkim-atps=neutral Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id 292891069E; Wed, 2 Sep 2015 15:40:39 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx1e3.cudamail.com (mx1.cudamail.com [69.90.118.67]) by archives.nicira.com (Postfix) with ESMTPS id D0BA31065C for ; Wed, 2 Sep 2015 15:40:37 -0700 (PDT) Received: from bar2.cudamail.com (localhost [127.0.0.1]) by mx1e3.cudamail.com (Postfix) with ESMTPS id E078742016A for ; Wed, 2 Sep 2015 16:40:36 -0600 (MDT) X-ASG-Debug-ID: 1441233635-03dc535341928a0001-byXFYA Received: from mx1-pf1.cudamail.com ([192.168.24.1]) by bar2.cudamail.com with ESMTP id vZ0LZABip0yq7Bjf (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 02 Sep 2015 16:40:35 -0600 (MDT) X-Barracuda-Envelope-From: jason@koelker.net X-Barracuda-RBL-Trusted-Forwarder: 192.168.24.1 Received: from unknown (HELO mail-qg0-f44.google.com) (209.85.192.44) by mx1-pf1.cudamail.com with ESMTPS (RC4-SHA encrypted); 2 Sep 2015 22:40:35 -0000 Received-SPF: pass (mx1-pf1.cudamail.com: SPF record at _netblocks.google.com designates 209.85.192.44 as permitted sender) X-Barracuda-Apparent-Source-IP: 209.85.192.44 X-Barracuda-RBL-IP: 209.85.192.44 Received: by qgev79 with SMTP id v79so15929630qge.0 for ; Wed, 02 Sep 2015 15:40:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=koelker.net; s=google; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=Cww7cKd5H4484S0BQ6aS+kfftI2VEjNmZG4DSD7e2e0=; b=U02ig/6IDRhaus3esXZe+TUsdASaYz4Nce478oUn7rijasOItO8CJxWmDo/NcgZ+Fu Ke6npmTgpfCGrK79KoTwYhAmFqlICXwlpweamP/4nrlFaOGmztqcvt4ly1Bkswsjmqec IBF3apw2H6KLvK/AoPehxewhI/Ka3bImvpvGk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=Cww7cKd5H4484S0BQ6aS+kfftI2VEjNmZG4DSD7e2e0=; b=IxsqpOaFui5aT+6r4R0UM3vT3Xto6PxtMWeC835iwoJfaqvJyjwNu88iF1W/jnomx4 Ey5PSW+RqaxKCqmcsCa7cTUq9L2e1+N4y5WTka69rVGJzteWiBi3289sB7h29CU2bQ0d PxJ6jEDIToIA0xqmqXiKdQLKuRE9eurzHT5lJjRVYh65DnznTqtjnv/aPOLX1Z4UNK9g Z5G4HvVpqikDdvb/ewkXUvmPVKF0KzzA3LdEM2EqWRiROASnLGH4icJsnhwKYH2UPUe8 9xzTpWox+q2qgJK7TtdmExI4wqMo1eE2tgvPLiJJ73buMKTZw1ty/nhAPmdvt5+oSxrX s9AQ== X-Gm-Message-State: ALoCoQmFxXYbfAjATx/Y8RrDmxTbcW7W2tnxpA8UcQNJBFOP4UX66jCGajtgpIzLbTT47GFxHHWH X-Received: by 10.140.237.140 with SMTP id i134mr64170497qhc.81.1441233634020; Wed, 02 Sep 2015 15:40:34 -0700 (PDT) Received: from none.rackspace.corp ([23.253.156.79]) by smtp.gmail.com with ESMTPSA id b82sm13601247qhc.46.2015.09.02.15.40.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2015 15:40:33 -0700 (PDT) X-CudaMail-Envelope-Sender: jason@koelker.net From: =?UTF-8?q?Jason=20K=C3=B6lker?= To: dev@openvswitch.org X-CudaMail-MID: CM-E1-901087460 X-CudaMail-DTE: 090215 X-CudaMail-Originating-IP: 209.85.192.44 Date: Wed, 2 Sep 2015 22:40:24 +0000 X-ASG-Orig-Subj: [##CM-E1-901087460##][PATCH] datapath: Add net/ip6_checksum.h to stt.c Message-Id: <1441233624-5240-1-git-send-email-jason@koelker.net> X-Mailer: git-send-email 2.4.3 MIME-Version: 1.0 X-GBUdb-Analysis: 0, 209.85.192.44, Ugly c=0.442133 p=-0.369863 Source Normal X-MessageSniffer-Rules: 0-0-0-4054-c X-Barracuda-Connect: UNKNOWN[192.168.24.1] X-Barracuda-Start-Time: 1441233635 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.60 X-Barracuda-Spam-Status: No, SCORE=0.60 using per-user scores of TAG_LEVEL=3.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=3.0 tests=BSF_SC5_MJ1963, DKIM_SIGNED, RDNS_NONE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.22172 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature 0.10 RDNS_NONE Delivered to trusted network by a host with no rDNS 0.50 BSF_SC5_MJ1963 Custom Rule MJ1963 Subject: [ovs-dev] [PATCH] datapath: Add net/ip6_checksum.h to stt.c X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@openvswitch.org Sender: "dev" `csum_ipv6_magic` is an asm inline on most platforms. However if it is not defined (like on ppc64le) including will fall back to the c implementation by wrapping it in an `#ifndef _HAVE_ARCH_IPV6_CSUM`. Signed-off-by: Jason Kölker --- datapath/linux/compat/stt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/datapath/linux/compat/stt.c b/datapath/linux/compat/stt.c index b44f470..dd21753 100644 --- a/datapath/linux/compat/stt.c +++ b/datapath/linux/compat/stt.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include