From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Romanovsky Subject: Re: rdma-core in Dabian Date: Wed, 10 May 2017 19:58:58 +0300 Message-ID: <20170510165858.GG1839@mtr-leonro.local> References: <20170507064349.GM22833@mtr-leonro.local> <1494351789.3752.5.camel@profitbricks.com> <20170509180517.GA9715@obsidianresearch.com> <1494408947.3739.2.camel@profitbricks.com> <20170510155005.GB1007@obsidianresearch.com> <20170510160201.GD1839@mtr-leonro.local> <20170510163341.GA25041@obsidianresearch.com> <004001d2c9ad$7a141f70$6e3c5e50$@opengridcomputing.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Z0mFw3+mXTC5ycVe" Return-path: Content-Disposition: inline In-Reply-To: <004001d2c9ad$7a141f70$6e3c5e50$@opengridcomputing.com> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Steve Wise Cc: 'Jason Gunthorpe' , 'Benjamin Drung' , 'RDMA mailing list' , 'Bart Van Assche' , 'Talat Batheesh' , 'Noa Spanier' List-Id: linux-rdma@vger.kernel.org --Z0mFw3+mXTC5ycVe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, May 10, 2017 at 11:50:06AM -0500, Steve Wise wrote: > > From: Jason Gunthorpe [mailto:jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org] > > > > On Wed, May 10, 2017 at 07:02:01PM +0300, Leon Romanovsky wrote: > > > > > > I've been thinking we should patch the kernel to solve this problem > > > > instead of using this ugly userspace solution. > > > > > > Can it be related to the fact that mlx5 core calls to > > > request_module_nowait for mlx5_ib and chelsio doesn't do it? > > > > Yeah, maybe we should update chelsio kernel drivers instead of using > > these strange modprobe files... > > > > Steve? > > Under what criteria would cxgb4 want to request its Upper Layer Drivers (ULDs) > to be loaded? You wouldn't want to load the iwarp and iscsi drivers if they > aren't going to be used, would you? If you don't want them, you will blacklist them. There is nothing wrong with ready-to-use approach. > > > > > > > > > Maybe Leon's team will try to tackle some of this? It is complicated, > > > > the RH scripts do quite a bit stuff :\ > > > > > > I would be happy to help, but I'm not sure that I understand what should > > > be done :( > > > > I'm not totally clear either, TBH. The overall topic is to move files > > out of redhat/ and into the common directory. This requires removing > > the redhat-isms and making sure the redhat solution is what we really > > want upstream. > > > > eg it seems rdma.cxgb[3]4.sys.modprobe is probably best done by patching > > the kernel instead, not copying the modprobe files. > > > > rdma.kernel-init does: > > - Load extra ULP modules > > * /etc/rdma/rdma.conf is not appropriate for Debian > > * 'TECH_PREVIEW' is a RedHat concept > > - Obsolete mttr/errata stuff. This is in the kernel now (delete it) > > - Yet another go at loading extra driver kernel modules (move to > > kernel) > > - Something about SRIOV (?) > > > > For ULP modules, I think we are loading too many by hand, again, the > > kernel really needs fixing to autoload our stuff on first use. So, I > > suggest a quick pass over that idea to see how much kernel code can be > > fixed up. > > > > So the stuff to move to common user space code might just be the port > > configuration and sriov? But someone needs to study this entire topic > > with a broad view including the kernel. > > > > Jason > --Z0mFw3+mXTC5ycVe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkhr/r4Op1/04yqaB5GN7iDZyWKcFAlkTRtIACgkQ5GN7iDZy WKdKRw/9HpyhsPcL33IYmY2miJzoI/u8IYG74Yaf1eMDjmzaA5tHqHltklK78CDk n5CaABd1ADT82hpkeGX1S6fOCYNM85azBoDkfrCwoxj7JNNRz8X3ZycD0hOckO7c 9bLlYCimmF+I050unJczmcz8NKIOoyLHhCBoQPQr8kRa49h9MnIoJbNihvX/ymiz kOQqoXNooKBkJlDUbwBl5N0srT1JItkAGohp3ohrOC5/0zVfPGTvAdSKmkCyw+ZH Iv4I32X+HeKVP6+6oTQDz6iSNO32K5jzD4ShzHWlZFka+KbZkjjixUpCLGN9bDO0 F7sEzsGfCo+wjHKMXc+8YilYXBvy0CTkJzMETle0lV+iLkhjN7bmf2gx9kORoXtc MnIPIT25+lQ8Rp2M2HltMIfEzeiSI0mvSGlknr+TczP0jSiPTwL136shWNscc1sT HFTHU/2PMXT948MyHoAdt5T2CwFk7WNHqDtPr1ISfqi1DUiIjYLRW6+LA9vs/cwj vv+DodsUpgitcnGCTUifHnI+qz7dQX0A0Jdh/yv8E9qUnBVacl8QJ7e0aqZ59WtT /4woL/gM2R1h9/QsKofHYNIQqL0vfFjbxR4uzEwVZZIrH6wxyg7920g3rcY5QLcT PjDZs7aeYb5dk+g/WucxmPAxNh+6CY2kADLzdbmhXxTja5jPe50= =B2Ip -----END PGP SIGNATURE----- --Z0mFw3+mXTC5ycVe-- -- 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