Signed-off-by: Petri Savolainen <[email protected]>
---
include/odp/api/packet_io.h | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h
index 6d31aeb..5d62a72 100644
--- a/include/odp/api/packet_io.h
+++ b/include/odp/api/packet_io.h
@@ -45,11 +45,12 @@ extern "C" {
*/
/**
- * Open an ODP packet IO instance
+ * Open an ODP packet IO interface
*
- * Packet IO handles are single instance per device, attempts to open an
already
- * open device will fail, returning ODP_PKTIO_INVALID with errno set.
- * odp_pktio_lookup() may be used to obtain a handle to an already open device.
+ * An ODP program can open a single packet IO interface per device, attempts
+ * to open an already open device will fail, returning ODP_PKTIO_INVALID with
+ * errno set. Use odp_pktio_lookup() to obtain a handle to an already open
+ * device.
*
* @param dev Packet IO device name
* @param pool Pool from which to allocate buffers for storing packets
@@ -65,7 +66,7 @@ extern "C" {
odp_pktio_t odp_pktio_open(const char *dev, odp_pool_t pool);
/**
- * Close an ODP packet IO instance
+ * Close an ODP packet IO interface
*
* @param pktio ODP packet IO handle
*
--
2.3.4
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp