ethdev: fix description of tx descriptor status
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 25 Jun 2018 13:34:46 +0000 (15:34 +0200)
committerOlivier Matz <olivier.matz@6wind.com>
Mon, 25 Jun 2018 13:36:50 +0000 (15:36 +0200)
commitb8e634a36e623615a59e1448cf49885b127b126c
tree7d33ad21dfc4fb8b73c1e3d0684e4024f888a757
parent80ec1b21d9bcfd34baa86e4fab70c79fcc8b7f05
ethdev: fix description of tx descriptor status

The API comment of rte_eth_tx_descriptor_status() was incorrect. The reference
descriptor (when offset = 0) is not where the next packet will be sent, but
where the latest packet has been enqueued.

Fixes: b1b700ce7d6f ("ethdev: add descriptor status API")
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
lib/librte_ethdev/rte_ethdev.h