summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_txq.c
diff options
context:
space:
mode:
authorDekel Peled <dekelp@mellanox.com>2019-04-22 18:24:11 +0300
committerFerruh Yigit <ferruh.yigit@intel.com>2019-05-03 18:45:22 +0200
commitebd4df0ffceef3ab4ad6ebf6f29c55363d045700 (patch)
treeaf25461e55b854f51f04b22eda72de61b19f3384 /drivers/net/mlx5/mlx5_txq.c
parentfc0aebe1876d949730a7c3d368ccd8d63cc79e66 (diff)
downloaddpdk-next-eventdev-ebd4df0ffceef3ab4ad6ebf6f29c55363d045700.zip
dpdk-next-eventdev-ebd4df0ffceef3ab4ad6ebf6f29c55363d045700.tar.gz
dpdk-next-eventdev-ebd4df0ffceef3ab4ad6ebf6f29c55363d045700.tar.xz
net/mlx5: fix comments mixing 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: stable@dpdk.org Signed-off-by: Dekel Peled <dekelp@mellanox.com> Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_txq.c')
-rw-r--r--drivers/net/mlx5/mlx5_txq.c4
1 files changed, 2 insertions, 2 deletions
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 @@ is_empw_burst_func(eth_tx_burst_t tx_pkt_burst)
* @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 @@ error:
* @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.