From patchwork Thu Nov 27 17:51:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 41639 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D7C8D244C2 for ; Thu, 27 Nov 2014 17:52:44 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf3361511lbj.7 for ; Thu, 27 Nov 2014 09:52:43 -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: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=tyP8cr1dHD4radfV/4xjddz1iCyHzSU8Kg/GC7IYTFw=; b=dj517D9NhvX22CK6IHHkV/CxXwqrUnvxPexWVShGu6FHWPuj8sEiBtyaiLSPuKYk/j 7a/vpZxHFUA9gvOIr9Ibtz4naW90JqmhhONYQ+2QwWLCDTPkFjt5r21xPwNhjZ0q+scz 700pz9fSHr71aycKxXMJGHq+7IsAy9qRfQjOArWnRPpCqj+qFkYIYgXnpGcypjHnzpbD w5btY7RdkkF6zWEO3Ko9um5afuLcmp0GwqeZTHN9jzcHUSW6chc5i3SXgr3Xu1cmtGzp CeWg9w2rYBThRiMc9YFKmcGTgIud88ghikbtxVqlj6zL/wENrK/E7kPRElQlQeqWP6ay zMCQ== X-Gm-Message-State: ALoCoQncZ798E83+CkI+7+fnf93VzLo7Nq0m0RRfVerdf1n536zCwUzSZN5423Q9+nAIhVeOuhmN X-Received: by 10.181.13.147 with SMTP id ey19mr8836255wid.2.1417110763874; Thu, 27 Nov 2014 09:52:43 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.7 with SMTP id o7ls798145lao.55.gmail; Thu, 27 Nov 2014 09:52:43 -0800 (PST) X-Received: by 10.152.23.9 with SMTP id i9mr18629482laf.81.1417110763513; Thu, 27 Nov 2014 09:52:43 -0800 (PST) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id jc4si7842872lbc.137.2014.11.27.09.52.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Nov 2014 09:52:43 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by mail-lb0-f179.google.com with SMTP id z11so4413794lbi.24 for ; Thu, 27 Nov 2014 09:52:43 -0800 (PST) X-Received: by 10.112.235.196 with SMTP id uo4mr39613294lbc.66.1417110763419; Thu, 27 Nov 2014 09:52:43 -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 ew9csp832713lbc; Thu, 27 Nov 2014 09:52:42 -0800 (PST) X-Received: by 10.224.37.67 with SMTP id w3mr57224147qad.88.1417110762268; Thu, 27 Nov 2014 09:52:42 -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 l108si9177666qgf.94.2014.11.27.09.52.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 27 Nov 2014 09:52:42 -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 1Xu3F9-0005oy-D6; Thu, 27 Nov 2014 17:52:39 +0000 Received: from mail-la0-f48.google.com ([209.85.215.48]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Xu3Ea-0005hj-7y for lng-odp@lists.linaro.org; Thu, 27 Nov 2014 17:52:04 +0000 Received: by mail-la0-f48.google.com with SMTP id s18so4496588lam.21 for ; Thu, 27 Nov 2014 09:51:58 -0800 (PST) X-Received: by 10.152.7.71 with SMTP id h7mr39213521laa.68.1417110718653; Thu, 27 Nov 2014 09:51:58 -0800 (PST) Received: from localhost.localdomain (broadband-46-188-125-99.2com.net. [46.188.125.99]) by mx.google.com with ESMTPSA id ed8sm2020693lbb.41.2014.11.27.09.51.57 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Nov 2014 09:51:57 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Thu, 27 Nov 2014 20:51:25 +0300 Message-Id: <1417110685-2931-9-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 In-Reply-To: <1417110685-2931-1-git-send-email-maxim.uvarov@linaro.org> References: <1417110685-2931-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv2 8/8] cunit: use special device for testing 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: maxim.uvarov@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.179 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 Use special device for cunit tests. Named as loop odp pktio dev. Signed-off-by: Maxim Uvarov --- test/validation/odp_pktio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/odp_pktio.c b/test/validation/odp_pktio.c index 87b55a0..0ed2f2e 100644 --- a/test/validation/odp_pktio.c +++ b/test/validation/odp_pktio.c @@ -168,7 +168,7 @@ int main(void) } /* Open a packet IO instance for this thread */ - pktio = odp_pktio_open("eth0", pool); + pktio = odp_pktio_open("loop", pool); if (pktio == ODP_PKTIO_INVALID) { fprintf(stderr, "Error: pktio create failed\n"); return -1;