diff mbox series

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

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

Commit Message

Github ODP bot Jan. 24, 2018, 9 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: 13b0f1705d8327e73979c073c91b9b72984873fb
 **/
 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