From patchwork Thu Apr 23 17:47:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 47472 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6D57D20553 for ; Thu, 23 Apr 2015 17:50:00 +0000 (UTC) Received: by wgtl5 with SMTP id l5sf6313642wgt.1 for ; Thu, 23 Apr 2015 10:49:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=OQ+mrim+yhAAzCybAcTwDGCAeVmCSAXqNnJMr9s7iWc=; b=A0jj55s/vP2k4YMla6xhEtgI1EaYbaZMMGwPrR01g+ZScBfUZUM4qfwqVsS+lroZHw xT9d35Uo1tELrk1ArKMZmmfZ4prIGN6vFyyJ+eMH3qqhdE1JWjNVpsNX9NR3hsccR0Fn auY5OWLPNrsKNKWX7BoRlY3oPc4RYU+bizADYBXsZqvNzrIyDPz5Pivl4x3VBul5h0ZP l3l/rwfxEA4omce6aHFrXRHj/Rz3QwfBQr0nHI0TshdAimVdfv9v3QZo72JZ/CQtyELB mBOIHn9Xrpbm0CQ+dPJKV9QNT6n6WXIiSrOuipXF/RwE0t9wae71SuSjL3n+GwudkJcm 6wUw== X-Gm-Message-State: ALoCoQnQ2h9dMU8hqqsQdZiW56z5lCeeWK1neIVuT8zbe73fYnSKOJXbXNVBOdv8P9S6Z3N+KnYE X-Received: by 10.152.37.101 with SMTP id x5mr1968862laj.5.1429811399718; Thu, 23 Apr 2015 10:49:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.170.198 with SMTP id ao6ls364542lac.103.gmail; Thu, 23 Apr 2015 10:49:59 -0700 (PDT) X-Received: by 10.152.25.167 with SMTP id d7mr3501319lag.108.1429811399572; Thu, 23 Apr 2015 10:49:59 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id qf3si6433545lbb.143.2015.04.23.10.49.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Apr 2015 10:49:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by layy10 with SMTP id y10so18323705lay.0 for ; Thu, 23 Apr 2015 10:49:59 -0700 (PDT) X-Received: by 10.152.29.161 with SMTP id l1mr3374411lah.76.1429811399476; Thu, 23 Apr 2015 10:49:59 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp719015lbt; Thu, 23 Apr 2015 10:49:58 -0700 (PDT) X-Received: by 10.55.40.91 with SMTP id o88mr1563879qkh.65.1429811398211; Thu, 23 Apr 2015 10:49:58 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id m17si8751911qgd.53.2015.04.23.10.49.28; Thu, 23 Apr 2015 10:49:58 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 0528A61FDB; Thu, 23 Apr 2015 17:49:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 3C3C461FE1; Thu, 23 Apr 2015 17:48:08 +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 A7E4F61FF1; Thu, 23 Apr 2015 17:48:04 +0000 (UTC) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by lists.linaro.org (Postfix) with ESMTPS id B2C9261FE2 for ; Thu, 23 Apr 2015 17:47:26 +0000 (UTC) Received: by lbbuc2 with SMTP id uc2so18886464lbb.2 for ; Thu, 23 Apr 2015 10:47:25 -0700 (PDT) X-Received: by 10.152.121.42 with SMTP id lh10mr3550639lab.0.1429811245677; Thu, 23 Apr 2015 10:47:25 -0700 (PDT) Received: from localhost.localdomain (ppp91-76-163-193.pppoe.mtu-net.ru. [91.76.163.193]) by mx.google.com with ESMTPSA id k2sm2010574lag.9.2015.04.23.10.47.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Apr 2015 10:47:24 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Thu, 23 Apr 2015 20:47:03 +0300 Message-Id: <1429811225-10239-6-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1429811225-10239-1-git-send-email-maxim.uvarov@linaro.org> References: <1429811225-10239-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH 5/7] linux-generic: ipc init odp ring X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxim.uvarov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Maxim Uvarov --- platform/linux-generic/odp_init.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c index bf36e68..630aa99 100644 --- a/platform/linux-generic/odp_init.c +++ b/platform/linux-generic/odp_init.c @@ -8,6 +8,7 @@ #include #include #include +#include struct odp_global_data_s odp_global_data; @@ -71,6 +72,11 @@ int odp_init_global(odp_init_t *params, return -1; } + /* for linux-generic IPC queue implemented totaly in + * software using odp_ring. + */ + odph_ring_tailq_init(); + return 0; }