Skip to contentSkip to conversation

qedr and vmw_pvrdma are not packaged in rdma-core

DISCUSSION Leon Romanovsky 4 participants 7 messages Feb 2, 2017 5 messages not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

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.

Can you please send the patches which add your drivers to rdma-core packages (Redhat and Debian)?

Thanks

#2 lore raw
In reply to a message not in the archive
Quoted 7 lines · Leon Romanovsky

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.

Can you please send the patches which add your drivers to rdma-core packages (Redhat and Debian)?

Even better: can we find a way so that providers (old and new) get added automatically?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to a message not in the archive

Am Donnerstag, den 02.02.2017, 00:13 -0800 schrieb Christoph Hellwig:

Quoted 7 lines · Leon Romanovsky
Quoted 6 lines

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.

Quoted 5 lines
Quoted 2 lines

Can you please send the patches which add your drivers to rdma-core packages (Redhat and Debian)?

Even better: can we find a way so that providers (old and new) get added automatically?

debian/ibverbs-providers.install specifies:
usr/lib/*/libibverbs/lib*-rdmav2.so

So if CMake installs the provider, the package will automatically pick it up.

Signature · 18 lines
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: [email protected]
URL:  http://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B.
Geschäftsführer: Andreas Gauger, Achim Weiss.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#6 lore raw
In reply to a message not in the archive
Quoted 11 lines · Benjamin Drung

Am Donnerstag, den 02.02.2017, 00:13 -0800 schrieb Christoph Hellwig:

Quoted 10 lines · Leon Romanovsky
Quoted 8 lines

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.

Can you please send the patches which add your drivers to rdma-core packages (Redhat and Debian)?

Quoted 8 lines
Quoted 2 lines

Even better: can we find a way so that providers (old and new) get added automatically?

debian/ibverbs-providers.install specifies:
usr/lib/*/libibverbs/lib*-rdmav2.so

So if CMake installs the provider, the package will automatically pick it up.

RedHat has different scheme with explicit declaration, from redhat/rdma-core.spec
98 Provides: librxe = %{version}-%{release}
99 Obsoletes: librxe < %{version}-%{release}

But it is not installation only.
for example debian/copyright doesn't have information about providers/vmw_pvrdma.

Quoted 16 lines

--
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: [email protected]
URL: http://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B. Geschäftsführer: Andreas Gauger, Achim Weiss.

#7 lore raw
In reply to a message not in the archive
Quoted 4 lines · Leon Romanovsky

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
Quoted 3 lines

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.

Quoted 2 lines

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
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw
In reply to a message not in the archive
Quoted 18 lines · Jason Gunthorpe
Quoted 4 lines · Leon Romanovsky

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
(quoted diff) +0 -2
-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
Quoted 7 lines
Quoted 3 lines

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=

Quoted 9 lines
Quoted 3 lines

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

#11 lore raw
In reply to a message not in the archive
Quoted 23 lines · Leon Romanovsky
Quoted 22 lines · Jason Gunthorpe
Quoted 4 lines · Leon Romanovsky

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
(quoted diff) +0 -2
-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
Quoted 3 lines

RedHat has different scheme with explicit declaration, from redhat/rdma-core.spec 98 Provides: librxe = %{version}-%{release}
99 Obsoletes: librxe < %{version}-%{release}

Quoted 6 lines
Quoted 3 lines

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=

Yes, I am sure.

Someone got overzealous then, the provides should be removed.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html