From patchwork Wed Jan 24 21:00:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 125714 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp664530ljf; Wed, 24 Jan 2018 13:01:57 -0800 (PST) X-Google-Smtp-Source: AH8x227mdYDaSR7zGCBDPopIqsBYeI3O4BXMyA5map1uC2WTpZdldW7HecpiLGeWYIN94pBXcXSb X-Received: by 10.200.81.199 with SMTP id d7mr12204654qtn.211.1516827717174; Wed, 24 Jan 2018 13:01:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516827717; cv=none; d=google.com; s=arc-20160816; b=xFVq5IzB2NwZH+W2U9MVDMCJWpbohXcmcrsx8Gew2BIjzdELia4fyodiXSbH5gVFsZ gokmD64GjGes++AB0JT/G5aD5KfEo9Bl6P2EfxJz1Jv829F68f1kNNI6I8DomI3dakFZ 6bZcIPpMSx6vZsEIPHEGROJjIljEd3So1fy0TfoWv4rjCysDiEGYqQizgEM3hOjf1xED hyInc/QgY7Fz/PDajrl13u3RkDMsx1Vwp4QMfrvz2NelQDvmtL5Ah0Bma489l+w99Fcg q56m3Dmya7dne5cwySbBnXZemdQcO4Bd1fIWZPoVEIbCUiPKrcDbOPxwgIIv99UQIBjZ W94A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=XrNoNaW7Bf67CtMwirHN8ZjcdH7IKIsMAwBNKVp4mMw=; b=Oz774yE7d3dLrSWYSZWYWanbNes7CeQ1G7tPaUCbEdbol/j0LWeqBzDTRR1xkEPIKB u4hj8DA1M7ZJGcs4entWopsiIJnZT4S27zDrUIQrvPctrYNaGyFm/pzA9psIcDiypjBY zF8ANB6JDfiV+KqeqMFIj+6npQ1A/n5445Y+AiEW43rROJUVJUYyInM2A4QuYR83Yfpe QHHIAdmM2BLQEnDbJ8a/Dq/a462nLhb1RoD709ECMaTkx1labCAr79Mnp3ooHAEVeYG4 6I0FyW3LJGtGqCELM35GePlPVphHxAYF0aAgkHVciN0vqmfuNEFzHsY/ydAbO5qwJTOD pBNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id j128si1063694qkf.377.2018.01.24.13.01.56; Wed, 24 Jan 2018 13:01:57 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id B881B6176C; Wed, 24 Jan 2018 21:01:56 +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,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 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 00F7B60929; Wed, 24 Jan 2018 21:00:34 +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 DD3CE60949; Wed, 24 Jan 2018 21:00:27 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id BBC6B6062E for ; Wed, 24 Jan 2018 21:00:25 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 019984304CD6 for ; Thu, 25 Jan 2018 00:00:24 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id L01sDb7ULv-0Nt0CF3b; Thu, 25 Jan 2018 00:00:23 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cBLphPGQu0-0NW4rbY8; Thu, 25 Jan 2018 00:00:23 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 25 Jan 2018 00:00:20 +0300 Message-Id: <1516827620-4105-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516827620-4105-1-git-send-email-odpbot@yandex.ru> References: <1516827620-4105-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 410 Subject: [lng-odp] [PATCH API-NEXT v5 3/3] api: pktio: drop support for indefinite waits on recv_tmo calls X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Bill Fischofer The ODP_PKTIN_WAIT option on odp_pktin_recv_tmo() and odp_pktin_recv_mq_tmo() is deprecated and removed. Signed-off-by: Bill Fischofer --- /** Email created from pull request 410 (Bill-Fischofer-Linaro:pktio-dropwait) ** https://github.com/Linaro/odp/pull/410 ** Patch: https://github.com/Linaro/odp/pull/410.patch ** Base sha: 44974a09b01c79adb9637a5dff38539598a76737 ** Merge commit sha: 13b0f1705d8327e73979c073c91b9b72984873fb **/ include/odp/api/spec/packet_io.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/odp/api/spec/packet_io.h b/include/odp/api/spec/packet_io.h index ad9b29fda..a55c2678f 100644 --- a/include/odp/api/spec/packet_io.h +++ b/include/odp/api/spec/packet_io.h @@ -72,11 +72,6 @@ extern "C" { * Do not wait on packet input */ -/** - * @def ODP_PKTIN_WAIT - * Wait infinitely on packet input - */ - /** * Packet input mode */ @@ -884,7 +879,6 @@ int odp_pktin_recv(odp_pktin_queue_t queue, odp_packet_t packets[], int num); * @param num Maximum number of packets to receive * @param wait Wait time specified as as follows: * * ODP_PKTIN_NO_WAIT: Do not wait - * * ODP_PKTIN_WAIT: Wait infinitely * * Other values specify the minimum time to wait. * Use odp_pktin_wait_time() to convert nanoseconds * to a valid parameter value. Wait time may be @@ -923,7 +917,6 @@ int odp_pktin_recv_tmo(odp_pktin_queue_t queue, odp_packet_t packets[], * @param num Maximum number of packets to receive * @param wait Wait time specified as as follows: * * ODP_PKTIN_NO_WAIT: Do not wait - * * ODP_PKTIN_WAIT: Wait infinitely * * Other values specify the minimum time to wait. * Use odp_pktin_wait_time() to convert nanoseconds * to a valid parameter value. Wait time may be