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: faf2667fe8 ("net/mlx5: separate DPDK from verbs Tx queue objects")
Fixes: a1366b1a2b ("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>
This commit is contained in:
Dekel Peled 2019-04-22 18:24:11 +03:00 committed by Ferruh Yigit
parent fc0aebe187
commit ebd4df0ffc
2 changed files with 5 additions and 5 deletions

View File

@ -1493,7 +1493,7 @@ mlx5_rxq_new(struct rte_eth_dev *dev, uint16_t idx, uint16_t desc,
* @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 @@ mlx5_rxq_get(struct rte_eth_dev *dev, uint16_t idx)
* @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 @@ mlx5_rxq_release(struct rte_eth_dev *dev, uint16_t idx)
* @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

View File

@ -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 @@ mlx5_txq_ibv_new(struct rte_eth_dev *dev, uint16_t idx)
* @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.