Re: [PATCH v10 13/26] RDMA/rtrs: include client and server modules into kernel compilation

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

 



On Wed, Mar 11, 2020 at 8:03 PM Jason Gunthorpe <jgg@xxxxxxxx> wrote:
>
> On Wed, Mar 11, 2020 at 05:12:27PM +0100, Jack Wang wrote:
> > Add rtrs Makefile, Kconfig and also corresponding lines into upper
> > layer infiniband/ulp files.
> >
> > Signed-off-by: Danil Kipnis <danil.kipnis@xxxxxxxxxxxxxxx>
> > Signed-off-by: Jack Wang <jinpu.wang@xxxxxxxxxxxxxxx>
> > ---
> >  drivers/infiniband/Kconfig           |  1 +
> >  drivers/infiniband/ulp/Makefile      |  1 +
> >  drivers/infiniband/ulp/rtrs/Kconfig  | 27 +++++++++++++++++++++++++++
> >  drivers/infiniband/ulp/rtrs/Makefile | 15 +++++++++++++++
> >  4 files changed, 44 insertions(+)
> >  create mode 100644 drivers/infiniband/ulp/rtrs/Kconfig
> >  create mode 100644 drivers/infiniband/ulp/rtrs/Makefile
>
> How is this using ib_devices without having a struct ib_client ?
Hi Jason,

After we resolved address using rdma_resolve_add() we access the
ib_device from rdma_cm_id. The ib_device has been registered on
rdma_cm module load in cma_init(). The handle device removal through
RDMA_CM_EVENT_DEVICE_REMOVAL.

Best,
Danil


>
> Jason



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux