Thread (31 messages) 31 messages, 5 authors, 2025-02-03

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help