From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: Nicolas Morey-Chaisemartin
<NMoreyChaisemartin-l3A5Bk7waGM@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH rdma-core] suse: switch fully to the new udev mechanism
Date: Tue, 29 Aug 2017 11:12:20 -0600 [thread overview]
Message-ID: <20170829171220.GA28687@obsidianresearch.com> (raw)
In-Reply-To: <1504020051.52034.51.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
On Tue, Aug 29, 2017 at 11:20:51AM -0400, Doug Ledford wrote:
> > rdma.fixup-mtrr.awk
> > - Obsolete, supports ancient hardware, done in kernel now
>
> Yeah, this is droppable. It was needed back in the SDR days for qib
> hardware.
PR #199 deletes this file
> > rdma.mlx4-setup.sh
> > rdma.mlx4.conf
> > rdma.mlx4.sys.modprobe
> > - Mellanox says they now prefer it if the device's EEPROM is
> > configured, instead of this approach. So this is old
>
> Right, but it still needs to stick around for now. Even though the
> EEPROM approach is preferred, not all mlx4 level devices support it,
> and given that mlx4 is still very much in use, we need to keep it.
The modprobe approach is not compatible with hotplug. Instead, we
really want this to run from a udev rule, but the mlx4 driver does not
create a kobject from mlx_core, so there is nothing to trigger the
rule on :|
I guess a kernel patch will be needed here..
> > Maybe it should move
> > to kernel-boot, but also unclear why we need it? doesn't
> > libvirt do this nowadays?
>
> It needs to die. For a very long time libvirt has not been smart
> enough to deal with the dual ports on mlx4 hardware. There has been
> work upstream in libvirt to make this work. The scripts here are
> useless for any guests that are open to migration as they preconfigure
> the devices and then you attach the device to the guest more or less
> unmanaged. Libvirt/qemu can never migrate the host because it doesn't
> know how to set up the card on the new host the same way. It's my hope
> that the rdma tool will be expanded to support the different SRIOV
> configuration methods (mlx4 and mlx5 are totally different)
> transparently. If/when that happens, it will be easy for libvirt to
> standardize on that method and move this to "fully supported" status.
> Right now, this support is just to allow people to statically configure
> SRIOV for use, but I don't consider something that can't migrate guests
> production ready IMO.
Okay, lets leave that as redhat/, but I thought Mellanox sorted this
all out with the ipoib netlink patches related to sriov? Sigh.
> > rdma.udev-ipoib-naming.rules
> > - This is a user example for udev rules..
> > Could go into kernel-boot
>
> Right. This is a totally generic udev consistent device naming
> support.
Done in PR #199
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-08-29 17:12 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-24 14:49 [PATCH rdma-core 1/2] suse: Add spec file for SUSE Nicolas Morey-Chaisemartin
[not found] ` <abf2bc82-824b-a1d9-bc6b-a3a77045d633-l3A5Bk7waGM@public.gmane.org>
2017-08-27 21:47 ` Jason Gunthorpe
[not found] ` <20170827214704.GC14542-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-28 5:59 ` Nicolas Morey-Chaisemartin
[not found] ` <ecddc225-0dc5-c51f-535b-c2bee252d5ed-l3A5Bk7waGM@public.gmane.org>
2017-08-28 6:07 ` Leon Romanovsky
[not found] ` <20170828060758.GD12880-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-28 8:17 ` Nicolas Morey-Chaisemartin
[not found] ` <86a21008-c993-de29-2cb9-845af14c4cd5-l3A5Bk7waGM@public.gmane.org>
2017-08-28 9:05 ` Leon Romanovsky
[not found] ` <20170828090537.GG12880-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-28 9:13 ` Nicolas Morey-Chaisemartin
[not found] ` <0754696d-42d5-5083-8ed0-435ab3f189de-l3A5Bk7waGM@public.gmane.org>
2017-08-28 9:24 ` Leon Romanovsky
[not found] ` <20170828092406.GH12880-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-28 9:36 ` Nicolas Morey-Chaisemartin
2017-08-28 15:22 ` Jason Gunthorpe
[not found] ` <20170828152254.GB7867-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-28 17:23 ` Adit Ranadive
[not found] ` <ea729fa9-6f6e-9834-ff77-377b1e843f79-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2017-08-28 17:29 ` Jason Gunthorpe
[not found] ` <20170828172954.GA21341-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-30 0:31 ` Adit Ranadive
[not found] ` <32d85325-7aa0-edfe-eaca-213102ea14bd-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2017-08-30 1:24 ` Jason Gunthorpe
2017-08-28 15:05 ` [PATCH rdma-core] suse: switch fully to the new udev mechanism Nicolas Morey-Chaisemartin
[not found] ` <71835edf-cb2a-d4f8-627e-0f60ee772fb7-l3A5Bk7waGM@public.gmane.org>
2017-08-28 15:16 ` Jason Gunthorpe
[not found] ` <20170828151609.GA7867-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-28 15:23 ` Nicolas Morey-Chaisemartin
[not found] ` <b4b35cf1-ed07-dbee-37cc-15c00480ad04-l3A5Bk7waGM@public.gmane.org>
2017-08-28 15:31 ` Jason Gunthorpe
[not found] ` <20170828153146.GC7867-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-29 7:59 ` Nicolas Morey-Chaisemartin
[not found] ` <84031eb6-9ae5-71c6-8ba3-252204c3688d-l3A5Bk7waGM@public.gmane.org>
2017-08-29 15:03 ` Jason Gunthorpe
[not found] ` <20170829150329.GA26051-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-29 15:20 ` Doug Ledford
[not found] ` <1504020051.52034.51.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-08-29 17:12 ` Jason Gunthorpe [this message]
2017-08-29 15:38 ` Nicolas Morey-Chaisemartin
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=20170829171220.GA28687@obsidianresearch.com \
--to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
--cc=NMoreyChaisemartin-l3A5Bk7waGM@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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