[dpdk-dev] [PATCH] net/mlx5: fix the legacy multi packet write session

Raslan Darawsheh rasland at mellanox.com
Tue Feb 11 09:33:04 CET 2020


Hi
> -----Original Message-----
> From: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> Sent: Monday, February 10, 2020 12:55 AM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at mellanox.com>; Raslan Darawsheh
> <rasland at mellanox.com>; Ori Kam <orika at mellanox.com>;
> stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix the legacy multi packet write session
> 
> To provide the better PCIe bandwidth utilization the ConnectX-4LX
> NIC supports the multi-packet write (MPW) sessions allowing to
> pack multiple packets into one descriptor (WQE). This is legacy
> feature and it has some limitations on the packets and data
> description segments. To provide the best performance all inline
> packets must be put into shared data segment and the total length
> of MPW session must be limited. The limit is controlled with
> txq_inline_mpw devarg.
> 
> Fixes: 82e75f8323bf ("net/mlx5: fix legacy multi-packet Tx descriptors")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> ---
>  drivers/common/mlx5/mlx5_prm.h |  2 +-
>  drivers/net/mlx5/mlx5_rxtx.c   | 90
> ++++++++++++++++++++++++++++++++++++------
>  2 files changed, 80 insertions(+), 12 deletions(-)
> 
> diff --git a/drivers/common/mlx5/mlx5_prm.h
> b/drivers/common/mlx5/mlx5_prm.h
> index 855b37a..4ac3d4b 100644
> --- a/drivers/common/mlx5/mlx5_prm.h
> +++ b/drivers/common/mlx5/mlx5_prm.h
> @@ -100,7 +100,7 @@
>   */

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh



More information about the dev mailing list