Re: [dpdk-dev] [PATCH] net/mlx5: fix completion request for inline packets

2019-08-04 Thread Matan Azrad
From: Viacheslav Ovsiienko > If packets are completely inline the mbuf is freed immediately after data > copying and no pointer is stored into elts array to be free on completion. > This > leads the elts_head is not updated and completion request buffer counter > works incorrect. > This patch d

[dpdk-dev] [PATCH] net/mlx5: fix completion request for inline packets

2019-08-04 Thread Viacheslav Ovsiienko
If packets are completely inline the mbuf is freed immediately after data copying and no pointer is stored into elts array to be free on completion. This leads the elts_head is not updated and completion request buffer counter works incorrect. This patch decrements the base value elts_comp used to