From patchwork Tue Feb 2 16:08:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 61029 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp824907lbb; Tue, 2 Feb 2016 08:08:25 -0800 (PST) X-Received: by 10.140.249.68 with SMTP id u65mr37642296qhc.53.1454429305385; Tue, 02 Feb 2016 08:08:25 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id n61si1576440qge.38.2016.02.02.08.08.24; Tue, 02 Feb 2016 08:08:25 -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 Received: by lists.linaro.org (Postfix, from userid 109) id BBEE461642; Tue, 2 Feb 2016 16:08:24 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=Zk0ddshg; dkim-adsp=none (unprotected policy); dkim-atps=neutral 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 2BDF6615F9; Tue, 2 Feb 2016 16:08:21 +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 DCAA6615F1; Tue, 2 Feb 2016 16:08:18 +0000 (UTC) Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by lists.linaro.org (Postfix) with ESMTPS id DE623615F1 for ; Tue, 2 Feb 2016 16:08:17 +0000 (UTC) Received: by mail-lf0-f49.google.com with SMTP id l143so54710399lfe.2 for ; Tue, 02 Feb 2016 08:08:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=4B0Q9sntmbhEkLTgy+9YElc4T7ketBtGCeRcoIlQ4+w=; b=Zk0ddshgkC3cG+iGGlv5BgAQ8e3+A3ZQ9vdsy1PYUpPnBwIFNm8M9xxH3DLbF8A8Lq e9RjeDRYTpvWK64PWWoHllhmqmi0G/3KbeufNFlPsffqC7eHF9KuuSvHFb3ToC66SLW0 OmSY7mwgEs6JJdnMUdWreIq1Ti2bVP+NgPLiE= 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=4B0Q9sntmbhEkLTgy+9YElc4T7ketBtGCeRcoIlQ4+w=; b=CUpUk2cJCZRCWujkDNSV7F03ZniGE5xV3oIdxUwIPXByIS20bxWDmFLCoZ/2Git9QH i34VO8JGrxlnYS8U3fQiBBImrPjPlyE3bYFHMtAPCMJMXSynIDyqA9tlVnKqFO6YXxYg k9QuYikjaj8lInL0b56LgWzBAWJi+IbsdtBiiRCI7sgAZsW1ywbTiuh9FXhwtN+4c2Of 0oeyMyFUCKL0UOPjTFTOsL+4kwfh4cKfxvlOGdHsGZr8feLk2b3qdNs05vuM03zSNjUN XQVvyfQ8XvrD/Pn/h+Sk+OkVUzC6CCMyGyIfhAPA5YiR/XOAoha3EDiRjeHqYDN+mAVf xm3Q== X-Gm-Message-State: AG10YOQTs2WgwGiYj5rDeP5eZvquP/J10YT7hUTwhL0O2lixvnHwPGtvVTPgwiyE55Ot+RNU68U= X-Received: by 10.25.160.1 with SMTP id j1mr11921025lfe.35.1454429296225; Tue, 02 Feb 2016 08:08:16 -0800 (PST) Received: from localhost.localdomain (ppp91-76-173-134.pppoe.mtu-net.ru. [91.76.173.134]) by smtp.gmail.com with ESMTPSA id ja4sm308164lbc.8.2016.02.02.08.08.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 Feb 2016 08:08:15 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 2 Feb 2016 19:08:11 +0300 Message-Id: <1454429291-3918-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] validation: pktio: fix typo on setting in_mode 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" Setting ODP_QUEUE_TYPE_SCHED for in_mode is incorrect, ODP_PKTIN_MODE_SCHED has to be used. Signed-off-by: Maxim Uvarov --- test/validation/pktio/pktio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c index e412910..b61b3d0 100644 --- a/test/validation/pktio/pktio.c +++ b/test/validation/pktio/pktio.c @@ -816,7 +816,7 @@ int pktio_check_statistics_counters(void) const char *iface = iface_name[0]; odp_pktio_param_init(&pktio_param); - pktio_param.in_mode = ODP_QUEUE_TYPE_SCHED; + pktio_param.in_mode = ODP_PKTIN_MODE_SCHED; pktio = odp_pktio_open(iface, pool[0], &pktio_param); if (pktio == ODP_PKTIO_INVALID)