* [dpdk-dev] [PATCH] net/mlx5: fix typos replacing between Rx and Tx
@ 2019-04-22 15:24 Dekel Peled
2019-04-22 15:24 ` Dekel Peled
2019-04-22 17:46 ` Shahaf Shuler
0 siblings, 2 replies; 4+ messages in thread
From: Dekel Peled @ 2019-04-22 15:24 UTC (permalink / raw)
To: yskoh, shahafs; +Cc: dev, dekelp, nelio.laranjeiro, stable
In mlx5_rxq.c, in some comments, text includes "Tx" instead of "Rx".
In mlx5_txq.c, in some comments, text includes "Rx" instead of "Tx".
This patch fixes these typos.
Fixes: faf2667fe8d5 ("net/mlx5: separate DPDK from verbs Tx queue objects")
Fixes: a1366b1a2be3 ("net/mlx5: add reference counter on DPDK Rx queues")
Cc: nelio.laranjeiro@6wind.com
Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com>
---
drivers/net/mlx5/mlx5_rxq.c | 6 +++---
drivers/net/mlx5/mlx5_txq.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c
index 836bec9..9f27f60 100644
--- a/drivers/net/mlx5/mlx5_rxq.c
+++ b/drivers/net/mlx5/mlx5_rxq.c
@@ -1493,7 +1493,7 @@ struct mlx5_rxq_ctrl *
* @param dev
* Pointer to Ethernet device.
* @param idx
- * TX queue index.
+ * RX queue index.
*
* @return
* A pointer to the queue if it exists, NULL otherwise.
@@ -1520,7 +1520,7 @@ struct mlx5_rxq_ctrl *
* @param dev
* Pointer to Ethernet device.
* @param idx
- * TX queue index.
+ * RX queue index.
*
* @return
* 1 while a reference on it exists, 0 when freed.
@@ -1553,7 +1553,7 @@ struct mlx5_rxq_ctrl *
* @param dev
* Pointer to Ethernet device.
* @param idx
- * TX queue index.
+ * RX queue index.
*
* @return
* 1 if the queue can be released, negative errno otherwise and rte_errno is
diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c
index 9965b2b..dbe074f 100644
--- a/drivers/net/mlx5/mlx5_txq.c
+++ b/drivers/net/mlx5/mlx5_txq.c
@@ -388,7 +388,7 @@
* @param dev
* Pointer to Ethernet device.
* @param idx
- * Queue index in DPDK Rx queue array
+ * Queue index in DPDK Tx queue array.
*
* @return
* The Verbs object initialised, NULL otherwise and rte_errno is set.
@@ -597,7 +597,7 @@ struct mlx5_txq_ibv *
* @param dev
* Pointer to Ethernet device.
* @param idx
- * Queue index in DPDK Rx queue array
+ * Queue index in DPDK Tx queue array.
*
* @return
* The Verbs object if it exists.
--
1.8.3.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [dpdk-dev] [PATCH] net/mlx5: fix typos replacing between Rx and Tx
2019-04-22 15:24 [dpdk-dev] [PATCH] net/mlx5: fix typos replacing between Rx and Tx Dekel Peled
@ 2019-04-22 15:24 ` Dekel Peled
2019-04-22 17:46 ` Shahaf Shuler
1 sibling, 0 replies; 4+ messages in thread
From: Dekel Peled @ 2019-04-22 15:24 UTC (permalink / raw)
To: yskoh, shahafs; +Cc: dev, dekelp, nelio.laranjeiro, stable
In mlx5_rxq.c, in some comments, text includes "Tx" instead of "Rx".
In mlx5_txq.c, in some comments, text includes "Rx" instead of "Tx".
This patch fixes these typos.
Fixes: faf2667fe8d5 ("net/mlx5: separate DPDK from verbs Tx queue objects")
Fixes: a1366b1a2be3 ("net/mlx5: add reference counter on DPDK Rx queues")
Cc: nelio.laranjeiro@6wind.com
Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com>
---
drivers/net/mlx5/mlx5_rxq.c | 6 +++---
drivers/net/mlx5/mlx5_txq.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c
index 836bec9..9f27f60 100644
--- a/drivers/net/mlx5/mlx5_rxq.c
+++ b/drivers/net/mlx5/mlx5_rxq.c
@@ -1493,7 +1493,7 @@ struct mlx5_rxq_ctrl *
* @param dev
* Pointer to Ethernet device.
* @param idx
- * TX queue index.
+ * RX queue index.
*
* @return
* A pointer to the queue if it exists, NULL otherwise.
@@ -1520,7 +1520,7 @@ struct mlx5_rxq_ctrl *
* @param dev
* Pointer to Ethernet device.
* @param idx
- * TX queue index.
+ * RX queue index.
*
* @return
* 1 while a reference on it exists, 0 when freed.
@@ -1553,7 +1553,7 @@ struct mlx5_rxq_ctrl *
* @param dev
* Pointer to Ethernet device.
* @param idx
- * TX queue index.
+ * RX queue index.
*
* @return
* 1 if the queue can be released, negative errno otherwise and rte_errno is
diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c
index 9965b2b..dbe074f 100644
--- a/drivers/net/mlx5/mlx5_txq.c
+++ b/drivers/net/mlx5/mlx5_txq.c
@@ -388,7 +388,7 @@
* @param dev
* Pointer to Ethernet device.
* @param idx
- * Queue index in DPDK Rx queue array
+ * Queue index in DPDK Tx queue array.
*
* @return
* The Verbs object initialised, NULL otherwise and rte_errno is set.
@@ -597,7 +597,7 @@ struct mlx5_txq_ibv *
* @param dev
* Pointer to Ethernet device.
* @param idx
- * Queue index in DPDK Rx queue array
+ * Queue index in DPDK Tx queue array.
*
* @return
* The Verbs object if it exists.
--
1.8.3.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] net/mlx5: fix typos replacing between Rx and Tx
2019-04-22 15:24 [dpdk-dev] [PATCH] net/mlx5: fix typos replacing between Rx and Tx Dekel Peled
2019-04-22 15:24 ` Dekel Peled
@ 2019-04-22 17:46 ` Shahaf Shuler
2019-04-22 17:46 ` Shahaf Shuler
1 sibling, 1 reply; 4+ messages in thread
From: Shahaf Shuler @ 2019-04-22 17:46 UTC (permalink / raw)
To: Dekel Peled, Yongseok Koh; +Cc: dev, Dekel Peled, Nélio Laranjeiro, stable
Monday, April 22, 2019 6:24 PM, Dekel Peled:
> Subject: [PATCH] net/mlx5: fix typos replacing between Rx and Tx
>
> In mlx5_rxq.c, in some comments, text includes "Tx" instead of "Rx".
> In mlx5_txq.c, in some comments, text includes "Rx" instead of "Tx".
>
> This patch fixes these typos.
>
> Fixes: faf2667fe8d5 ("net/mlx5: separate DPDK from verbs Tx queue
> objects")
> Fixes: a1366b1a2be3 ("net/mlx5: add reference counter on DPDK Rx
> queues")
> Cc: nelio.laranjeiro@6wind.com
> Cc: stable@dpdk.org
>
> Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Applied to next-net-mlx, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] net/mlx5: fix typos replacing between Rx and Tx
2019-04-22 17:46 ` Shahaf Shuler
@ 2019-04-22 17:46 ` Shahaf Shuler
0 siblings, 0 replies; 4+ messages in thread
From: Shahaf Shuler @ 2019-04-22 17:46 UTC (permalink / raw)
To: Dekel Peled, Yongseok Koh; +Cc: dev, Dekel Peled, Nélio Laranjeiro, stable
Monday, April 22, 2019 6:24 PM, Dekel Peled:
> Subject: [PATCH] net/mlx5: fix typos replacing between Rx and Tx
>
> In mlx5_rxq.c, in some comments, text includes "Tx" instead of "Rx".
> In mlx5_txq.c, in some comments, text includes "Rx" instead of "Tx".
>
> This patch fixes these typos.
>
> Fixes: faf2667fe8d5 ("net/mlx5: separate DPDK from verbs Tx queue
> objects")
> Fixes: a1366b1a2be3 ("net/mlx5: add reference counter on DPDK Rx
> queues")
> Cc: nelio.laranjeiro@6wind.com
> Cc: stable@dpdk.org
>
> Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Applied to next-net-mlx, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-04-22 17:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-22 15:24 [dpdk-dev] [PATCH] net/mlx5: fix typos replacing between Rx and Tx Dekel Peled
2019-04-22 15:24 ` Dekel Peled
2019-04-22 17:46 ` Shahaf Shuler
2019-04-22 17:46 ` Shahaf Shuler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).