Checks
Commit Message
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
lib/ethdev/ethdev_driver.h | 4 ++--
lib/ethdev/rte_flow.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Comments
Hi
> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit@intel.com>
> Sent: Friday, November 12, 2021 2:14 PM
> Subject: [PATCH] ethdev: fix typos
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit@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@nvidia.com>
Best,
Ori
On 11/15/2021 8:32 AM, Ori Kam wrote:
> Hi
>
>> -----Original Message-----
>> From: Ferruh Yigit <ferruh.yigit@intel.com>
>> Sent: Friday, November 12, 2021 2:14 PM
>> Subject: [PATCH] ethdev: fix typos
>>
>> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
>
> Acked-by: Ori Kam <orika@nvidia.com>
>
Fixes: 9039c8125730 ("ethdev: change promiscuous callbacks to return status")
Fixes: 12e6e3e78fe0 ("ethdev: add API to dump device internal flow info")
Fixes: 44bf3c796be3 ("ethdev: support flow aging")
Cc: stable@dpdk.org
Applied to dpdk-next-net/main, thanks.
@@ -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.
*/
@@ -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.