net/mlx5: fix non-matching parameters documentation

Message ID 1543491559-19039-1-git-send-email-asafp@mellanox.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series net/mlx5: fix non-matching parameters documentation |

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS

Commit Message

Asaf Penso Nov. 29, 2018, 11:39 a.m. UTC
  tso and vlan parameters were removed from the signature
of txq_mbuf_to_swp function.

The documentation of the function was not updated accordingly.

Remove the tso and vlan documentation to match the function signature.

Fixes: 8f6d9e13a98c ("net/mlx5: remove redundant checks")
Cc: yskoh@mellanox.com

Signed-off-by: Asaf Penso <asafp@mellanox.com>
---
 drivers/net/mlx5/mlx5_rxtx.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
  

Comments

Ferruh Yigit Nov. 29, 2018, 5:37 p.m. UTC | #1
On 11/29/2018 11:39 AM, Asaf Penso wrote:
> tso and vlan parameters were removed from the signature
> of txq_mbuf_to_swp function.
> 
> The documentation of the function was not updated accordingly.
> 
> Remove the tso and vlan documentation to match the function signature.
> 
> Fixes: 8f6d9e13a98c ("net/mlx5: remove redundant checks")
> Cc: yskoh@mellanox.com
> 
> Signed-off-by: Asaf Penso <asafp@mellanox.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to dpdk-next-net/master, thanks.
  

Patch

diff --git a/drivers/net/mlx5/mlx5_rxtx.h b/drivers/net/mlx5/mlx5_rxtx.h
index f47d327..75194a3 100644
--- a/drivers/net/mlx5/mlx5_rxtx.h
+++ b/drivers/net/mlx5/mlx5_rxtx.h
@@ -733,10 +733,6 @@  uint32_t mlx5_tx_update_ext_mp(struct mlx5_txq_data *txq, uintptr_t addr,
  *   Pointer to the Tx queue.
  * @param buf
  *   Pointer to the mbuf.
- * @param tso
- *   TSO offloads enabled.
- * @param vlan
- *   VLAN offloads enabled
  * @param offsets
  *   Pointer to the SWP header offsets.
  * @param swp_types