From: Andrew Rybchenko Date: Wed, 5 Jun 2019 08:15:54 +0000 (+0100) Subject: ethdev: fix Tx prepare documentation to use positive errno X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=aab0afb49583a612ad55a3b193e1368fc76abe6a;p=dpdk.git ethdev: fix Tx prepare documentation to use positive errno Tx prepare documentation was incorrectly suggesting to use negative rte_errno. Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation") Fixes: 439a90b5f2a7 ("ethdev: reorder inline functions") Cc: stable@dpdk.org Signed-off-by: Andrew Rybchenko Reviewed-by: Ferruh Yigit --- diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index a8a4a7f845..50c69362b5 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -4407,8 +4407,8 @@ rte_eth_tx_burst(uint16_t port_id, uint16_t queue_id, * The number of packets correct and ready to be sent. The return value can be * less than the value of the *tx_pkts* parameter when some packet doesn't * meet devices requirements with rte_errno set appropriately: - * - -EINVAL: offload flags are not correctly set - * - -ENOTSUP: the offload feature is not supported by the hardware + * - EINVAL: offload flags are not correctly set + * - ENOTSUP: the offload feature is not supported by the hardware * */