From patchwork Mon Dec 1 16:15:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 41794 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1CB4C20672 for ; Mon, 1 Dec 2014 16:16:45 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id hs14sf3410406lab.1 for ; Mon, 01 Dec 2014 08:16:44 -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=jZKJDJUbLdlP/Dwq2byW8R1039Cf9N6lhlHPh3974fY=; b=eddjTiylQMXUurPAJPH56V2mH6y4IHNIlIIf5JHPzuGj2S9gXEfnUDsmpq2edXdfrO q+LJ/nu52sc4W0pQRkG4V+vnHZjJfxBEgsTs6p0EcoJSX4e0wURjWlAFxj2CBTkP8P9W yz/a93qBS4KCAQ9dzjKScXR0yBVhrFaXSKiQ42/8vvKhIMWQXaK245+ZYIwYWyVgjPSP kEfnFOr40jPqzc05iGiNTquBJNMxUWrSg//GyxckeVCqlQfBwhT1KD7mx7Jo09VsRsf6 FGk10ildAt3lA9cOakYPAFoW+cuhdTstwz6oKtayiQSg8d0K1cvyeTLOXvukW1xc+SIS WXcA== X-Gm-Message-State: ALoCoQnKGe0JMosl8flsdMlzzCKhmJATfkpyEVno16RCZdGppyL59aq1DIAM0VmZ7L/xYwOnx9L7 X-Received: by 10.152.44.195 with SMTP id g3mr4255658lam.2.1417450604110; Mon, 01 Dec 2014 08:16:44 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.98 with SMTP id d2ls1195312lae.19.gmail; Mon, 01 Dec 2014 08:16:43 -0800 (PST) X-Received: by 10.112.27.133 with SMTP id t5mr54097994lbg.45.1417450603973; Mon, 01 Dec 2014 08:16:43 -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 r6si6626844lae.60.2014.12.01.08.16.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Dec 2014 08:16:43 -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 q1so4216801lam.33 for ; Mon, 01 Dec 2014 08:16:43 -0800 (PST) X-Received: by 10.112.235.196 with SMTP id uo4mr56744806lbc.66.1417450603466; Mon, 01 Dec 2014 08:16: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 ew9csp320007lbc; Mon, 1 Dec 2014 08:16:42 -0800 (PST) X-Received: by 10.224.12.145 with SMTP id x17mr88875967qax.23.1417450601350; Mon, 01 Dec 2014 08:16:41 -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 ky4si20964511qcb.48.2014.12.01.08.16.40 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 01 Dec 2014 08:16:41 -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 1XvTeR-0007F5-Fp; Mon, 01 Dec 2014 16:16:39 +0000 Received: from mail-lb0-f173.google.com ([209.85.217.173]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XvTdt-0007Av-Oo for lng-odp@lists.linaro.org; Mon, 01 Dec 2014 16:16:05 +0000 Received: by mail-lb0-f173.google.com with SMTP id z12so8805588lbi.32 for ; Mon, 01 Dec 2014 08:16:00 -0800 (PST) X-Received: by 10.112.150.102 with SMTP id uh6mr58743297lbb.50.1417450560197; Mon, 01 Dec 2014 08:16:00 -0800 (PST) Received: from localhost.localdomain ([188.92.105.210]) by mx.google.com with ESMTPSA id ar4sm4819466lbc.48.2014.12.01.08.15.58 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Dec 2014 08:15:59 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Mon, 1 Dec 2014 19:15:34 +0300 Message-Id: <1417450537-7640-9-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 In-Reply-To: <1417450537-7640-1-git-send-email-maxim.uvarov@linaro.org> References: <1417450537-7640-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv4 08/11] 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.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 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 9f3cb40..67dd8d0 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;