From patchwork Mon Oct 23 11:10:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 116679 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4518658qgn; Mon, 23 Oct 2017 04:12:51 -0700 (PDT) X-Received: by 10.55.27.25 with SMTP id b25mr17923114qkb.144.1508757171016; Mon, 23 Oct 2017 04:12:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508757171; cv=none; d=google.com; s=arc-20160816; b=KPpGzz4DN7awvpiCD2TjSTDdmabAqHFpPkxgn/Hccd/2sMOEH+fuHc0B1SaUwR2DsH bd0v/EqhwrLf08qYI2ELVm1DbeQxSfCCsRV4EsAxYMiV70AlNwZqwEM2wv6BktU+wVIp i6hZJatRpUKEuA9Ue+3AoBBOzkfTVTiNoOpkMPLmRLFtK19ctSkNUmKdP87Gl0Xq2sD1 Jyptx5w2H6XhLgMStggrD9hF1itzpVreqMFPyp5/egH06JJtOKMLLm3OJ4HnLGZAwf+i y3Cn0LXfkrr4t+D3TzEMVBV/h6Ra1Zn3GZvfAkhEF4OSRQXSmA1fPD31EBSrryC3KrS7 KAhQ== 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=sITHeDof5e+CpLzRp5xCSj75Wh/cUlnThK3t9Bu91kh6QAzoGwolH2IYfagEvzvTyR eIv9Wzsk3Ox9pGnaSb6fZPSY6vr/lfaP6SgTVYi3GNQdp1MkIW/YXfo/XJw1JEEy2A4Z U08B2wkrLQh1ELKYi6bgQ+U3Ts5rUF18iTk5Rj30z/QlzGC0llZiv0tnN43I9vxsrifL JQt20VVP6UMGUWwSYwlUZjsH5tJziht7aT1M9RbnkXa9QkjeeZ0B4iK3JMcjZz2jqHFs 6bDO1hF6VvS/YyJJfjLlMIh+rsupy24zlOlaSbBxt9C4zGmyhUmIUhSzNbSAyHQBgoOJ 1p7Q== 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: 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 b29si3152445qtk.59.2017.10.23.04.12.50; Mon, 23 Oct 2017 04:12:51 -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 B32A7622D6; Mon, 23 Oct 2017 11:12:50 +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 5483661D30; Mon, 23 Oct 2017 11:11:16 +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 433DA6164A; Mon, 23 Oct 2017 11:11:09 +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 DE78B6104F for ; Mon, 23 Oct 2017 11:11:05 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id r129so19661727lff.8 for ; Mon, 23 Oct 2017 04:11:05 -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=s7zgKBc9BjiNzYs7WEl73fLy4/lJxGwa9GPRZDjXryZRRmUxs3ThD3c1MhxkQ59hb9 jXg4hhFqmR4V5R0Z158gRJ8CEOj8G4jCh9FTFLPzwT2T4JTx2qCBlL3Z4v6YfyOJDUtw zEbSolDGAXVuZumidZzIW6PThxKaG8R0+MlboBWRDn/1COKOR5N9NUMoupgyJjlCsL6L 0iAqTWF4JQjkn0SCAIYSh46oIizozhVPet4z7yClcFlU0dQv0/94Jbm/hEKmMmhAP/7e 6c7/wrgkphcNA1m3Rbjj3Lo4C/Si42RQAlExxZ2HgrNp4vsM/44nspPH0M05jofbjdiA fplg== X-Gm-Message-State: AMCzsaXHeSnb05KHYA+DHQkOnnyS/VJInTQkf8g+J+c9Cf8yhe/vrVjZ Heav0MSR4sTsg8NdRWrK/Nxdw4dsTCiBag== X-Google-Smtp-Source: ABhQp+SoCZzvS1wq8YB1a0nwQwiw+9rbW6YTLtIVLDccGJ97yzmVCX73L133tcVrH+FLV/g3cSL97A== X-Received: by 10.46.89.199 with SMTP id g68mr5480003ljf.12.1508757064490; Mon, 23 Oct 2017 04:11:04 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.135]) by smtp.gmail.com with ESMTPSA id i66sm1854643lji.51.2017.10.23.04.11.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Oct 2017 04:11:03 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Mon, 23 Oct 2017 14:10:31 +0300 Message-Id: <20171023111057.6328-4-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171023111057.6328-1-dmitry.ereminsolenikov@linaro.org> References: <20171023111057.6328-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH 03/29] 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" __odp_force is not part of ODP API, so it should not be used directly. Signed-off-by: Dmitry Eremin-Solenikov --- platform/linux-generic/odp_ipsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.2 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,