diff mbox

[PATCHv2,6/8] API: odp_pktio_open loop back interface

Message ID 1417110685-2931-7-git-send-email-maxim.uvarov@linaro.org
State Superseded
Headers show

Commit Message

Maxim Uvarov Nov. 27, 2014, 5:51 p.m. UTC
Define special name for loop back interface. That interface
can be used mostly for testing. Each implementation can interpret
that loop to any other device.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 platform/linux-generic/include/api/odp_packet_io.h | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/platform/linux-generic/include/api/odp_packet_io.h b/platform/linux-generic/include/api/odp_packet_io.h
index 38a537f..4e3548c 100644
--- a/platform/linux-generic/include/api/odp_packet_io.h
+++ b/platform/linux-generic/include/api/odp_packet_io.h
@@ -36,6 +36,10 @@  extern "C" {
  * @param pool   Pool to use for packet IO
  *
  * @return ODP packet IO handle or ODP_PKTIO_INVALID on error
+ *
+ * @note dev name loop is specially pktio reserved name for
+ *	 device used for testing. Usually it's loop back
+ *	 interface.
  */
 odp_pktio_t odp_pktio_open(const char *dev, odp_buffer_pool_t pool);