diff mbox series

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

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

Commit Message

Github ODP bot Jan. 22, 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: 5fba303faf04d29b616f687ce1f721400b2c6f9c
 ** Merge commit sha: d3ec5308bd5a6917dc91dee1860dab99bd6e9b15
 **/
 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