From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Bart Van Assche <Bart.VanAssche-Sjgp3cTcYWE@public.gmane.org>,
"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"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 11:43:12 -0600 [thread overview]
Message-ID: <20170731174312.GA20133@obsidianresearch.com> (raw)
In-Reply-To: <20170731173813.GH13672-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
On Mon, Jul 31, 2017 at 08:38:13PM +0300, Leon Romanovsky wrote:
> On Mon, Jul 31, 2017 at 11:24:36AM -0600, Jason Gunthorpe wrote:
> > On Mon, Jul 31, 2017 at 08:08:04PM +0300, Leon Romanovsky wrote:
> > > On Mon, Jul 31, 2017 at 11:00:18AM -0600, Jason Gunthorpe wrote:
> > > > On Mon, Jul 31, 2017 at 07:54:53PM +0300, Leon Romanovsky wrote:
> > > > > I want to take RDMA one step more,
> > > > > https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
> > > > >
> > > > > I called the topic name "persistent", but the right name is "predictable".
> > > >
> > > > Once renaming is possible then having udev rework the names isn't a
> > > > big step anymore.
> > >
> > > You need predictable starting point to perform automatic rename,
> > > currently neither index, neither names are not.
> >
> > udev has all the information needed to produce the naming pattern in
> > the link above.
> >
> > You'd end up with names like rdmap3s1f1 for instance.
>
> I'm not so convinced that udev scripts digging into various outputs
> (lspci, e.t.c.) are better solution than kernel handles everything
> exactly as netdev.
I'm confused. You linked to PredictableNetworkInterfaceNames, which is
entirely implemented by udev.
The only kernel support for netdev is the ability to rename netdevs,
everything else is done in userspace, by udev on modern systems.
The sooner we get the same kernel API for RDMA the better, I'd run it
over rdma netlink I think.
Jason
--
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 17:43 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
[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 [this message]
[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=20170731174312.GA20133@obsidianresearch.com \
--to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
--cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).