* [ANNOUNCE] libmthca 1.0.5 and libmlx4 1.0.2 are released
@ 2011-07-06 19:42 Roland Dreier
[not found] ` <1309981353-14301-1-git-send-email-roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Roland Dreier @ 2011-07-06 19:42 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
libmthca and libmlx4 are userspace drivers for Mellanox InfiniBand
HCAs. They are plug-in modules for libibverbs that allows programs to
use Mellanox hardware directly from userspace.
New stable releases are available from
http://www.openfabrics.org/downloads/mthca/libmthca-1.0.6.tar.gz
http://www.openfabrics.org/downloads/mlx4/libmlx4-1.0.2.tar.gz
with sha1sum
156d90ea343a18fd638c0097ea8d2e97af3f6e25 libmthca-1.0.6.tar.gz
8c5e9deb47b6a3f0163fa5e85ea7560451c4a09b libmlx4-1.0.2.tar.gz
I also pushed the latest trees and tags out to kernel.org:
git://git.kernel.org/pub/scm/libs/infiniband/libmthca.git
git://git.kernel.org/pub/scm/libs/infiniband/libmlx4.git
(the name of the tags are libmthca-1.0.6 and libmlx4-1.0.2)
These releases contain a variety of accumulated small fixes since the
previous long-ago releases.
The git shortlog since libmthca 1.0.5 is:
Jack Morgenstein (1):
Fix race between create QP and destroy QP
Jason Gunthorpe (2):
Remove empty stubs for detach/attach_mcast
Update function prototypes to match libibverbs enum type change
Roland Dreier (16):
Use real Homepage: tag instead of pseudo-header inside description
Debian changelog should use "unstable" not "hardy"
Move -dbg Debian package to section debug
Update build system to use shave
Update Debian policy version to 3.8.2
Package description shouldn't start with an article
Set DM-Upload-Allowed now that Roland is a Debian Maintainer
Convert to new 3.0 (quilt) source format.
Change Debian build system from cdbs to debhelper 7
Move plugin .so to /usr/lib/libibverbs
Revert "Update build system to use shave"
Enable quiet build rules with automake 1.11+
Small configure.in modernizations
Acknowledge NMU (don't ship .la file)
Note that we fix Debian bug about maintainer address in Debian changelog
Roll libmthca 1.0.6 release
Sebastien Dugue (1):
Use mmap(MAP_ANONYMOUS) to allocate queue buffers
The git shortlog since libmlx4 1.0.1 is:
Jack Morgenstein (1):
Initialize SRQ scatter entries when creating an SRQ
Jason Gunthorpe (3):
Remove empty stubs for detach/attach_mcast
Update function prototypes to match libibverbs enum type change
Return ERRNO codes from ibv_post_send/recv instead of -1
Roland Dreier (11):
Package description shouldn't start with an article
Set DM-Upload-Allowed now that Roland is a Debian Maintainer
Convert to new 3.0 (quilt) source format.
Note that we fix Debian bug about maintainer address in Debian changelog
Don't ship .la files in Debian libmlx4-dev
Change Debian build system from cdbs to debhelper 7
Small configure.in modernizations
Revert "Update build system to use shave"
Enable quiet build rules with automake 1.11+
Move plugin .so to /usr/lib/libibverbs
Roll libmlx4 1.0.2 release
Sebastien Dugue (3):
Use mmap(MAP_ANONYMOUS) to allocate queue buffers
mmap() needs some includes
Fix version in taball filename in RPM spec file
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [ANNOUNCE] libmthca 1.0.5 and libmlx4 1.0.2 are released
[not found] ` <1309981353-14301-1-git-send-email-roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
@ 2011-07-14 16:10 ` Tziporet Koren
[not found] ` <CD250C48050CFB4D95E78C95F2FDDD6E071C09B6-orl5n1AObOGuSA5JZHE7gA@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Tziporet Koren @ 2011-07-14 16:10 UTC (permalink / raw)
To: Roland Dreier, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Roland
What about the new CX3 device ID patch?
Also - when will the RoCE user space patches be included in the library?
Thanks
Tziporet
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCE] libmthca 1.0.5 and libmlx4 1.0.2 are released
[not found] ` <CD250C48050CFB4D95E78C95F2FDDD6E071C09B6-orl5n1AObOGuSA5JZHE7gA@public.gmane.org>
@ 2011-07-14 17:13 ` Roland Dreier
[not found] ` <CAG4TOxN7iWn7JN7Yg_FMO1qdKFhhPXaujC-Chc=DfCyFMpxO5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Roland Dreier @ 2011-07-14 17:13 UTC (permalink / raw)
To: Tziporet Koren; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> What about the new CX3 device ID patch?
Did I ever get a final version of the libmthca and kernel patches?
> Also - when will the RoCE user space patches be included in the library?
That's probably the next thing for libibverbs.
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [ANNOUNCE] libmthca 1.0.5 and libmlx4 1.0.2 are released
[not found] ` <CAG4TOxN7iWn7JN7Yg_FMO1qdKFhhPXaujC-Chc=DfCyFMpxO5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2011-07-18 8:42 ` Tziporet Koren
[not found] ` <CD250C48050CFB4D95E78C95F2FDDD6E071C9C38-orl5n1AObOGuSA5JZHE7gA@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Tziporet Koren @ 2011-07-18 8:42 UTC (permalink / raw)
To: Roland Dreier
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Vladimir Sokolovsky, Or Gerlitz
>> What about the new CX3 device ID patch?
> Did I ever get a final version of the libmthca and kernel patches?
CX3 is using libmlx4 and not libmthca.
Vlad sent a patch on 1/19/11:
http://www.spinics.net/lists/linux-rdma/msg07237.html
Is contain adding several device IDs including CX3
Do you wish separate patch on each device?
Regards,
Tziporet
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCE] libmthca 1.0.5 and libmlx4 1.0.2 are released
[not found] ` <CD250C48050CFB4D95E78C95F2FDDD6E071C9C38-orl5n1AObOGuSA5JZHE7gA@public.gmane.org>
@ 2011-07-18 17:12 ` Jason Gunthorpe
[not found] ` <20110718171230.GA26012-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2011-07-18 19:37 ` Roland Dreier
1 sibling, 1 reply; 8+ messages in thread
From: Jason Gunthorpe @ 2011-07-18 17:12 UTC (permalink / raw)
To: Tziporet Koren
Cc: Roland Dreier, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Vladimir Sokolovsky, Or Gerlitz
On Mon, Jul 18, 2011 at 08:42:25AM +0000, Tziporet Koren wrote:
> CX3 is using libmlx4 and not libmthca.
> Vlad sent a patch on 1/19/11:
> http://www.spinics.net/lists/linux-rdma/msg07237.html
> Is contain adding several device IDs including CX3
Why is that test even in libmlx4?
Maybe this is a better choice:
diff --git a/src/mlx4.c b/src/mlx4.c
index 1295c53..bc8ee72 100644
--- a/src/mlx4.c
+++ b/src/mlx4.c
@@ -53,21 +53,6 @@
#define PCI_VENDOR_ID_MELLANOX 0x15b3
#endif
-#define HCA(v, d) \
- { .vendor = PCI_VENDOR_ID_##v, \
- .device = d }
-
-struct {
- unsigned vendor;
- unsigned device;
-} hca_table[] = {
- HCA(MELLANOX, 0x6340), /* MT25408 "Hermon" SDR */
- HCA(MELLANOX, 0x634a), /* MT25408 "Hermon" DDR */
- HCA(MELLANOX, 0x6354), /* MT25408 "Hermon" QDR */
- HCA(MELLANOX, 0x6732), /* MT25408 "Hermon" DDR PCIe gen2 */
- HCA(MELLANOX, 0x673c), /* MT25408 "Hermon" QDR PCIe gen2 */
-};
-
static struct ibv_context_ops mlx4_ctx_ops = {
.query_device = mlx4_query_device,
.query_port = mlx4_query_port,
@@ -183,27 +168,7 @@ static struct ibv_device *mlx4_driver_init(const char *uverbs_sys_path,
{
char value[8];
struct mlx4_device *dev;
- unsigned vendor, device;
- int i;
-
- if (ibv_read_sysfs_file(uverbs_sys_path, "device/vendor",
- value, sizeof value) < 0)
- return NULL;
- sscanf(value, "%i", &vendor);
-
- if (ibv_read_sysfs_file(uverbs_sys_path, "device/device",
- value, sizeof value) < 0)
- return NULL;
- sscanf(value, "%i", &device);
-
- for (i = 0; i < sizeof hca_table / sizeof hca_table[0]; ++i)
- if (vendor == hca_table[i].vendor &&
- device == hca_table[i].device)
- goto found;
-
- return NULL;
-found:
if (abi_version < MLX4_UVERBS_MIN_ABI_VERSION ||
abi_version > MLX4_UVERBS_MAX_ABI_VERSION) {
fprintf(stderr, PFX "Fatal: ABI version %d of %s is not supported "
--
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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [ANNOUNCE] libmthca 1.0.5 and libmlx4 1.0.2 are released
[not found] ` <20110718171230.GA26012-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
@ 2011-07-18 19:20 ` Roland Dreier
[not found] ` <CAL1RGDXseg920=-PYi1q8GXQwMMSwzRvci=nUM1fkQ9kG-WigA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Roland Dreier @ 2011-07-18 19:20 UTC (permalink / raw)
To: Jason Gunthorpe
Cc: Tziporet Koren,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Vladimir Sokolovsky, Or Gerlitz
> Why is that test even in libmlx4?
We need some way for userspace drivers to know which devices to bind.
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCE] libmthca 1.0.5 and libmlx4 1.0.2 are released
[not found] ` <CD250C48050CFB4D95E78C95F2FDDD6E071C9C38-orl5n1AObOGuSA5JZHE7gA@public.gmane.org>
2011-07-18 17:12 ` Jason Gunthorpe
@ 2011-07-18 19:37 ` Roland Dreier
1 sibling, 0 replies; 8+ messages in thread
From: Roland Dreier @ 2011-07-18 19:37 UTC (permalink / raw)
To: Tziporet Koren
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Vladimir Sokolovsky, Or Gerlitz
>>> What about the new CX3 device ID patch?
>
>> Did I ever get a final version of the libmthca and kernel patches?
>
> CX3 is using libmlx4 and not libmthca.
> Vlad sent a patch on 1/19/11:
> http://www.spinics.net/lists/linux-rdma/msg07237.html
Sorry, I meant libmlx4 of course.
So that patch includes
+ HCA(MELLANOX, 0x6778), /* MT26488 [ConnectX VPI PCIe 2.0 5GT/s - IB
DDR / 10GigE Virt+] */
which the kernel seems to be missing. Should it be there?
That's why I ask about final patches that bring kernel and libmlx4
into sync, someone needs to check both device lists.
- R.
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCE] libmthca 1.0.5 and libmlx4 1.0.2 are released
[not found] ` <CAL1RGDXseg920=-PYi1q8GXQwMMSwzRvci=nUM1fkQ9kG-WigA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2011-07-19 5:19 ` Jason Gunthorpe
0 siblings, 0 replies; 8+ messages in thread
From: Jason Gunthorpe @ 2011-07-19 5:19 UTC (permalink / raw)
To: Roland Dreier
Cc: Tziporet Koren,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Vladimir Sokolovsky, Or Gerlitz
On Mon, Jul 18, 2011 at 12:20:01PM -0700, Roland Dreier wrote:
> > Why is that test even in libmlx4?
>
> We need some way for userspace drivers to know which devices to bind.
Hum, for some reason I thought it was already keying off the sysfs
driver entry:
$ readlink class/infiniband_verbs/uverbs0/device/driver
../../../../bus/pci/drivers/mlx4_core
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-07-19 5:19 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-06 19:42 [ANNOUNCE] libmthca 1.0.5 and libmlx4 1.0.2 are released Roland Dreier
[not found] ` <1309981353-14301-1-git-send-email-roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2011-07-14 16:10 ` Tziporet Koren
[not found] ` <CD250C48050CFB4D95E78C95F2FDDD6E071C09B6-orl5n1AObOGuSA5JZHE7gA@public.gmane.org>
2011-07-14 17:13 ` Roland Dreier
[not found] ` <CAG4TOxN7iWn7JN7Yg_FMO1qdKFhhPXaujC-Chc=DfCyFMpxO5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-07-18 8:42 ` Tziporet Koren
[not found] ` <CD250C48050CFB4D95E78C95F2FDDD6E071C9C38-orl5n1AObOGuSA5JZHE7gA@public.gmane.org>
2011-07-18 17:12 ` Jason Gunthorpe
[not found] ` <20110718171230.GA26012-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2011-07-18 19:20 ` Roland Dreier
[not found] ` <CAL1RGDXseg920=-PYi1q8GXQwMMSwzRvci=nUM1fkQ9kG-WigA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-07-19 5:19 ` Jason Gunthorpe
2011-07-18 19:37 ` Roland Dreier
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).