From patchwork Tue Nov 25 16:24:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 41484 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E37E4246DF for ; Tue, 25 Nov 2014 16:24:53 +0000 (UTC) Received: by mail-la0-f71.google.com with SMTP id s18sf649399lam.2 for ; Tue, 25 Nov 2014 08:24:52 -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: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=btHyaF4HwS/KOede8fc7p2EFhGJnpLEH8Ha5krqG0fs=; b=CHiJmIYciMo44pBnuKp51qlN3HikLyOCCyowFmXz7+9Go10ik9wAEgcSA2LYfTEwb4 yHllCz8LNxp6+gG7I/ndnh2nuj3QiIb+SEksz2QwjKXDkQl0pS8MX3io45N64ztusoXK vpjqgYbOxogSYqM1dwdTYTx4HYcBNt58+mwxYDDE8zOHGtUlpAcvcWk2747Y6wSEa4LG mn2Cb8CEvK8binj5LkstASgdUVpg445rV05yIp5pnQEQ3g1ZL605/9cihUlI2PActJul SLIx9VX+CkVS1iu2x3VJEZl1Jw2Z0IofqcrWlVBA93SX+lcQx/Ie8UbaCTpQqGCA7n17 IBMw== X-Gm-Message-State: ALoCoQkcPv7Dh3mkyfmisLabnBrf3QaEi4AFccIB85daT0y/LIHPTinFSz063+yrsN6uB6EEQeaq X-Received: by 10.112.130.8 with SMTP id oa8mr906871lbb.11.1416932692834; Tue, 25 Nov 2014 08:24:52 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.1 with SMTP id bc1ls630788lab.24.gmail; Tue, 25 Nov 2014 08:24:52 -0800 (PST) X-Received: by 10.152.87.67 with SMTP id v3mr26628663laz.97.1416932692656; Tue, 25 Nov 2014 08:24:52 -0800 (PST) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id u1si1824589lbb.79.2014.11.25.08.24.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Nov 2014 08:24:52 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by mail-la0-f47.google.com with SMTP id hz20so852301lab.6 for ; Tue, 25 Nov 2014 08:24:52 -0800 (PST) X-Received: by 10.152.8.170 with SMTP id s10mr28308132laa.56.1416932692562; Tue, 25 Nov 2014 08:24:52 -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 ew9csp464852lbc; Tue, 25 Nov 2014 08:24:51 -0800 (PST) X-Received: by 10.220.81.196 with SMTP id y4mr15615132vck.25.1416932691260; Tue, 25 Nov 2014 08:24:51 -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 13si558835vcd.44.2014.11.25.08.24.50 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 25 Nov 2014 08:24:51 -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 1XtIv2-0003w0-VN; Tue, 25 Nov 2014 16:24:48 +0000 Received: from mail-la0-f46.google.com ([209.85.215.46]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XtIuw-0003vl-Cb for lng-odp@lists.linaro.org; Tue, 25 Nov 2014 16:24:42 +0000 Received: by mail-la0-f46.google.com with SMTP id gd6so862949lab.19 for ; Tue, 25 Nov 2014 08:24:36 -0800 (PST) X-Received: by 10.152.10.143 with SMTP id i15mr28735920lab.5.1416932676418; Tue, 25 Nov 2014 08:24:36 -0800 (PST) Received: from localhost.localdomain ([188.92.105.210]) by mx.google.com with ESMTPSA id b9sm460748laf.15.2014.11.25.08.24.34 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Nov 2014 08:24:35 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 25 Nov 2014 19:24:28 +0300 Message-Id: <1416932669-2053-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 X-Topics: patch Subject: [lng-odp] [PATCH 1/2] odp_pktio_open loop back interface 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.47 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 Define special name for loop back interface. That interface can be used mostly for testing. Each implementation can interpret that loop0 to any other device. Signed-off-by: Maxim Uvarov --- platform/linux-generic/include/api/odp_packet_io.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/include/api/odp_packet_io.h b/platform/linux-generic/include/api/odp_packet_io.h index 667395c..c388c41 100644 --- a/platform/linux-generic/include/api/odp_packet_io.h +++ b/platform/linux-generic/include/api/odp_packet_io.h @@ -33,7 +33,8 @@ extern "C" { * Open an ODP packet IO instance * * @param dev Packet IO device - * @param pool Pool to use for packet IO + * loop0 is specially reserved name for loop back interface. +* @param pool Pool to use for packet IO * * @return ODP packet IO handle or ODP_PKTIO_INVALID on error */