From patchwork Fri Jan 19 18:00:08 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: 125203 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp405057ljf; Fri, 19 Jan 2018 10:01:21 -0800 (PST) X-Google-Smtp-Source: ACJfBoufRQC/V9egiNGYZwdxhN/mTrpR0vwqMtEDDVaAPp1V+6wCDWuTl8YIljs35qkz/2DXUH3t X-Received: by 10.55.212.211 with SMTP id s80mr67409737qks.96.1516384880991; Fri, 19 Jan 2018 10:01:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516384880; cv=none; d=google.com; s=arc-20160816; b=zVgFaAO7ZyX5D0DfB1r0+WU7YT/s4RY26Yy3EulVUqztivdmYr+3HZNdeLiZYu/TF6 cTKMsK35s9CazIbNhkmtbZ1BpByjvmPVfQ45lS8LRwspjVScQDCvXw116O+sjNvxSlvW 1AR6IU+a4flZgBuCmHHWG8RkC5vV8lbxlm9rekQFBqqkx5wPhpNtQVdU+RrIbSJUQc83 CwAUqO6nFAIoFEF7VJ94Y8rjeLnxRR8u/CqpO89HCtta+IQFd3p/LGkrLVzVekCe/e1Q tBqDeGr5TMWLHTkHZnzdsd4yx8jLSrnyOa1aKpv2vEeydTrqUQTB2lBn7TDPSFUl6gnb m/ug== 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=pvxfebgkp4dtZzNP8MvyYP+VDqvxaWNVvZlVE0r0h2s=; b=AU8PRmECk2m8bY4tLUEY0gFgiTi6MF1nGEJaAfxUtNhLaYpbR9+2d/ImjzUc4newMY JhuiBwRnL5zeDh+/gJ8dS5tgBeRRoCZ8+Ang7O1JYjxx98uyCneiWQd9FFyPqGNfJz3D rJ4dRfpBBIFUqyxL7dBpixv+kxZdptmGvliztuzKIJ3ZhN1Z4jmyL1Dd5LZEfPbTGLpY Jx786QyMnj/kJXYn4qW8RN+q8FxNWJ3xH7cHglt3y6D1SZS7MXIk5plp+ireNFiPvXEC zPKdvoh/rCpNZPGMBXtJKFS8uv4WjLDAYMKcjj2RiFlCFogj38ruh/5cYZ0uA17A/Hgl VJdw== 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 f18si1388580qth.208.2018.01.19.10.01.20; Fri, 19 Jan 2018 10:01:20 -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 9E0AD60B52; Fri, 19 Jan 2018 18:01:20 +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 59FB66152C; Fri, 19 Jan 2018 18:00:25 +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 E632060887; Fri, 19 Jan 2018 18:00:14 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id B0837608F9 for ; Fri, 19 Jan 2018 18:00:12 +0000 (UTC) Received: from mxback10g.mail.yandex.net (mxback10g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:171]) by forward102o.mail.yandex.net (Yandex) with ESMTP id B7D9A5A04EAF for ; Fri, 19 Jan 2018 21:00:11 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback10g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id eYQoBXJLuG-0BxaLwmM; Fri, 19 Jan 2018 21:00:11 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id C1ktYf9cEI-0BnaoGnU; Fri, 19 Jan 2018 21:00:11 +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: Fri, 19 Jan 2018 21:00:08 +0300 Message-Id: <1516384808-21464-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516384808-21464-1-git-send-email-odpbot@yandex.ru> References: <1516384808-21464-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 410 Subject: [lng-odp] [PATCH API-NEXT v2 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: f925f103c90591776f73863d30159357b08bf71e ** Merge commit sha: c12e1d598d6122e11132871b9b1b9d437129e307 **/ 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