Hi, > -----Original Message----- > From: Alexander Kozyrev <akozy...@mellanox.com> > Sent: Tuesday, June 2, 2020 6:51 AM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Raslan Darawsheh <rasl...@mellanox.com>; Slava > Ovsiienko <viachesl...@mellanox.com> > Subject: [PATCH] net/mlx5: fix vectorized Rx burst termination > > Maximum burst size of Vectorized Rx burst routine is set to > MLX5_VPMD_RX_MAX_BURST(64). This limits the performance of any > application that would like to gather more than 64 packets from > the single Rx burst for batch processing (i.e. VPP). > > The situation gets worse with a mix of zipped and unzipped CQEs. > They are processed separately and the Rx burst function returns > small number of packets every call. > > Repeat the cycle of gathering packets from the vectorized Rx routine > until a requested number of packets are collected or there are no > more CQEs left to process. > > Fixes: 6cb559d67b83 ("net/mlx5: add vectorized Rx/Tx burst for x86") > Cc: sta...@dpdk.org > > Signed-off-by: Alexander Kozyrev <akozy...@mellanox.com> > Acked-by: Slava Ovsiienko <viachesl...@mellanox.com> > --- > drivers/net/mlx5/mlx5_rxtx_vec.c | 19 +++++++++++++------ > drivers/net/mlx5/mlx5_rxtx_vec_altivec.h | 13 ++++++++++--- > drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 13 ++++++++++--- > drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 13 ++++++++++--- > 4 files changed, 43 insertions(+), 15 deletions(-) >
Patch applied to next-net-mlx, Kindest regards Raslan Darawsheh