From: Bart Van Assche <Bart.VanAssche-Sjgp3cTcYWE@public.gmane.org>
To: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org"
<leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: "liranl-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org"
<liranl-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
"tzahio-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org"
<tzahio-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: RDMA miniconf: Persistent device naming
Date: Mon, 31 Jul 2017 15:00:47 +0000 [thread overview]
Message-ID: <1501513246.2466.1.camel@wdc.com> (raw)
In-Reply-To: <20170731113633.GU13672-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
On Mon, 2017-07-31 at 14:36 +0300, Leon Romanovsky wrote:
> I would like to propose the discussion about ability to add
> persistent device naming to RDMA subsystem.
>
> Right now, the devices receive their names by simple addition of new free
> index to the name (mlx5_0, mlx5_1 ...). Such naming scheme depends on the
> PCI probing and in case of device reset can rename device.
>
> Such situation doesn't help to provide constant udev rules, reliable
> ibverbs hotplug and advanced "set command" of RDMAtool which at some
> point of time will require reinit of ib_device.
>
> In this discussion, I want to present netdev implementation of such
> feature, talk about implications on libibverbs and suggest possible
> device name convention.
Hello Leon,
Does this mean that there is user space software that depends on these names?
Shouldn't all user space software be independent of the device names assigned
by the kernel? For e.g. SCSI disks this was solved a long time ago by making
/dev/disk/by-id/${name derived from persistent ID} soft links available. An
example:
$ ls -l /dev/disk/by-id/scsi-35001b44c698c2947
lrwxrwxrwx 1 root root 9 Jul 31 07:53 /dev/disk/by-id/scsi-35001b44c698c2947 -> ../../sda
Bart.--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-07-31 15:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-31 11:36 RDMA miniconf: Persistent device naming Leon Romanovsky
[not found] ` <20170731113633.GU13672-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-07-31 13:48 ` Dennis Dalessandro
2017-07-31 15:00 ` Bart Van Assche [this message]
[not found] ` <1501513246.2466.1.camel-Sjgp3cTcYWE@public.gmane.org>
2017-07-31 16:00 ` Leon Romanovsky
2017-07-31 16:47 ` Jason Gunthorpe
[not found] ` <20170731164705.GB28204-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-07-31 16:54 ` Leon Romanovsky
[not found] ` <20170731165453.GD13672-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-07-31 17:00 ` Jason Gunthorpe
[not found] ` <20170731170018.GA19061-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-07-31 17:08 ` Leon Romanovsky
[not found] ` <20170731170804.GE13672-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-07-31 17:24 ` Jason Gunthorpe
[not found] ` <20170731172436.GA19375-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-07-31 17:38 ` Leon Romanovsky
[not found] ` <20170731173813.GH13672-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-07-31 17:43 ` Jason Gunthorpe
[not found] ` <20170731174312.GA20133-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-01 6:24 ` Leon Romanovsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1501513246.2466.1.camel@wdc.com \
--to=bart.vanassche-sjgp3ctcywe@public.gmane.org \
--cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=liranl-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=tzahio-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.