It makes sense to mark the error paths as unlikely(), so I applied this. > If this approach is accepted I can do the same for mlx4 I just looked a the mlx4 code -- it seems I already marked the error paths as unlikely in the post srq recv function. So I don't think there's anything to do there. - R.