Re: [dpdk-dev] [PATCH] net/mlx5: fix last completed built descriptor

2020-02-21 Thread Ferruh Yigit
On 2/21/2020 8:25 AM, Matan Azrad wrote: > From: Viacheslav Ovsiienko >> Sent: Thursday, February 20, 2020 11:18 PM >> To: dev@dpdk.org >> Cc: Matan Azrad ; Raslan Darawsheh >> ; Thomas Monjalon ; >> ferruh.yi...@intel.com; sta...@dpdk.org >> Subject: [PATCH] net/mlx5: fix last completed built desc

Re: [dpdk-dev] [PATCH] net/mlx5: fix last completed built descriptor

2020-02-21 Thread Matan Azrad
From: Viacheslav Ovsiienko > Sent: Thursday, February 20, 2020 11:18 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Thomas Monjalon ; > ferruh.yi...@intel.com; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix last completed built descriptor > > The routine sending packets with Mult

[dpdk-dev] [PATCH] net/mlx5: fix last completed built descriptor

2020-02-20 Thread Viacheslav Ovsiienko
The routine sending packets with Multi-Packet Write method assigns the wqe_last variable with transmit descriptor (WQE - work queue entry) being built. If send queue is close to full state, the WQE has no data yet (trying to put the first packet) and there is no enough space in descriptor for the n