Re: [RFC PATCH] RDMA/rxe: Export imm_data to WC when the related WR with imm_data finished on SQ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 27, 2021 at 8:10 PM Leon Romanovsky <leon@xxxxxxxxxx> wrote:
>
> On Wed, Jan 27, 2021 at 04:24:31PM +0800, Xiao Yang wrote:
> > Even if we enable sq_sig_all or IBV_SEND_SIGNALED, current rxe
> > module cannot set imm_data in WC when the related WR with imm_data
> > finished on SQ.
> >
> > Signed-off-by: Xiao Yang <yangx.jy@xxxxxxxxxxxxxx>
> > ---
> >
> > Current rxe module and other rdma modules(e.g. mlx5) only set
> > imm_data in WC when the related WR with imm_data finished on RQ.
> > I am not sure if it is a expected behavior.
>
> This is IBTA behavior.
>
> 5.2.11 IMMEDIATE DATA EXTENDED TRANSPORT HEADER (ImmDt) - 4 BYTES
> "Immediate Data (ImmDt) contains data that is placed in the receive
>  Completion Queue Element (CQE). The ImmDt is only allowed in SEND or
>  RDMA WRITE packets with Immediate Data."

Cool!

Zhu Yanjun

>
> If I understand the spec, you shouldn't set imm_data in SQ.
>
> Thanks



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux