On Sun, May 18, 2025 at 10:49:42PM +0800, Wentao Liang wrote:
The irdma_puda_send() calls the irdma_puda_get_next_send_wqe() to get entries, but does not clear the entries after the function call. A proper implementation can be found in irdma_uk_send().
Add the irdma_clr_wqes() after irdma_puda_get_next_send_wqe(). Add the headfile of the irdma_clr_wqes().
Fixes: a3a06db504d3 ("RDMA/irdma: Add privileged UDA queue implementation") Cc: stable@vger.kernel.org # v5.14 Signed-off-by: Wentao Liang vulab@iscas.ac.cn
v2: Fix code error and remove improper description.
drivers/infiniband/hw/irdma/puda.c | 3 +++ 1 file changed, 3 insertions(+)
I need Ack from irdma maintainers.
Thanks