libmthca 1.0.5 and libmlx4 1.0.2 are released
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.gzI 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1309981353-14301-1-git-send-email-roland-DgEjT+Ai2ygdnm+yROfE0A@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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): CD250C48050CFB4D95E78C95F2FDDD6E071C09B6-orl5n1AObOGuSA5JZHE7gA@public.gmane.org
Quoted 1 line
What about the new CX3 device ID patch?
Did I ever get a final version of the libmthca and kernel patches?
Quoted 1 line
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): CAG4TOxN7iWn7JN7Yg_FMO1qdKFhhPXaujC-Chc=DfCyFMpxO5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 4 lines
Quoted 2 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): CD250C48050CFB4D95E78C95F2FDDD6E071C9C38-orl5n1AObOGuSA5JZHE7gA@public.gmane.org
Quoted 5 lines · Tziporet Koren
CX3 is using libmlx4 and not libmthca.
Vlad sent a patch on 1/19/11:
http://www.spinics.net/lists/linux-rdma/msg07237.htmlIs contain adding several device IDs including CX3
Why is that test even in libmlx4?
Maybe this is a better choice:
src/mlx4.c +0 -35
@@ -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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20110718171230.GA26012-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org
Quoted 1 line
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): CAL1RGDXseg920=-PYi1q8GXQwMMSwzRvci=nUM1fkQ9kG-WigA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 3 lines · Roland Dreier
Quoted 1 line
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html