From patchwork Fri Sep 4 10:16:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Haslam X-Patchwork-Id: 53080 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id 1C1A62159E for ; Fri, 4 Sep 2015 10:17:28 +0000 (UTC) Received: by wicgb1 with SMTP id gb1sf3475173wic.3 for ; Fri, 04 Sep 2015 03:17:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to: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=cDIWOc24SVq/KWQ9IM+W7xo5u24hLxfOAJmgU/j8nLU=; b=c/jllp3DsAjiLsgfpq96HfhonDOOGUrBkKEc2GcpyqXvXpHw+P15xGDDxMtlufWODQ odp+1Kg4c6x0rk6j9IZSpBClXrUI703LxWiPLpucv67Ksg7yo/4erzTrjmYeqipJl/s/ PHV6OJJV+7rz2TaF7IuspW9Tlv8dG5msNIKmExr6/EaGSK75fvOzndm4ZBhbXc7PfctM XmeoBZuDhyR3pCD9a/+YUA4HJJ21YH4FGtGUZ5Il2+qYKnfOtiF5Xup6SQg8EM8Xmtfb UX2ioqvdWk+ubucz8kUjPVJ4FjKtTkmLDZo8ygLrvsmZ4gWFfh/+t9oNNSJSu511ut1/ yuWQ== X-Gm-Message-State: ALoCoQmDPo2LV+i5JaxR/OwFzJCEtXnOvTkrU5URtyVKguS+jVvK/dj5YGf8fYlnLBl1Wh77jK8I X-Received: by 10.112.99.37 with SMTP id en5mr822500lbb.7.1441361847142; Fri, 04 Sep 2015 03:17:27 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.135 with SMTP id m7ls288905laf.103.gmail; Fri, 04 Sep 2015 03:17:27 -0700 (PDT) X-Received: by 10.112.168.100 with SMTP id zv4mr2879500lbb.117.1441361846994; Fri, 04 Sep 2015 03:17:26 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id l5si1886000lbs.78.2015.09.04.03.17.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2015 03:17:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by lamp12 with SMTP id p12so10061584lam.0 for ; Fri, 04 Sep 2015 03:17:26 -0700 (PDT) X-Received: by 10.152.170.230 with SMTP id ap6mr2929722lac.73.1441361846364; Fri, 04 Sep 2015 03:17:26 -0700 (PDT) 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.164.42 with SMTP id yn10csp1851064lbb; Fri, 4 Sep 2015 03:17:25 -0700 (PDT) X-Received: by 10.140.232.135 with SMTP id d129mr4093411qhc.34.1441361845522; Fri, 04 Sep 2015 03:17:25 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 141si2253473qhx.82.2015.09.04.03.17.24; Fri, 04 Sep 2015 03:17:25 -0700 (PDT) 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; Received: by lists.linaro.org (Postfix, from userid 109) id 82CC061A3D; Fri, 4 Sep 2015 10:17:24 +0000 (UTC) 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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 7E3D7619F2; Fri, 4 Sep 2015 10:17:20 +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 B370C61A0F; Fri, 4 Sep 2015 10:17:18 +0000 (UTC) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by lists.linaro.org (Postfix) with ESMTPS id 038A0619CE for ; Fri, 4 Sep 2015 10:17:18 +0000 (UTC) Received: by wicfx3 with SMTP id fx3so17404747wic.1 for ; Fri, 04 Sep 2015 03:17:17 -0700 (PDT) X-Received: by 10.180.100.39 with SMTP id ev7mr5671204wib.15.1441361837099; Fri, 04 Sep 2015 03:17:17 -0700 (PDT) Received: from e106441.emea.arm.com ([2001:41d0:a:3cb4::abcd]) by smtp.gmail.com with ESMTPSA id r8sm3469269wiz.2.2015.09.04.03.17.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Sep 2015 03:17:16 -0700 (PDT) From: Stuart Haslam To: lng-odp@lists.linaro.org Date: Fri, 4 Sep 2015 11:16:27 +0100 Message-Id: <1441361788-2723-1-git-send-email-stuart.haslam@linaro.org> X-Mailer: git-send-email 2.1.1 X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH 1/2] api: pktio: specify that pool type must be ODP_POOL_PACKET X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stuart.haslam@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.43 as permitted sender) smtp.mailfrom=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 The pool passed to odp_pktio_open() must be of type ODP_POOL_PACKET so add a note to clarify. Signed-off-by: Stuart Haslam Reviewed-by: Petri Savolainen --- include/odp/api/packet_io.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h index 178d98b..9b930bd 100644 --- a/include/odp/api/packet_io.h +++ b/include/odp/api/packet_io.h @@ -100,8 +100,8 @@ typedef struct odp_pktio_param_t { * device. Packet IO parameters provide interface level configuration options. * * @param dev Packet IO device name - * @param pool Default pool from which to allocate buffers for storing packets - * received over this packet IO + * @param pool Default pool from which to allocate storage for packets + * received over this interface, must be of type ODP_POOL_PACKET * @param param Packet IO parameters * * @return Packet IO handle