Merged this patch from my patches.

Maxim.

On 12/01/2014 06:13 PM, Savolainen, Petri (NSN - FI/Espoo) wrote:
Reviewed-by: Petri Savolainen <[email protected]>


-----Original Message-----
From: [email protected] [mailto:lng-odp-
[email protected]] On Behalf Of ext Maxim Uvarov
Sent: Monday, December 01, 2014 4:09 PM
To: [email protected]
Subject: [lng-odp] [PATCHv3 06/10] API: odp_pktio_open loop back interface

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 <[email protected]>
---
  platform/linux-generic/include/api/odp_packet_io.h | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/platform/linux-generic/include/api/odp_packet_io.h
b/platform/linux-generic/include/api/odp_packet_io.h
index 65adbe5..1190355 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);

--
1.8.5.1.163.gd7aced9


_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp


_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to