[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<PAXPR83MB0557EC87F91A7AFD05C6C1F6B4362@PAXPR83MB0557.EURPRD83.prod.outlook.com>
Date: Mon, 25 Mar 2024 23:33:15 +0000
From: Konstantin Taranov <kotaranov@...rosoft.com>
To: Long Li <longli@...rosoft.com>, Konstantin Taranov
<kotaranov@...ux.microsoft.com>, "sharmaajay@...rosoft.com"
<sharmaajay@...rosoft.com>, "jgg@...pe.ca" <jgg@...pe.ca>, "leon@...nel.org"
<leon@...nel.org>
CC: "linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH rdma-next v2 4/4] RDMA/mana_ib: Use struct mana_ib_queue
for RAW QPs
> > > > struct mana_ib_qp {
> > > > struct ib_qp ibqp;
> > > >
> > > > - /* Work queue info */
> > > > - struct ib_umem *sq_umem;
> > > > - int sqe;
> > > > - u64 sq_gdma_region;
> > > > - u64 sq_id;
> > > > - mana_handle_t tx_object;
> > > > + struct mana_ib_raw_sq sq;
> > >
> > > Are you planning to add another type of sq for RC here?
> > >
> >
> > There will be no more SQs. There will be rc_qp, ud_qp, uc_qp, which have
> several
> > queues inside.
>
> Are you going to put rc_qp inside struct mana_ib_qp? Or is it another struct
> containing mana_ib_qp?
It will be like that:
struct mana_ib_qp {
struct ib_qp ibqp;
union {
struct mana_ib_raw_sq sq;
struct mana_ib_rc_qp rc_qp;
struct mana_ib_ud_qp ud_qp;
};
};
Powered by blists - more mailing lists