From patchwork Wed Feb 8 02:37:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wang X-Patchwork-Id: 93597 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2484742qgi; Tue, 7 Feb 2017 18:37:15 -0800 (PST) X-Received: by 10.55.83.71 with SMTP id h68mr16767692qkb.259.1486521435651; Tue, 07 Feb 2017 18:37:15 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j141si4498827qke.147.2017.02.07.18.37.15; Tue, 07 Feb 2017 18:37:15 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 14EDC62FDC; Wed, 8 Feb 2017 02:37:15 +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.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2 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 B116C60F53; Wed, 8 Feb 2017 02:37:11 +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 37F8E62DD5; Wed, 8 Feb 2017 02:37:10 +0000 (UTC) Received: from mail-pf0-f173.google.com (mail-pf0-f173.google.com [209.85.192.173]) by lists.linaro.org (Postfix) with ESMTPS id 2A34660F4E for ; Wed, 8 Feb 2017 02:37:09 +0000 (UTC) Received: by mail-pf0-f173.google.com with SMTP id f144so37944508pfa.2 for ; Tue, 07 Feb 2017 18:37:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pEMhx26HbRbfZM0dn1e92BpzJYCeyYc+jMwmESIEDfU=; b=s4JcGNjRcD6TP718fB6isiSDQVEjJbfzwJ9Xq8sokxYQ2OlEE9NzOSc/a+I66FxPEN wJ0eTZOMSF/F5WnQWCxdAe3TctEi6vl4BXRRWDeunuF7iowJaHFFvBspU6+ECzF5Mb59 gF9djSNgN4USkI4SBTw8sdttN7fofoMYMUFN+BUKMp1l3lnyYfq+0kh32/dyoUqafeCN dMj+rHQJ/cU7pfQUZJVGhycvnEnn9oujO7TZGXmfHJmd+WB8fih+0TCiV9JYV+gORA4L E0ugoS2Wk1BU2Tt51ovsy5UvwaYlgbQRmONQzKjkFR3zU5n0BmYCOZx7PZN9xZsK50kD TwKQ== X-Gm-Message-State: AIkVDXLbsZAH/Km7mxbl/o2FeEmB8nBR73/edFU51G/fLyXbHgx1OViG3c3vN5E4R78p6mM7Qjg= X-Received: by 10.84.224.70 with SMTP id a6mr15059764plt.28.1486521428376; Tue, 07 Feb 2017 18:37:08 -0800 (PST) Received: from ubuntu.heyii.co (ubuntu.heyii.co. [45.32.66.203]) by smtp.googlemail.com with ESMTPSA id i82sm14714084pfk.52.2017.02.07.18.37.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Feb 2017 18:37:07 -0800 (PST) From: Kevin Wang To: lng-odp@lists.linaro.org Date: Wed, 8 Feb 2017 02:37:00 +0000 Message-Id: <1486521424-11172-1-git-send-email-kevin.wang@linaro.org> X-Mailer: git-send-email 1.9.1 Subject: [lng-odp] [API-NEXT PATCHv4 0/4] a new API to support timer capability 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" *** BLURB HERE *** Kevin Wang (4): api: timer: add odp_timer_capability() api linux-generic: timer: implement odp_timer_capability() validation/example: call odp_timer_capability() before creating a timer pool doc: userguide: add odp_timer_capability() section to user guide doc/users-guide/users-guide-timer.adoc | 3 +- example/generator/odp_generator.c | 8 ++- example/timer/odp_timer_simple.c | 9 ++- example/timer/odp_timer_test.c | 7 +- include/odp/api/spec/timer.h | 21 ++++++ platform/linux-generic/odp_timer.c | 95 +++++++++++++++++++++++++++ test/common_plat/validation/api/timer/timer.c | 28 +++++--- 7 files changed, 158 insertions(+), 13 deletions(-) -- 1.9.1