diff mbox series

[API-NEXT,v6,3/3] api: pktio: drop support for indefinite waits on recv_tmo calls

Message ID 1516896022-8965-4-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v6,1/3] test: validation: drop use of indefinite wait in pktio test | expand

Commit Message

Github ODP bot Jan. 25, 2018, 4 p.m. UTC
From: Bill Fischofer <bill.fischofer@linaro.org>


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 <bill.fischofer@linaro.org>

---
/** 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: 50db898f5d832f31dfc63c6fc1360a29e700bdb4
 **/
 include/odp/api/spec/packet_io.h | 7 -------
 1 file changed, 7 deletions(-)
diff mbox series

Patch

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