On Thu, Jan 23, 2025 at 06:20:34PM +0000, Long Li wrote: > > + 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