diff options
author | Matias Elo <matias.elo@nokia.com> | 2023-03-21 16:43:13 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-04-13 10:44:33 +0300 |
commit | 22c87a7033cb70a2f97ea1c8d0138252e897f259 (patch) | |
tree | 9822b33a496947602d33a83fafb419379549d19b /include | |
parent | 82ab6343421e0a7bd43cdc06e4028d3678d981b9 (diff) |
api: pktio: remove reference to errno
Remove legacy reference to errno from pktio API and fix a typo.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/odp/api/spec/packet_io.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/odp/api/spec/packet_io.h b/include/odp/api/spec/packet_io.h index e49692b58..602093764 100644 --- a/include/odp/api/spec/packet_io.h +++ b/include/odp/api/spec/packet_io.h @@ -47,9 +47,9 @@ extern "C" { * Open a packet IO interface * * 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. Packet IO parameters provide interface level configuration options. + * to open an already open device will fail, returning ODP_PKTIO_INVALID. Use + * odp_pktio_lookup() to obtain a handle to an already open device. Packet IO + * parameters provide interface level configuration options. * * Use odp_pktio_param_init() to initialize packet IO parameters into their * default values. Default values are also used when 'param' pointer is NULL. @@ -500,7 +500,7 @@ odp_lso_profile_t odp_lso_profile_create(odp_pktio_t pktio, const odp_lso_profil /** * Destroy LSO profile * - * LSO profiles can be destoyed only when the packet IO interface is not active (i.e. after it + * LSO profiles can be destroyed only when the packet IO interface is not active (i.e. after it * has been stopped). * * @param lso_profile LSO profile to be destroyed |