Re: qedr and vmw_pvrdma are not packaged in rdma-core

Leon Romanovsky
2017-02-02T17:44:15Z

[-- Attachment #1: Type: text/plain, Size: 1601 bytes --]

On Thu, Feb 02, 2017 at 09:38:31AM -0700, Jason Gunthorpe wrote:
> On Thu, Feb 02, 2017 at 08:26:28AM +0200, Leon Romanovsky wrote:
> > Hi Ram and Adit,
> >
> > I want to bring to your attention that qedr and vmw_pvrdma drivers are
> > missing from various package files available in rdma-core.
>
> It is handled automatically, can't be missing:
>
> $ buildlib/cbuild pkg jessie
> $ dpkg-deb -c ../ibverbs-providers_13-1_amd64.deb
> -rw-r--r-- root/root 35024 2017-02-02 09:31 ./usr/lib/x86_64-linux-gnu/libibverbs/libqedr-rdmav2.so
> -rw-r--r-- root/root 18600 2017-02-02 09:31 ./usr/lib/x86_64-linux-gnu/libibverbs/libvmw_pvrdma-rdmav2.so
>
> $ buildlib/cbuild pkg fc25
> $ rpm -q -l -p ../libibverbs-13-1.fc25.x86_64.rpm
> /usr/lib64/libibverbs/libqedr-rdmav2.so
> /usr/lib64/libibverbs/libvmw_pvrdma-rdmav2.so
>
> > RedHat has different scheme with explicit declaration, from redhat/rdma-core.spec
> > 98 Provides: librxe = %{version}-%{release}
> > 99 Obsoletes: librxe < %{version}-%{release}
>
> This is only for things that were previously packaged in redhat, qedr
> and vmw_pvrdma have not been, so they should not include those
> stanzas. It is similar to the obsoletes/replaces in debian/control.

Are you sure? I can't find librxe here.
https://www.rpmfind.net/linux/rpm2html/search.php?query=librxe&submit=Search+...&system=&arch=

>
> > But it is not installation only. for example debian/copyright
> > doesn't have information about providers/vmw_pvrdma.
>
> Yes, this needs to be fixed..
>
> This is why I was hoping for an automatic script to maintain this file :)
>
> Jason

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]