Message ID | 20171027125014.27313-4-dmitry.ereminsolenikov@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp733478qgn; Fri, 27 Oct 2017 05:51:26 -0700 (PDT) X-Google-Smtp-Source: ABhQp+R/Zh+XodRyGiKpJpCVZ6pEhusRiUDBmxdZ2fsTc6Fh9WDg26e6rDYuto6kugqnYutnWwpO X-Received: by 10.237.32.101 with SMTP id 92mr683878qta.44.1509108686310; Fri, 27 Oct 2017 05:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509108686; cv=none; d=google.com; s=arc-20160816; b=CY43ejCQ3ka6xfje5bybfaBvDmeNH+jhcj+56DhBy2xlkPXesqBDdTKY9k7sonBNku SznRwPd/Wd3sG/NWeb71JUxhHvzwhDOeVcAkIv6pp8ns/zx9TwAza5Kh1NufsvADamo4 g2nUMm3RH2GQ3LtnEg/Y6h2CVan1TjBEx7dnONjPCCb55RjXHHd1FJXpBDA7dLoyXuEb faplcfrOTDBiM5ovGJthX7AB17k8ME3U4IaH4cx3iMgjzJCmKzS+EQaumoiB2qLmtKUG eClPg8V0GD/dpoOrCZ30s2q0SQ4QqrvKmKDnpl5HFZLB/Nzklz0K8rmE/hUGKo8kHbcd HWew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=/aiqtp9FkQKLzS3dfd30dzsg/WIZZ6bXdSUi+RKimWs=; b=tvNgnc7hcQHzwY66gzP/9Xa9qKDn/42E6txYiNo9KlTGpkZxGY7zlLq5UfK9gjSXUS kyVCBqwqcsWzmqnXrB8104Fo1Q5u1mlXhMhcnDMNnzAWyTf0wSesmkD1d1xbdZIJnp8c yfbypKoVrNBKwqxvQAYAsKxu2yUf0umKfhRqxVlahx1bk2LvAxUzkT+N7M3+mHzeYYNM NZLYkm/AVk1eSBTMxYSBQGuf0S1haLeJPX0c9zxSGSSz/S8b1/5SjX61otLWRpFt3oX5 JO06eHaviRY3K9oTIdsfI7B601xLSW75o6r49ExxGg6vSrlhv79rB9pw1mVcyepB9PvX 1sqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <lng-odp-bounces@lists.linaro.org> Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id r34si2323090qtd.149.2017.10.27.05.51.26; Fri, 27 Oct 2017 05:51:26 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 0322F61002; Fri, 27 Oct 2017 12:51:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 6897160FFB; Fri, 27 Oct 2017 12:50:30 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 2FB13609BE; Fri, 27 Oct 2017 12:50:25 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by lists.linaro.org (Postfix) with ESMTPS id 3110A6094A for <lng-odp@lists.linaro.org>; Fri, 27 Oct 2017 12:50:23 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id a132so7298236lfa.7 for <lng-odp@lists.linaro.org>; Fri, 27 Oct 2017 05:50:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=/aiqtp9FkQKLzS3dfd30dzsg/WIZZ6bXdSUi+RKimWs=; b=ZnEYyeYtSXLfPCWXBS3k/x8BPqkhVVoIDgSyATMCbdPqsjLdBJonUpX4iEBVp0Yq6n 9kBKNQAv7Uc55ElH493Z82sH0uLp6M6rpTU4zlyG9pcP/zQ1PgYSKQ7MrZ0aSjYLUP6x bZd2FxLxcE9bpcqdAMRWQNU3hBhnyfqfNCE5xDcFy5FtwBPgwCQprXSIe/SYHEwgY21P lhxu941LTIaIZvLHEdcvjGCaWDEyZUZMQfplSqJcp5ypIje62rF32IQvbuJc1t1MwktM 7V2q1wJMRzi2FuKrrwMsBAin8YKt3lNkm0I9nJ29W7UQ5vhrWGZV0fqBE79g5bnB4bOl dSmA== X-Gm-Message-State: AMCzsaX+81ciBmOMr8/uhaF8COXfwzaDa0ttiGNe8sVrgSsoY+3/+2is WTfvuAiPvtZUUYbvjkuIlPLmze0Nj1So0w== X-Received: by 10.25.198.215 with SMTP id w206mr139031lff.11.1509108621720; Fri, 27 Oct 2017 05:50:21 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.20 for <lng-odp@lists.linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:21 -0700 (PDT) From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:47 +0300 Message-Id: <20171027125014.27313-4-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 03/30] linux-gen: ipsec: don't use __odp_force X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" <lng-odp.lists.linaro.org> List-Unsubscribe: <https://lists.linaro.org/mailman/options/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/lng-odp/> List-Post: <mailto:lng-odp@lists.linaro.org> List-Help: <mailto:lng-odp-request@lists.linaro.org?subject=help> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> |
Series |
restructure headers for ABI-compat/platform-optimized modes
|
expand
|
diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c index e57736c2a792..7e833adee0a8 100644 --- a/platform/linux-generic/odp_ipsec.c +++ b/platform/linux-generic/odp_ipsec.c @@ -126,7 +126,7 @@ odp_u16sum_t _odp_chksum(void *buffer, int len) sum += (sum >> 16); result = ~sum; - return (__odp_force odp_u16sum_t) result; + return (odp_u16sum_t)result; } static inline int _odp_ipv4_csum(odp_packet_t pkt,
__odp_force is not part of ODP API, so it should not be used directly. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> --- platform/linux-generic/odp_ipsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.2