From patchwork Mon Dec 8 13:58:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Barbu X-Patchwork-Id: 42008 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f71.google.com (mail-ee0-f71.google.com [74.125.83.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 943C6202E0 for ; Mon, 8 Dec 2014 13:59:35 +0000 (UTC) Received: by mail-ee0-f71.google.com with SMTP id c13sf2830896eek.10 for ; Mon, 08 Dec 2014 05:59:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id: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=BspoR9E5jfZr+NkgJwNrnfqu84uFv0X7VaCgdLs9iuE=; b=LgoUWxnNn37J8P7AdPlInAaQXSP6eGNsFq+TrTPKTPIxX/TkOFdoX/+erA3mCXQk0Y YkzVirWE/K3jVTD2FT0C8k8w/G1X9H6lCT93H8J5LVvBJDBqhVEM648JHTfDnuvrtmxw Q22Xb+o9nY3jwSXVMMwLMrFICI+H8Lp6P6yq3SVoziRs/N90OgE0zUj9tDZ8xSi5tyL9 c7HPxkwRL2w25icxku+MeKH1lUXBgcPPmNbExxAFLav7Jal+ex3XVLRAOWfJFBBElQhS Oo47Cde8eb6kntL45qZ/FmpToIhA/xyAkmxJEPLGS2qyjyko4zPsOgHA+Bzder+lkYVe yFqw== X-Gm-Message-State: ALoCoQnI9qdr8q0hG1t5lzghZtElL3idtCU6zUkDXXpfUffi+i+kKAjDpDEVHbV0jHf8SN7pGrBI X-Received: by 10.194.176.106 with SMTP id ch10mr56585wjc.6.1418047174852; Mon, 08 Dec 2014 05:59:34 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.203.226 with SMTP id kt2ls84659lac.52.gmail; Mon, 08 Dec 2014 05:59:34 -0800 (PST) X-Received: by 10.152.205.74 with SMTP id le10mr16271800lac.96.1418047174559; Mon, 08 Dec 2014 05:59:34 -0800 (PST) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id pm1si23181723lbb.52.2014.12.08.05.59.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Dec 2014 05:59:34 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by mail-la0-f46.google.com with SMTP id q1so3997220lam.19 for ; Mon, 08 Dec 2014 05:59:34 -0800 (PST) X-Received: by 10.112.14.69 with SMTP id n5mr16510011lbc.34.1418047174463; Mon, 08 Dec 2014 05:59:34 -0800 (PST) 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.184.201 with SMTP id ew9csp606747lbc; Mon, 8 Dec 2014 05:59:33 -0800 (PST) X-Received: by 10.229.44.7 with SMTP id y7mr52710790qce.26.1418047173043; Mon, 08 Dec 2014 05:59:33 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id g5si43337777qab.87.2014.12.08.05.59.32 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 08 Dec 2014 05:59:33 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XxyqY-0002C0-S5; Mon, 08 Dec 2014 13:59:30 +0000 Received: from mail-lb0-f171.google.com ([209.85.217.171]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XxyqS-0002Be-Iu for lng-odp@lists.linaro.org; Mon, 08 Dec 2014 13:59:24 +0000 Received: by mail-lb0-f171.google.com with SMTP id n15so3821963lbi.30 for ; Mon, 08 Dec 2014 05:59:19 -0800 (PST) X-Received: by 10.153.7.170 with SMTP id dd10mr16287808lad.44.1418047158980; Mon, 08 Dec 2014 05:59:18 -0800 (PST) Received: from cipriantemp.enea.se (sestofw01.enea.se. [192.36.1.252]) by mx.google.com with ESMTPSA id zs7sm7419670lbb.18.2014.12.08.05.59.18 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Dec 2014 05:59:18 -0800 (PST) From: Ciprian Barbu To: lng-odp@lists.linaro.org Date: Mon, 8 Dec 2014 15:58:39 +0200 Message-Id: <1418047120-27159-1-git-send-email-ciprian.barbu@linaro.org> X-Mailer: git-send-email 1.8.3.2 X-Topics: patch Subject: [lng-odp] [PATCH 1/2] api: queue: add odp_queue_sched_prio and odp_queue_sched_group X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ciprian.barbu@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.46 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: Ciprian Barbu --- platform/linux-generic/include/api/odp_queue.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/platform/linux-generic/include/api/odp_queue.h b/platform/linux-generic/include/api/odp_queue.h index b8ac4bb..d25fd65 100644 --- a/platform/linux-generic/include/api/odp_queue.h +++ b/platform/linux-generic/include/api/odp_queue.h @@ -222,6 +222,24 @@ odp_queue_type_t odp_queue_type(odp_queue_t queue); odp_schedule_sync_t odp_queue_sched_type(odp_queue_t queue); /** + * Queue priority + * + * @param queue Queue handle + * + * @return Queue priority + */ +odp_schedule_prio_t odp_queue_sched_prio(odp_queue_t queue); + +/** + * Queue group + * + * @param queue Queue handle + * + * @return Queue group + */ +odp_schedule_group_t odp_queue_sched_group(odp_queue_t queue); + +/** * @} */