[dpdk-stable] patch 'net/mlx5: fix comments mixing Rx and Tx' has been queued to LTS release 18.11.2

Kevin Traynor ktraynor at redhat.com
Wed May 8 18:02:12 CEST 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 05/14/19. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/52a1dffe4a679b62131d9e1d73ddf1f0be9aaf03

Thanks.

Kevin Traynor

---
>From 52a1dffe4a679b62131d9e1d73ddf1f0be9aaf03 Mon Sep 17 00:00:00 2001
From: Dekel Peled <dekelp at mellanox.com>
Date: Mon, 22 Apr 2019 18:24:11 +0300
Subject: [PATCH] net/mlx5: fix comments mixing Rx and Tx

[ upstream commit ebd4df0ffceef3ab4ad6ebf6f29c55363d045700 ]

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")

Signed-off-by: Dekel Peled <dekelp at mellanox.com>
Acked-by: Shahaf Shuler <shahafs at 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 2f6099914..e2728f273 100644
--- a/drivers/net/mlx5/mlx5_rxq.c
+++ b/drivers/net/mlx5/mlx5_rxq.c
@@ -1495,5 +1495,5 @@ error:
  *   Pointer to Ethernet device.
  * @param idx
- *   TX queue index.
+ *   RX queue index.
  *
  * @return
@@ -1522,5 +1522,5 @@ mlx5_rxq_get(struct rte_eth_dev *dev, uint16_t idx)
  *   Pointer to Ethernet device.
  * @param idx
- *   TX queue index.
+ *   RX queue index.
  *
  * @return
@@ -1555,5 +1555,5 @@ mlx5_rxq_release(struct rte_eth_dev *dev, uint16_t idx)
  *   Pointer to Ethernet device.
  * @param idx
- *   TX queue index.
+ *   RX queue index.
  *
  * @return
diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c
index d18561740..f69520ba8 100644
--- a/drivers/net/mlx5/mlx5_txq.c
+++ b/drivers/net/mlx5/mlx5_txq.c
@@ -347,5 +347,5 @@ is_empw_burst_func(eth_tx_burst_t tx_pkt_burst)
  *   Pointer to Ethernet device.
  * @param idx
- *   Queue index in DPDK Rx queue array
+ *   Queue index in DPDK Tx queue array.
  *
  * @return
@@ -555,5 +555,5 @@ error:
  *   Pointer to Ethernet device.
  * @param idx
- *   Queue index in DPDK Rx queue array
+ *   Queue index in DPDK Tx queue array.
  *
  * @return
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-05-08 16:33:58.230521955 +0100
+++ 0015-net-mlx5-fix-comments-mixing-Rx-and-Tx.patch	2019-05-08 16:33:57.370579495 +0100
@@ -1 +1 @@
-From ebd4df0ffceef3ab4ad6ebf6f29c55363d045700 Mon Sep 17 00:00:00 2001
+From 52a1dffe4a679b62131d9e1d73ddf1f0be9aaf03 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit ebd4df0ffceef3ab4ad6ebf6f29c55363d045700 ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index 836bec95e..9f27f607b 100644
+index 2f6099914..e2728f273 100644
@@ -26 +27 @@
-@@ -1494,5 +1494,5 @@ error:
+@@ -1495,5 +1495,5 @@ error:
@@ -33 +34 @@
-@@ -1521,5 +1521,5 @@ mlx5_rxq_get(struct rte_eth_dev *dev, uint16_t idx)
+@@ -1522,5 +1522,5 @@ mlx5_rxq_get(struct rte_eth_dev *dev, uint16_t idx)
@@ -40 +41 @@
-@@ -1554,5 +1554,5 @@ mlx5_rxq_release(struct rte_eth_dev *dev, uint16_t idx)
+@@ -1555,5 +1555,5 @@ mlx5_rxq_release(struct rte_eth_dev *dev, uint16_t idx)
@@ -48 +49 @@
-index 9965b2b77..dbe074fe3 100644
+index d18561740..f69520ba8 100644
@@ -51 +52 @@
-@@ -389,5 +389,5 @@ is_empw_burst_func(eth_tx_burst_t tx_pkt_burst)
+@@ -347,5 +347,5 @@ is_empw_burst_func(eth_tx_burst_t tx_pkt_burst)
@@ -58 +59 @@
-@@ -598,5 +598,5 @@ error:
+@@ -555,5 +555,5 @@ error:


More information about the stable mailing list