Message ID | 1417450537-7640-7-git-send-email-maxim.uvarov@linaro.org |
---|---|
State | Accepted |
Commit | e7cf1ba4365c3047373d81c71c5e0851cb5d11db |
Headers | show
Return-Path: <patchwork-forward+bncBDX25FHYWQNBBYVI6KRQKGQEZDUJSVA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7A42620672 for <linaro@patches.linaro.org>; Mon, 1 Dec 2014 16:16:35 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id n15sf6806930lbi.8 for <linaro@patches.linaro.org>; Mon, 01 Dec 2014 08:16:34 -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=rFtelQXUdZIa/7A40Sfy5JvJZo2Hp/iIrJVWZO6I4EE=; b=IlQ1rsl67w6QECYcotRLE6bHPo7Ay6G9OaWWs75ZQrF1HXh+dBUzGm29WPhzradvJ5 4bXRni/IensRc7X9ubg+3b4s41nBH3bXSXiajag+1da5QrVLZkAiG0nP/ZXt7EnIXY2P MUu58ydmuMZZd7KOcw9SAqU3h5wOez8gtrTEnOFvJOnMIWmwzEcCfzylj9euTUPQXxY3 Nsk6Rha5I3nHQ8ZIYQDJPMRzFFJnuqDCTahh7tr3h+Qh+NJega7dH32gfdZJ4sNTGCJz eB/1Lpi6V0K29UHTqyZbJme5ikX2ixzGiZl2bpY0nBKenHlhT9e027PK8wnEMFPMSp7s d/nA== X-Gm-Message-State: ALoCoQk1tew5sjsjSHESVT/ys4vQyRulhRxbBAWjVk/2fL61lhKu+DJ+WLtRCsdrXj0M0IYBwIWr X-Received: by 10.180.24.131 with SMTP id u3mr4764296wif.4.1417450594465; Mon, 01 Dec 2014 08:16:34 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.8.227 with SMTP id u3ls491823laa.109.gmail; Mon, 01 Dec 2014 08:16:34 -0800 (PST) X-Received: by 10.152.115.230 with SMTP id jr6mr57872326lab.2.1417450594309; Mon, 01 Dec 2014 08:16:34 -0800 (PST) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id ao10si18054804lac.113.2014.12.01.08.16.34 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Dec 2014 08:16:34 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id w7so8761451lbi.5 for <patchwork-forward@linaro.org>; Mon, 01 Dec 2014 08:16:34 -0800 (PST) X-Received: by 10.152.3.67 with SMTP id a3mr13522916laa.56.1417450594228; Mon, 01 Dec 2014 08:16:34 -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 ew9csp319974lbc; Mon, 1 Dec 2014 08:16:33 -0800 (PST) X-Received: by 10.229.53.133 with SMTP id m5mr86175999qcg.28.1417450592613; Mon, 01 Dec 2014 08:16:32 -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 53si20993799qgi.52.2014.12.01.08.16.29 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 01 Dec 2014 08:16:32 -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 <lng-odp-bounces@lists.linaro.org>) id 1XvTeH-0007Dd-0c; Mon, 01 Dec 2014 16:16:29 +0000 Received: from mail-la0-f43.google.com ([209.85.215.43]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <maxim.uvarov@linaro.org>) id 1XvTdq-0007Ab-8f for lng-odp@lists.linaro.org; Mon, 01 Dec 2014 16:16:02 +0000 Received: by mail-la0-f43.google.com with SMTP id ge10so4415992lab.30 for <lng-odp@lists.linaro.org>; Mon, 01 Dec 2014 08:15:56 -0800 (PST) X-Received: by 10.152.21.66 with SMTP id t2mr6204589lae.27.1417450556656; Mon, 01 Dec 2014 08:15:56 -0800 (PST) Received: from localhost.localdomain ([188.92.105.210]) by mx.google.com with ESMTPSA id ar4sm4819466lbc.48.2014.12.01.08.15.54 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Dec 2014 08:15:55 -0800 (PST) From: Maxim Uvarov <maxim.uvarov@linaro.org> To: lng-odp@lists.linaro.org Date: Mon, 1 Dec 2014 19:15:32 +0300 Message-Id: <1417450537-7640-7-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 06/11] API: odp_pktio_open loop back interface X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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.174 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 |
diff --git a/platform/linux-generic/include/api/odp_packet_io.h b/platform/linux-generic/include/api/odp_packet_io.h index 65adbe5..1190355 100644 --- a/platform/linux-generic/include/api/odp_packet_io.h +++ b/platform/linux-generic/include/api/odp_packet_io.h @@ -36,6 +36,10 @@ extern "C" { * @param pool Pool to use for packet IO * * @return ODP packet IO handle or ODP_PKTIO_INVALID on error + * + * @note dev name loop is specially pktio reserved name for + * device used for testing. Usually it's loop back + * interface. */ odp_pktio_t odp_pktio_open(const char *dev, odp_buffer_pool_t pool);
Define special name for loop back interface. That interface can be used mostly for testing. Each implementation can interpret that loop to any other device. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> --- platform/linux-generic/include/api/odp_packet_io.h | 4 ++++ 1 file changed, 4 insertions(+)