net/mlx5: fix non-matching parameters documentation
Checks
Commit Message
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
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.
@@ -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