Define special name for loop back interface. That interface can be used mostly for testing. Each implementation can interpret that loop0 to any other device.
Signed-off-by: Maxim Uvarov <[email protected]> --- platform/linux-generic/include/api/odp_packet_io.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/include/api/odp_packet_io.h b/platform/linux-generic/include/api/odp_packet_io.h index 667395c..c388c41 100644 --- a/platform/linux-generic/include/api/odp_packet_io.h +++ b/platform/linux-generic/include/api/odp_packet_io.h @@ -33,7 +33,8 @@ extern "C" { * Open an ODP packet IO instance * * @param dev Packet IO device - * @param pool Pool to use for packet IO + * loop0 is specially reserved name for loop back interface. +* @param pool Pool to use for packet IO * * @return ODP packet IO handle or ODP_PKTIO_INVALID on error */ -- 1.8.5.1.163.gd7aced9 _______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
