ethdev: fix typos

Fixes: 9039c81257 ("ethdev: change promiscuous callbacks to return status")
Fixes: 12e6e3e78f ("ethdev: add API to dump device internal flow info")
Fixes: 44bf3c796b ("ethdev: support flow aging")
Cc: stable@dpdk.org

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Ori Kam <orika@nvidia.com>
This commit is contained in:
Ferruh Yigit 2021-11-12 12:13:39 +00:00
parent cbe70fded8
commit 5139502783
2 changed files with 4 additions and 4 deletions

View File

@ -227,7 +227,7 @@ typedef int (*eth_is_removed_t)(struct rte_eth_dev *dev);
* @retval -E_RTE_SECONDARY
* Function was called from a secondary process instance and not supported.
* @retval -ETIMEDOUT
* Attempt to enable promiscuos mode failed because of timeout.
* Attempt to enable promiscuous mode failed because of timeout.
* @retval -EAGAIN
* Failed to enable promiscuous mode.
*/
@ -252,7 +252,7 @@ typedef int (*eth_promiscuous_enable_t)(struct rte_eth_dev *dev);
* @retval -E_RTE_SECONDARY
* Function was called from a secondary process instance and not supported.
* @retval -ETIMEDOUT
* Attempt to disable promiscuos mode failed because of timeout.
* Attempt to disable promiscuous mode failed because of timeout.
* @retval -EAGAIN
* Failed to disable promiscuous mode.
*/

View File

@ -3954,7 +3954,7 @@ enum rte_flow_conv_op {
* Perform verbose error reporting if not NULL. PMDs initialize this
* structure in case of error only.
* @return
* 0 on success, a nagative value otherwise.
* 0 on success, a negative value otherwise.
*/
__rte_experimental
int
@ -4316,7 +4316,7 @@ rte_flow_conv(enum rte_flow_conv_op op,
*
* RTE_ETH_EVENT_FLOW_AGED event will be triggered when at least one new aged
* out flow was detected after the last call to rte_flow_get_aged_flows.
* This function can be called to get the aged flows usynchronously from the
* This function can be called to get the aged flows asynchronously from the
* event callback or synchronously regardless the event.
* This is not safe to call rte_flow_get_aged_flows function with other flow
* functions from multiple threads simultaneously.