On Mon, Aug 29, 2022 at 02:31:00PM +0800, Zhu Yanjun wrote: > On Mon, Aug 29, 2022 at 1:45 PM Daisuke Matsuda > <matsuda-daisuke@xxxxxxxxxxx> wrote: > > > > An incoming Read request causes multiple Read responses. If a user MR to > > copy data from is unavailable or responder cannot send a reply, then the > > error messages can be printed for each response attempt, resulting in > > message overflow. > > > > Signed-off-by: Daisuke Matsuda <matsuda-daisuke@xxxxxxxxxxx> > > --- > > drivers/infiniband/sw/rxe/rxe_resp.c | 6 +----- > > 1 file changed, 1 insertion(+), 5 deletions(-) > > > > diff --git a/drivers/infiniband/sw/rxe/rxe_resp.c b/drivers/infiniband/sw/rxe/rxe_resp.c > > index b36ec5c4d5e0..4b3e8aec2fb8 100644 > > --- a/drivers/infiniband/sw/rxe/rxe_resp.c > > +++ b/drivers/infiniband/sw/rxe/rxe_resp.c > > @@ -811,8 +811,6 @@ static enum resp_states read_reply(struct rxe_qp *qp, > > > > err = rxe_mr_copy(mr, res->read.va, payload_addr(&ack_pkt), > > payload, RXE_FROM_MR_OBJ); > > - if (err) > > - pr_err("Failed copying memory\n"); > > pr_err_once is better? Like Jason said, there shouldn't any prints in network triggered flows. Thanks