lkml.org 
[lkml]   [2025]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] RDMA/irdma: puda: Clear entries after allocation to ensure clean state
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

\
 
 \ /
  Last update: 2025-05-20 15:16    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog