> -----Original Message----- > From: Jason Gunthorpe > Sent: Wednesday, February 20, 2019 11:56 AM > To: Parav Pandit <parav@xxxxxxxxxxxx> > Cc: Doug Ledford <dledford@xxxxxxxxxx>; Leon Romanovsky > <leon@xxxxxxxxxx>; Leon Romanovsky <leonro@xxxxxxxxxxxx>; RDMA > mailing list <linux-rdma@xxxxxxxxxxxxxxx> > Subject: Re: [PATCH rdma-next 5/5] RDMA/core: Add command to set > ib_core device net namspace sharing mode > > On Wed, Feb 20, 2019 at 10:52:16AM -0700, Parav Pandit wrote: > > > Yes. we have the module parameter option in this series. > > I came across a user who didn't have LOM nics. > > They are directly using rdma nics in their cluster as primary and only > > interface. > > This is very common for IB clusters, a dedicated ethernet management > network is a very expensive component at large scale. > > > I do not know if such IB based networks exist. And if they do, when > > they change this mode, they will have connectivity loss. > > Or they have to change modes before setting up ipoib. It is much less useful. > > > So we probably shouldn't be doing client unregister-register sequence > > as part of this sys operation done by advance user. > > Provide a 'rdma ulp-restart' netlink command that does the enable/disable > sequence? > Probably we should define more generic rdma dev up/down (start/stop) API that network manager sw can consume in sw.