DPDK-dev Archive on lore.kernel.org
 help / color / Atom feed
* [dpdk-dev] [PATCH] net/mlx5: correct spelling mistakes in comments
@ 2019-07-18 19:40 Dekel Peled
  2019-07-19  4:31 ` Slava Ovsiienko
  2019-07-21  7:56 ` Raslan Darawsheh
  0 siblings, 2 replies; 3+ messages in thread
From: Dekel Peled @ 2019-07-18 19:40 UTC (permalink / raw)
  To: yskoh, viacheslavo, shahafs; +Cc: orika, dev, stable

Some spelling mistakes were found in comments.
This patch fixes them.

Cc: stable@dpdk.org

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
---
 drivers/net/mlx5/mlx5.h      | 2 +-
 drivers/net/mlx5/mlx5_flow.c | 2 +-
 drivers/net/mlx5/mlx5_rxq.c  | 2 +-
 drivers/net/mlx5/mlx5_txq.c  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index 2bd2aa6..6230371 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -232,7 +232,7 @@ struct mlx5_dev_config {
 };
 
 /**
- * Type of objet being allocated.
+ * Type of object being allocated.
  */
 enum mlx5_verbs_alloc_type {
 	MLX5_VERBS_ALLOC_TYPE_NONE,
diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
index 7109985..e082cbb 100644
--- a/drivers/net/mlx5/mlx5_flow.c
+++ b/drivers/net/mlx5/mlx5_flow.c
@@ -473,7 +473,7 @@ uint32_t mlx5_flow_adjust_priority(struct rte_eth_dev *dev, int32_t priority,
  *   Item hash fields.
  *
  * @return
- *   The hash fileds that should be used.
+ *   The hash fields that should be used.
  */
 uint64_t
 mlx5_flow_hashfields_adjust(struct mlx5_flow *dev_flow,
diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c
index 3e82f71..39b8b7a 100644
--- a/drivers/net/mlx5/mlx5_rxq.c
+++ b/drivers/net/mlx5/mlx5_rxq.c
@@ -1122,7 +1122,7 @@ struct mlx5_rxq_ibv *
 		dev->data->port_id, mp->name);
 	/*
 	 * If a buffer in the pool has been externally attached to a mbuf and it
-	 * is still in use by application, destroying the Rx qeueue can spoil
+	 * is still in use by application, destroying the Rx queue can spoil
 	 * the packet. It is unlikely to happen but if application dynamically
 	 * creates and destroys with holding Rx packets, this can happen.
 	 *
diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c
index 7741095..82493d7 100644
--- a/drivers/net/mlx5/mlx5_txq.c
+++ b/drivers/net/mlx5/mlx5_txq.c
@@ -669,7 +669,7 @@ struct mlx5_txq_ibv *
 }
 
 /**
- * Calcuate the total number of WQEBB for Tx queue.
+ * Calculate the total number of WQEBB for Tx queue.
  *
  * Simplified version of calc_sq_size() in rdma-core.
  *
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/mlx5: correct spelling mistakes in comments
  2019-07-18 19:40 [dpdk-dev] [PATCH] net/mlx5: correct spelling mistakes in comments Dekel Peled
@ 2019-07-19  4:31 ` Slava Ovsiienko
  2019-07-21  7:56 ` Raslan Darawsheh
  1 sibling, 0 replies; 3+ messages in thread
From: Slava Ovsiienko @ 2019-07-19  4:31 UTC (permalink / raw)
  To: Dekel Peled, Yongseok Koh, Shahaf Shuler; +Cc: Ori Kam, dev, stable

> -----Original Message-----
> From: Dekel Peled <dekelp@mellanox.com>
> Sent: Thursday, July 18, 2019 22:41
> To: Yongseok Koh <yskoh@mellanox.com>; Slava Ovsiienko
> <viacheslavo@mellanox.com>; Shahaf Shuler <shahafs@mellanox.com>
> Cc: Ori Kam <orika@mellanox.com>; dev@dpdk.org; stable@dpdk.org
> Subject: [PATCH] net/mlx5: correct spelling mistakes in comments
> 
> Some spelling mistakes were found in comments.
> This patch fixes them.
> 
> Cc: stable@dpdk.org
> 
> Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>

> ---
>  drivers/net/mlx5/mlx5.h      | 2 +-
>  drivers/net/mlx5/mlx5_flow.c | 2 +-
>  drivers/net/mlx5/mlx5_rxq.c  | 2 +-
>  drivers/net/mlx5/mlx5_txq.c  | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h index
> 2bd2aa6..6230371 100644
> --- a/drivers/net/mlx5/mlx5.h
> +++ b/drivers/net/mlx5/mlx5.h
> @@ -232,7 +232,7 @@ struct mlx5_dev_config {  };
> 
>  /**
> - * Type of objet being allocated.
> + * Type of object being allocated.
>   */
>  enum mlx5_verbs_alloc_type {
>  	MLX5_VERBS_ALLOC_TYPE_NONE,
> diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
> index 7109985..e082cbb 100644
> --- a/drivers/net/mlx5/mlx5_flow.c
> +++ b/drivers/net/mlx5/mlx5_flow.c
> @@ -473,7 +473,7 @@ uint32_t mlx5_flow_adjust_priority(struct
> rte_eth_dev *dev, int32_t priority,
>   *   Item hash fields.
>   *
>   * @return
> - *   The hash fileds that should be used.
> + *   The hash fields that should be used.
>   */
>  uint64_t
>  mlx5_flow_hashfields_adjust(struct mlx5_flow *dev_flow, diff --git
> a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c index
> 3e82f71..39b8b7a 100644
> --- a/drivers/net/mlx5/mlx5_rxq.c
> +++ b/drivers/net/mlx5/mlx5_rxq.c
> @@ -1122,7 +1122,7 @@ struct mlx5_rxq_ibv *
>  		dev->data->port_id, mp->name);
>  	/*
>  	 * If a buffer in the pool has been externally attached to a mbuf and
> it
> -	 * is still in use by application, destroying the Rx qeueue can spoil
> +	 * is still in use by application, destroying the Rx queue can spoil
>  	 * the packet. It is unlikely to happen but if application dynamically
>  	 * creates and destroys with holding Rx packets, this can happen.
>  	 *
> diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c index
> 7741095..82493d7 100644
> --- a/drivers/net/mlx5/mlx5_txq.c
> +++ b/drivers/net/mlx5/mlx5_txq.c
> @@ -669,7 +669,7 @@ struct mlx5_txq_ibv *  }
> 
>  /**
> - * Calcuate the total number of WQEBB for Tx queue.
> + * Calculate the total number of WQEBB for Tx queue.
>   *
>   * Simplified version of calc_sq_size() in rdma-core.
>   *
> --
> 1.8.3.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/mlx5: correct spelling mistakes in comments
  2019-07-18 19:40 [dpdk-dev] [PATCH] net/mlx5: correct spelling mistakes in comments Dekel Peled
  2019-07-19  4:31 ` Slava Ovsiienko
@ 2019-07-21  7:56 ` Raslan Darawsheh
  1 sibling, 0 replies; 3+ messages in thread
From: Raslan Darawsheh @ 2019-07-21  7:56 UTC (permalink / raw)
  To: Dekel Peled, Yongseok Koh, Slava Ovsiienko, Shahaf Shuler
  Cc: Ori Kam, dev, stable

Hi,


> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Dekel Peled
> Sent: Thursday, July 18, 2019 10:41 PM
> To: Yongseok Koh <yskoh@mellanox.com>; Slava Ovsiienko
> <viacheslavo@mellanox.com>; Shahaf Shuler <shahafs@mellanox.com>
> Cc: Ori Kam <orika@mellanox.com>; dev@dpdk.org; stable@dpdk.org
> Subject: [dpdk-dev] [PATCH] net/mlx5: correct spelling mistakes in
> comments
> 
> Some spelling mistakes were found in comments.
> This patch fixes them.
> 
> Cc: stable@dpdk.org
> 
> Signed-off-by: Dekel Peled <dekelp@mellanox.com>
> ---
>  drivers/net/mlx5/mlx5.h      | 2 +-
>  drivers/net/mlx5/mlx5_flow.c | 2 +-
>  drivers/net/mlx5/mlx5_rxq.c  | 2 +-
>  drivers/net/mlx5/mlx5_txq.c  | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h index
> 2bd2aa6..6230371 100644
> --- a/drivers/net/mlx5/mlx5.h
> +++ b/drivers/net/mlx5/mlx5.h
> @@ -232,7 +232,7 @@ struct mlx5_dev_config {  };
> 
>  /**
> - * Type of objet being allocated.
> + * Type of object being allocated.
>   */
>  enum mlx5_verbs_alloc_type {
>  	MLX5_VERBS_ALLOC_TYPE_NONE,
> diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
> index 7109985..e082cbb 100644
> --- a/drivers/net/mlx5/mlx5_flow.c
> +++ b/drivers/net/mlx5/mlx5_flow.c
> @@ -473,7 +473,7 @@ uint32_t mlx5_flow_adjust_priority(struct
> rte_eth_dev *dev, int32_t priority,
>   *   Item hash fields.
>   *
>   * @return
> - *   The hash fileds that should be used.
> + *   The hash fields that should be used.
>   */
>  uint64_t
>  mlx5_flow_hashfields_adjust(struct mlx5_flow *dev_flow, diff --git
> a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c index
> 3e82f71..39b8b7a 100644
> --- a/drivers/net/mlx5/mlx5_rxq.c
> +++ b/drivers/net/mlx5/mlx5_rxq.c
> @@ -1122,7 +1122,7 @@ struct mlx5_rxq_ibv *
>  		dev->data->port_id, mp->name);
>  	/*
>  	 * If a buffer in the pool has been externally attached to a mbuf and it
> -	 * is still in use by application, destroying the Rx qeueue can spoil
> +	 * is still in use by application, destroying the Rx queue can spoil
>  	 * the packet. It is unlikely to happen but if application dynamically
>  	 * creates and destroys with holding Rx packets, this can happen.
>  	 *
> diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c
> index 7741095..82493d7 100644
> --- a/drivers/net/mlx5/mlx5_txq.c
> +++ b/drivers/net/mlx5/mlx5_txq.c
> @@ -669,7 +669,7 @@ struct mlx5_txq_ibv *  }
> 
>  /**
> - * Calcuate the total number of WQEBB for Tx queue.
> + * Calculate the total number of WQEBB for Tx queue.
>   *
>   * Simplified version of calc_sq_size() in rdma-core.
>   *
> --
> 1.8.3.1

Applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-18 19:40 [dpdk-dev] [PATCH] net/mlx5: correct spelling mistakes in comments Dekel Peled
2019-07-19  4:31 ` Slava Ovsiienko
2019-07-21  7:56 ` Raslan Darawsheh

DPDK-dev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/dpdk-dev/0 dpdk-dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dpdk-dev dpdk-dev/ https://lore.kernel.org/dpdk-dev \
		dev@dpdk.org dpdk-dev@archiver.kernel.org
	public-inbox-index dpdk-dev


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/ public-inbox