Hi > -----Original Message----- > From: Viacheslav Ovsiienko <viachesl...@mellanox.com> > Sent: Monday, February 10, 2020 12:55 AM > To: dev@dpdk.org > Cc: Matan Azrad <ma...@mellanox.com>; Raslan Darawsheh > <rasl...@mellanox.com>; Ori Kam <or...@mellanox.com>; > sta...@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: sta...@dpdk.org > > Signed-off-by: Viacheslav Ovsiienko <viachesl...@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