ethdev: fix typos

Message ID 20211112121339.2565587-1-ferruh.yigit@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series ethdev: fix typos |

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/Intel-compilation success Compilation OK
ci/github-robot: build success github build: passed
ci/iol-broadcom-Functional success Functional Testing PASS
ci/intel-Testing success Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS

Commit Message

Ferruh Yigit Nov. 12, 2021, 12:13 p.m. UTC
  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

Ori Kam Nov. 15, 2021, 8:32 a.m. UTC | #1
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
  
Ferruh Yigit Nov. 15, 2021, 4:46 p.m. UTC | #2
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.
  

Patch

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.