Message ID | 1433349859-28565-1-git-send-email-zoltan.kiss@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBD34DVH7Y4DRBA66XSVQKGQEABEETSA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9666C24614 for <linaro@patches.linaro.org>; Wed, 3 Jun 2015 16:44:52 +0000 (UTC) Received: by wiam3 with SMTP id m3sf6832042wia.3 for <linaro@patches.linaro.org>; Wed, 03 Jun 2015 09:44:51 -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=qMgSF3lnAKyOnyn2My71ZgDVr7lbiWuywGdYkjN58ok=; b=A3okPyRYz1CU5tEgBLuKxyC6TfbCEY8xS56Vnkoeb8OBRKjtUpfsQH4wHBx1YgiYZA CbgSBmB1u0lYNr7HDdgafND8CR6duE3+wSGo0umKLAgud/aeu8aSlYgEUOH6jAvLFJ97 VAdTjhiBPdkiKhVaZFd8qgNy7Dz8fDFGY4UPQR86fhpOCMKArgr/yUNvK9z6f2n/4U7k bl++Jlwtt9mpEEZ+oRfPTQG0ag2cPhw3NE2VaiKdz1X0wRBGrUsiMyqjYLc/SIfIY4q2 w59IOpBQC5yBWBu6f8NGpv74cTvz0J7clCz2v6T2C00PEmDkyT3Fb6lH0ZDS/UuZUkWF /p2A== X-Gm-Message-State: ALoCoQmMwTDJxldlB9mPrEHZBz6Q0bo2zJbtvtFwMKRrLY/3qS1dsj9vQC/ty50S2Qa+qZjtozjl X-Received: by 10.180.105.67 with SMTP id gk3mr22031084wib.4.1433349891955; Wed, 03 Jun 2015 09:44:51 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.232 with SMTP id p8ls90279laf.13.gmail; Wed, 03 Jun 2015 09:44:51 -0700 (PDT) X-Received: by 10.152.3.199 with SMTP id e7mr26773534lae.78.1433349891785; Wed, 03 Jun 2015 09:44:51 -0700 (PDT) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id u5si18454162lal.85.2015.06.03.09.44.51 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jun 2015 09:44:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by laei3 with SMTP id i3so12767282lae.3 for <patchwork-forward@linaro.org>; Wed, 03 Jun 2015 09:44:51 -0700 (PDT) X-Received: by 10.112.150.167 with SMTP id uj7mr25338284lbb.112.1433349891625; Wed, 03 Jun 2015 09:44:51 -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.108.230 with SMTP id hn6csp3999618lbb; Wed, 3 Jun 2015 09:44:50 -0700 (PDT) X-Received: by 10.140.105.4 with SMTP id b4mr36339504qgf.100.1433349890059; Wed, 03 Jun 2015 09:44:50 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id h7si1142190qkh.57.2015.06.03.09.44.49; Wed, 03 Jun 2015 09:44:50 -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 DC6B261FA7; Wed, 3 Jun 2015 16:44:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal 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 ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 50B4461F80; Wed, 3 Jun 2015 16:44:44 +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 8599561F93; Wed, 3 Jun 2015 16:44:42 +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 952A061F37 for <lng-odp@lists.linaro.org>; Wed, 3 Jun 2015 16:44:41 +0000 (UTC) Received: by wibut5 with SMTP id ut5so109239858wib.1 for <lng-odp@lists.linaro.org>; Wed, 03 Jun 2015 09:44:40 -0700 (PDT) X-Received: by 10.194.61.180 with SMTP id q20mr60546100wjr.80.1433349880778; Wed, 03 Jun 2015 09:44:40 -0700 (PDT) Received: from localhost.localdomain ([90.152.119.35]) by mx.google.com with ESMTPSA id b20sm1843263wjb.46.2015.06.03.09.44.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Jun 2015 09:44:40 -0700 (PDT) From: Zoltan Kiss <zoltan.kiss@linaro.org> To: lng-odp@lists.linaro.org Date: Wed, 3 Jun 2015 17:44:18 +0100 Message-Id: <1433349859-28565-1-git-send-email-zoltan.kiss@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH 1/2] packet_io: clarify what happens when not all packets are sent X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 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: <https://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="utf-8" Content-Transfer-Encoding: base64 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: zoltan.kiss@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.50 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/include/odp/api/packet_io.h b/include/odp/api/packet_io.h index 89356a6..b97b2b8 100644 --- a/include/odp/api/packet_io.h +++ b/include/odp/api/packet_io.h @@ -111,7 +111,9 @@ int odp_pktio_recv(odp_pktio_t pktio, odp_packet_t pkt_table[], int len); * @param pkt_table[] Array of packets to send * @param len length of pkt_table[] * - * @return Number of packets sent + * @return Number of packets sent. If it is less than 'len', the remaining + * packets at the end of pkt_table[] are left intact, and caller has to take + * care of them. * @retval <0 on failure */ int odp_pktio_send(odp_pktio_t pktio, odp_packet_t pkt_table[], int len);