Re: [PATCH rdma-next 09/13] RDMA/mana_ib: UD/GSI work requests
From: Jason Gunthorpe <jgg@ziepe.ca>
Date: 2025-01-23 19:03:27
Also in:
linux-hyperv, linux-rdma, lkml
From: Jason Gunthorpe <jgg@ziepe.ca>
Date: 2025-01-23 19:03:27
Also in:
linux-hyperv, linux-rdma, lkml
On Thu, Jan 23, 2025 at 06:20:34PM +0000, Long Li wrote:
quoted
+ shadow_wqe = shadow_queue_producer_entry(&qp->shadow_rq); + memset(shadow_wqe, 0, sizeof(*shadow_wqe));I would avoid using memset since this is on data path.
The compiler often does an amazing job with constant size small length memsets. Jason