Message ID | 1449747875-382-1-git-send-email-maxim.uvarov@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h index 443841e..f970ad7 100644 --- a/include/odp/api/packet_io.h +++ b/include/odp/api/packet_io.h @@ -673,6 +673,17 @@ void odp_pktio_output_queue_param_init(odp_pktio_output_queue_param_t *param); void odp_pktio_print(odp_pktio_t pktio); /** + * Determine pktio link is up or down for a packet IO interface. + * + * @param[in] pktio Packet IO handle. + * + * @retval 1 link is up + * @retval 0 link is down + * @retval <0 on failure +*/ +int odp_pktio_link_state(odp_pktio_t pktio); + +/** * @} */
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> --- include/odp/api/packet_io.h | 11 +++++++++++ 1 file changed, 11 insertions(+)