[PATCH] ethdev: fix typos
Ori Kam
orika at nvidia.com
Mon Nov 15 09:32:28 CET 2021
Hi
> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit at intel.com>
> Sent: Friday, November 12, 2021 2:14 PM
> Subject: [PATCH] ethdev: fix typos
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> ---
> lib/ethdev/ethdev_driver.h | 4 ++--
> lib/ethdev/rte_flow.h | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/lib/ethdev/ethdev_driver.h b/lib/ethdev/ethdev_driver.h
> index dcbffd4265fa..d95605a355ae 100644
> --- a/lib/ethdev/ethdev_driver.h
> +++ b/lib/ethdev/ethdev_driver.h
> @@ -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.
> */
> diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
> index ebcd3a3c8e8c..650376c16dc5 100644
> --- a/lib/ethdev/rte_flow.h
> +++ b/lib/ethdev/rte_flow.h
> @@ -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.
> --
> 2.31.1
Acked-by: Ori Kam <orika at nvidia.com>
Best,
Ori
More information about the dev
mailing list