From patchwork Fri Jul 10 18:03:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 51048 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AB923228E5 for ; Fri, 10 Jul 2015 18:04:38 +0000 (UTC) Received: by widjy10 with SMTP id jy10sf6738405wid.3 for ; Fri, 10 Jul 2015 11:04:38 -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=1ZMGRNEKhg8hMH5L0nY5ARHpBQujeogE/b19U1F71GI=; b=MhTWco13+Q8oUs6Ah8+eyjyp+wpyWAJOOb8AYT6WsUTtFz1ExeZQRciDcFW3mslFne 5MZvznC1drfmw+uvVqh2DUsUJ2hflKtkabiwB0RhXQfS1HmsGNQvIiQmO3S7dygPi0d3 WhPpo0HOb4NqZou7b6awj5HqLpl1whvtaCgV615QICH67vcipyBpMHAYXPGE0Z2NF+Hx KnPx/vHA+LJTS20K64mfHGASwyGL32O6xTJEhl5p0FNrPHZsETpChZjFs/jpCwuRb1eo P2Htc4v7o5cQEoljpXbscGjSOhDkoodEYimbGLQLuh6QP7QZFd45mrMNqxFKDQ77jAbh uhoQ== X-Gm-Message-State: ALoCoQkS88ipHXUVAEkWqYvDUVvUdGByywmU7M8QmnoWwH3/zA+GH6boJQ1f+kItkSQ65S3kguW+ X-Received: by 10.152.120.69 with SMTP id la5mr11404544lab.7.1436551477984; Fri, 10 Jul 2015 11:04:37 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.162 with SMTP id n2ls1275316laf.82.gmail; Fri, 10 Jul 2015 11:04:37 -0700 (PDT) X-Received: by 10.112.41.171 with SMTP id g11mr20956964lbl.123.1436551477834; Fri, 10 Jul 2015 11:04:37 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id bw8si8165031lbd.146.2015.07.10.11.04.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jul 2015 11:04:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lblf12 with SMTP id f12so27314342lbl.2 for ; Fri, 10 Jul 2015 11:04:37 -0700 (PDT) X-Received: by 10.152.4.163 with SMTP id l3mr21281032lal.35.1436551477702; Fri, 10 Jul 2015 11:04:37 -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.108.230 with SMTP id hn6csp147623lbb; Fri, 10 Jul 2015 11:04:36 -0700 (PDT) X-Received: by 10.140.234.204 with SMTP id f195mr36666512qhc.40.1436551476401; Fri, 10 Jul 2015 11:04:36 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id h13si5664536qhc.16.2015.07.10.11.04.34; Fri, 10 Jul 2015 11:04:36 -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 E9E0762077; Fri, 10 Jul 2015 18:04:33 +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=disabled 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 E0E616206C; Fri, 10 Jul 2015 18:04:09 +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 A336262079; Fri, 10 Jul 2015 18:04:06 +0000 (UTC) Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by lists.linaro.org (Postfix) with ESMTPS id 8B6B162018 for ; Fri, 10 Jul 2015 18:03:43 +0000 (UTC) Received: by obbkm3 with SMTP id km3so195814144obb.1 for ; Fri, 10 Jul 2015 11:03:43 -0700 (PDT) X-Received: by 10.60.174.39 with SMTP id bp7mr21226143oec.70.1436551423082; Fri, 10 Jul 2015 11:03:43 -0700 (PDT) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by smtp.gmail.com with ESMTPSA id fh3sm4374778obb.23.2015.07.10.11.03.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jul 2015 11:03:42 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 10 Jul 2015 13:03:33 -0500 Message-Id: <1436551413-2609-4-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436551413-2609-1-git-send-email-bill.fischofer@linaro.org> References: <1436551413-2609-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv2 4/4] performance: use odp_queue_param_init routine 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: bill.fischofer@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.217.177 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: Bill Fischofer --- test/performance/odp_l2fwd.c | 1 + test/performance/odp_pktio_perf.c | 1 + test/performance/odp_scheduling.c | 1 + 3 files changed, 3 insertions(+) diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c index 7394dfc..232107f 100644 --- a/test/performance/odp_l2fwd.c +++ b/test/performance/odp_l2fwd.c @@ -292,6 +292,7 @@ static odp_pktio_t create_pktio(const char *dev, odp_pool_t pool, if (mode == APPL_MODE_PKT_BURST) return pktio; + odp_queue_param_init(&qparam); qparam.sched.prio = ODP_SCHED_PRIO_DEFAULT; qparam.sched.sync = ODP_SCHED_SYNC_ATOMIC; qparam.sched.group = ODP_SCHED_GROUP_ALL; diff --git a/test/performance/odp_pktio_perf.c b/test/performance/odp_pktio_perf.c index 98511a5..7766346 100644 --- a/test/performance/odp_pktio_perf.c +++ b/test/performance/odp_pktio_perf.c @@ -745,6 +745,7 @@ static int test_init(void) } /* create and associate an input queue for the RX side */ + odp_queue_param_init(&qparam); qparam.sched.prio = ODP_SCHED_PRIO_DEFAULT; qparam.sched.sync = ODP_SCHED_SYNC_NONE; qparam.sched.group = ODP_SCHED_GROUP_ALL; diff --git a/test/performance/odp_scheduling.c b/test/performance/odp_scheduling.c index 8fa7734..ab0019b 100644 --- a/test/performance/odp_scheduling.c +++ b/test/performance/odp_scheduling.c @@ -954,6 +954,7 @@ int main(int argc, char *argv[]) name[6] = '0' + i/10; name[7] = '0' + i - 10*(i/10); + odp_queue_param_init(¶m); param.sched.prio = i; param.sched.sync = ODP_SCHED_SYNC_ATOMIC; param.sched.group = ODP_SCHED_GROUP_ALL;