From patchwork Tue Dec 1 13:14:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 57486 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp2161598lbb; Tue, 1 Dec 2015 05:14:39 -0800 (PST) X-Received: by 10.140.22.212 with SMTP id 78mr16074292qgn.17.1448975679188; Tue, 01 Dec 2015 05:14:39 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id c207si50031831qhc.125.2015.12.01.05.14.38; Tue, 01 Dec 2015 05:14:39 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: by lists.linaro.org (Postfix, from userid 109) id C5B6761D3B; Tue, 1 Dec 2015 13:14:38 +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=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID, 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 1314661CC9; Tue, 1 Dec 2015 13:14:35 +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 F18AB61D08; Tue, 1 Dec 2015 13:14:29 +0000 (UTC) Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com [209.85.214.179]) by lists.linaro.org (Postfix) with ESMTPS id 1D6AB6183D for ; Tue, 1 Dec 2015 13:14:29 +0000 (UTC) Received: by obcse5 with SMTP id se5so260123obc.3 for ; Tue, 01 Dec 2015 05:14:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=Mi4c9yivqTQTSLW62fdpVJ6kZqfM/tZGnO2L8EvyXek=; b=0pLeWd2U6aiMUa5Ar+6BXPtVop6K/HhiY60Lo2K8RyCWiwcnr98TqE+tdSGGPkVBHm Syxs3NX0iUKQ2vZI+z4jdJKeEVDJsdWvb3ylpsSjDbV7cghxmsEDUL6Phk4Gy6VLqMiU GIGQFZLOxdnJRJwFRNQYPNOCNo959H99SLaCpwc/jbp9VZkrA2FsphAZdnVuxF1npcrJ sBg6ExStBAf/bsjNG3imTqxDsNsNLtXaGo8YCN8cXoN5ns4U0oGEB2OBYoNE5AlYrdBD ZLVnzD5BEtoSUwxqdX6OCNQygXYaEIXXX1xWIcXenGCSvvYyj/TrUzJ/tcKnKf+qN29V LxXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Mi4c9yivqTQTSLW62fdpVJ6kZqfM/tZGnO2L8EvyXek=; b=HJJc43pUHlSZMtCcLi1hezSHV5Grkf0mA11f3lHu0MVuYANl2G8AfE+GUzJgWpWOpt nm3jO6IV0h89x8xFCD7T2Hxnyk0x9v+4Oq02UfwyLYOPdl1YIeO183o+/Elmg+LyslLn tHEiyZAf1Bd+ZRwf5QZ5WDgOKKnlAalnKx5cKe5MA8ogwD98ms6rjV+JksCPLLjoFSHB qFPHafJz4Ub6Dn9mLmk+GesW/MCnJap+B87Dtp4MGdHvML3akwtSOtU8pRVAhra/EC2s BhMUyPvdxyVnfae4e5W2PT1E6mMNGMYZtD6Xbr0hlJVeLLl09X5/0rTdc6rmrTc7xK4H AE9g== X-Gm-Message-State: ALoCoQmyx7brOhgpS+oDY82kZcGixnvG62xLIP1gZiQRNo9K25JDJTjNTR2NUDdqWn7uOtOdnkrJ X-Received: by 10.60.92.138 with SMTP id cm10mr47584971oeb.64.1448975668600; Tue, 01 Dec 2015 05:14:28 -0800 (PST) Received: from Ubuntu15.localdomain (cpe-66-68-129-43.austin.res.rr.com. [66.68.129.43]) by smtp.gmail.com with ESMTPSA id a77sm23897487oic.8.2015.12.01.05.14.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Dec 2015 05:14:28 -0800 (PST) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Tue, 1 Dec 2015 07:14:23 -0600 Message-Id: <1448975663-23653-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: patch Subject: [lng-odp] [PATCH] linux-generic: schedule: set sched_local.pool correctly 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: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" This corrects bug https://bugs.linaro.org/show_bug.cgi?id=1921 Signed-off-by: Bill Fischofer --- platform/linux-generic/odp_schedule.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/odp_schedule.c b/platform/linux-generic/odp_schedule.c index 884ae60..9b7cd57 100644 --- a/platform/linux-generic/odp_schedule.c +++ b/platform/linux-generic/odp_schedule.c @@ -553,6 +553,8 @@ static int schedule(odp_queue_t *out_queue, odp_event_t out_ev[], sched_local.origin_qe = qe; sched_local.order = sched_local.buf_hdr[0]->order; + sched_local.pool = + sched_local.buf_hdr[0]->pool_hdl; for (k = 0; k < qe->s.param.sched.lock_count; k++) {