]>
git.openfabrics.org - ~shefty/libibverbs.git/log
Roland Dreier [Wed, 15 Mar 2006 00:49:20 +0000 (00:49 +0000)]
Roll libibverbs 1.0.2 release
Debian packaging fixes only.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 15 Mar 2006 00:45:55 +0000 (00:45 +0000)]
Debian packaging fixes based on feedback from debian-mentors mailing list
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 14 Mar 2006 07:33:42 +0000 (07:33 +0000)]
Bump version in svn, and switch to non-native Debian packaging
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 14 Mar 2006 05:59:16 +0000 (05:59 +0000)]
Roll libibverbs 1.0.1 release
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 14 Mar 2006 00:24:55 +0000 (00:24 +0000)]
Use sysfs_open_attribute() and sysfs_read_attribute()
Use sysfs_open_attribute() and sysfs_read_attribute() instead of the
deprecated function sysfs_read_attribute_value(), which is no longer
present in libsysfs2 (which is already in Debian and Ubuntu).
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 14 Mar 2006 00:06:30 +0000 (00:06 +0000)]
Bump libibverbs version to 1.0.1
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Mon, 13 Mar 2006 23:07:02 +0000 (23:07 +0000)]
Roll libibverbs 1.0 release
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Jack Morgenstein [Mon, 6 Mar 2006 22:28:21 +0000 (22:28 +0000)]
Add enum ibv_rate
Add enum ibv_rate to define encoding of static_rate field (based on a
patch from Jack Morgenstein <jackm@mellanox.co.il>).
Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Ralph Campbell [Mon, 6 Mar 2006 21:17:48 +0000 (21:17 +0000)]
Fix memory leak in find_drivers()
I was browsing through the libibverbs code and found a minor memory
leak. Here is the fix.
Signed-off-by: Ralph Campbell <ralphc@pathscale.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Fri, 24 Feb 2006 23:05:14 +0000 (23:05 +0000)]
Remove copyright notices without license text
They bugged some silly people.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Dotan Barak [Thu, 23 Feb 2006 20:41:50 +0000 (20:41 +0000)]
Add support for kernel ABI version 6
Add support for kernel ABI 6: take SRQ capacity from kernel response
to create SRQ.
Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Thu, 16 Feb 2006 18:41:56 +0000 (18:41 +0000)]
Bump libibverbs version
Be optimistic and assume that the next release will be 1.0.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Thu, 16 Feb 2006 18:21:58 +0000 (18:21 +0000)]
Roll libibverbs 1.0-rc7 release
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Thu, 16 Feb 2006 17:32:50 +0000 (17:32 +0000)]
Add support for kernel ABI version 5
Add support for kernel ABI 5, which properly aligns struct ibv_create_qp_resp.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 15 Feb 2006 22:48:01 +0000 (22:48 +0000)]
Add response handling to ibv_cmd_create_qp()
Add resp and resp_size parameters to libibverbs's ibv_cmd_create_qp()
function so that kernel low-level drivers can return private data to
userspace device drivers.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 15 Feb 2006 22:36:17 +0000 (22:36 +0000)]
Bump libibverbs version number to 1.0-rc7
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 15 Feb 2006 06:42:48 +0000 (06:42 +0000)]
Roll libibverbs 1.0-rc6 release
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 15 Feb 2006 06:08:15 +0000 (06:08 +0000)]
Add lots more TODO information to the libibverbs README
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Dotan Barak [Tue, 14 Feb 2006 05:43:28 +0000 (05:43 +0000)]
Report board_id from ibv_devinfo, if present
Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 14 Feb 2006 03:38:30 +0000 (03:38 +0000)]
Remove cpu_to_be64/be64_to_cpu
Remove duplicated cpu_to_be64/be64_to_cpu functions in favor of
htonll/ntohll from <infiniband/arch.h>.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Dotan Barak [Tue, 14 Feb 2006 01:12:59 +0000 (01:12 +0000)]
libibverbs changes for query QP and query SRQ verbs
Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 1 Feb 2006 16:56:45 +0000 (16:56 +0000)]
Fix pingpong examples' handling of specifying device by name
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 1 Feb 2006 05:27:43 +0000 (05:27 +0000)]
Remove useless "extern" from function declarations
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Mon, 30 Jan 2006 22:32:03 +0000 (22:32 +0000)]
libibverbs changes to handle resizing CQs
Essentially just adding API and support for passing the call through
to provider plug-ins.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Thu, 26 Jan 2006 19:06:49 +0000 (19:06 +0000)]
Add "extern" to declarations for consistency
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Thu, 26 Jan 2006 17:30:05 +0000 (17:30 +0000)]
Fix Source: line in spec files to point to new tarball name
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 25 Jan 2006 22:43:27 +0000 (22:43 +0000)]
Move pp_get_local_lid() to common file
Factor out more common pingpong code.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Mon, 23 Jan 2006 05:38:26 +0000 (05:38 +0000)]
Bump libibverbs version number to 1.0-rc6
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Mon, 23 Jan 2006 05:32:11 +0000 (05:32 +0000)]
Roll libibverbs 1.0-rc5 release
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Mon, 23 Jan 2006 05:08:09 +0000 (05:08 +0000)]
Update TODO section in README
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Dotan Barak [Mon, 23 Jan 2006 05:07:09 +0000 (05:07 +0000)]
List all devices in ibv_devinfo
Make ibv_devinfo list all IB devices by default, rather than the first
device only.
Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Sat, 21 Jan 2006 00:53:08 +0000 (00:53 +0000)]
Factor out some common code in pingpong examples
- Create pingpong.c/pingpong.h to hold common code for pingpong examples.
- Add option to set path MTU for connected transport pingpong examples.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Ralph Campbell [Tue, 17 Jan 2006 17:20:37 +0000 (17:20 +0000)]
Arm CQ early enough in pingpong examples
The example pingpong programs have a race when using events where the
client sends the first packet but the server hasn't yet armed the CQ
by calling ibv_req_notify_cq() thus waiting forever in
ibv_get_cq_event(). The fix is to move the call to
ibv_req_notify_cq() before signaling the client to "start".
Signed-off-by: Ralph Campbell <ralphc@pathscale.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Sat, 7 Jan 2006 01:06:03 +0000 (01:06 +0000)]
Fix ibv_srq_pingpong bug with many QPs when using CQ events
Fix SRQ example to avoid problems with many QPs and events. Based on
a patch from Dotan Barak (who also found the problem).
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Ralph Campbell [Sat, 7 Jan 2006 01:00:16 +0000 (01:00 +0000)]
Fix test of return value of ibv_poll_cq() in pingpong examples
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Dotan Barak [Wed, 4 Jan 2006 21:26:32 +0000 (21:26 +0000)]
Typo fix in the description of ibv_modify_srq()
Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Michael S. Tsirkin [Wed, 4 Jan 2006 21:20:02 +0000 (21:20 +0000)]
Fix ibverbs_init for multiple adapters
Noted by Christoph Raisch.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Michael S. Tsirkin [Fri, 16 Dec 2005 20:41:36 +0000 (20:41 +0000)]
struct ibv_send_wr.imm_data is in network byte order
verbs.h documents ordering for immediate data in completion, but not
in send work request.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Thu, 15 Dec 2005 21:46:47 +0000 (21:46 +0000)]
Improve ibv_free_device_list() documentation
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Shirley Ma [Thu, 15 Dec 2005 21:25:33 +0000 (21:25 +0000)]
Handle devices that don't support SRQ
create_srq is not a mandatory device function, therefore in
userspace/libibverbs/src/verbs.c ibv_create_srq should check
create_srq() first before calling it, otherwise the caller will cause
the segmentation fault on device which doesn't support SRQs.
Signed-off-by: Shirley Ma <xma@us.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 14 Dec 2005 20:44:36 +0000 (20:44 +0000)]
Change from ibv_get_devices() to ibv_get_device_list()
Change libibverbs API for listing all known devices from
ibv_get_devices() to ibv_get_device_list(), and update all in-tree
uses of this API.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Michael S. Tsirkin [Tue, 29 Nov 2005 17:01:28 +0000 (17:01 +0000)]
Fix EXTRA_DIST: sa-kern-abi.h path is wrong
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Sun, 13 Nov 2005 04:36:49 +0000 (04:36 +0000)]
Various trivial picayune libibverbs changes
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Sean Hefty [Fri, 11 Nov 2005 00:33:09 +0000 (00:33 +0000)]
Add support for userspace RDMA connection management abstraction (CMA)
Add common user/kernel data structures and copy routines in libibverbs.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Roland Dreier [Wed, 9 Nov 2005 23:36:20 +0000 (23:36 +0000)]
Add changelog entry for previous checkin
Michael S. Tsirkin [Wed, 9 Nov 2005 23:35:13 +0000 (23:35 +0000)]
Make ibv_get_devices reentrant
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Jack Morgenstein [Wed, 9 Nov 2005 18:25:08 +0000 (18:25 +0000)]
Handle kernel uverbs ABI version 4
Update libibverbs and libmthca to handle new kernel ABI 4, which has
the kernel compute exact capabilities for QPs.
Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Sun, 30 Oct 2005 17:45:12 +0000 (17:45 +0000)]
Fix CQ overrun in SRQ pingpong example
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Sun, 30 Oct 2005 17:43:18 +0000 (17:43 +0000)]
Bump debian package version to -rc5 as well
Roland Dreier [Wed, 26 Oct 2005 04:53:27 +0000 (04:53 +0000)]
Bump libibverbs version number to 1.0-rc5
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 26 Oct 2005 04:22:07 +0000 (04:22 +0000)]
Really roll releases
Fix version in spec file changelog.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 26 Oct 2005 04:16:00 +0000 (04:16 +0000)]
Roll libibverbs 1.0-rc4 release
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 25 Oct 2005 23:00:45 +0000 (23:00 +0000)]
Fix QP attr masks in ibv_uc_pingpong
Fix QP attribute masks used in ibv_uc_pingpong -- now that mthca
correctly fails if we try to set RDMA/atomic capabilities for UC QPs,
the examples need to be fixed as well.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 25 Oct 2005 22:40:13 +0000 (22:40 +0000)]
Handle out-of-order completions in pingpong examples
Keep track of whether send and/or receive is pending in libibverbs
pingpong examples. This avoids failures when the remote side receives
data and posts a send very quickly, and the local side completes the
receive before the previous send. With the old code, this could
result in posting a send before the previous send completed, and
therefore overrun the send queue.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 25 Oct 2005 04:44:29 +0000 (04:44 +0000)]
Fix "Source:" line in RPM spec files to be a valid URL
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Sun, 23 Oct 2005 22:32:47 +0000 (22:32 +0000)]
Fix buffer size computation in ibv_cmd_get_context_v2()
Correct silly mistake in ibv_cmd_get_context_v2() computation of size
of buffer for old ABI command: we need to use sizeof *cmd instead of
sizeof cmd, since cmd is a pointer.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Sun, 23 Oct 2005 22:19:25 +0000 (22:19 +0000)]
Move where we set qp->qp_type from cmd.c to verbs.c
Just to be really anal.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Fri, 21 Oct 2005 21:29:07 +0000 (21:29 +0000)]
Check write() return value against size we tried to write
In libibverbs post send, post recv and post SRQ recv marshalling code,
correct value that we check write() return value against so that we
check against the size we actually try to write, instead of just
sizeof cmd.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 19 Oct 2005 21:25:34 +0000 (21:25 +0000)]
Correct sense of solicited_only parameter to ibv_cm_req_notify_cq()
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Mon, 17 Oct 2005 22:40:49 +0000 (22:40 +0000)]
Improve comments for ibv_ack_async_event and ibv_ack_async_events
Pointed out by Michael S. Tsirkin.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Fri, 14 Oct 2005 22:48:54 +0000 (22:48 +0000)]
Add support for new datapath kernel commands
Add handling for calling into kernel for datapath operations, so that
we can handle the PathScale userspace driver.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 12 Oct 2005 21:56:46 +0000 (21:56 +0000)]
Avoid potential buffer overrun in ibv_srq_pingpong
Fix overrun in ibv_srq_pingpong (detected by Fedora Core 4
"FORTIFY_SOURCE").
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 11 Oct 2005 17:09:39 +0000 (17:09 +0000)]
Remove unnecessary Debian postrm script, and simplify postinst script
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 11 Oct 2005 00:13:36 +0000 (00:13 +0000)]
Add Debian postinst/postrm scripts to add/remove "rdma" group
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 11 Oct 2005 00:13:13 +0000 (00:13 +0000)]
Be a little less verbose if verbose flag is not set
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 5 Oct 2005 19:51:57 +0000 (19:51 +0000)]
Bump libibverbs version
Also finish support for modify SRQ verb.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Thu, 29 Sep 2005 19:31:34 +0000 (19:31 +0000)]
Move formatting of device's firmware version into device-specific code
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Thu, 29 Sep 2005 17:43:11 +0000 (17:43 +0000)]
Minor libibverbs packaging cleanups
Add dist to release and require sysfsutils-devel to for -devel package.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Thu, 29 Sep 2005 00:50:26 +0000 (00:50 +0000)]
Initial attempt at Fedora Extras spec files for libibverbs and libmthca
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Mon, 26 Sep 2005 21:07:33 +0000 (21:07 +0000)]
Update libibverbs and libmthca to handle uverbs ABI version 3
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Fri, 16 Sep 2005 00:37:59 +0000 (00:37 +0000)]
Debian packaging changes suggested by debian-mentors review
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 13 Sep 2005 18:10:14 +0000 (18:10 +0000)]
Print components of firmware version in hex
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Fri, 9 Sep 2005 20:04:21 +0000 (20:04 +0000)]
Make command structure sizes the same on 32-bit and 64-bit
Add 4-byte reserved members to the new destroy CQ, destroy QP and
destroy SRQ command structures so that they become a multiple of 8
bytes in size. This fixes the structures so they have the same size
on both 32-bit and 64-bit architectures (which is required so that
32-bit userspace on a 64-bit kernel works correctly).
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 7 Sep 2005 22:17:35 +0000 (22:17 +0000)]
Make sure __BYTE_ORDER is defined
Fail compilation if __BYTE_ORDER is neither __LITTLE_ENDIAN nor __BIG_ENDIAN.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 7 Sep 2005 20:01:31 +0000 (20:01 +0000)]
Include htonll() and nothll() in <infiniband/arch.h>
Move htonll() and ntohll() from libmthca into libibverb's
<infiniband/arch.h>, and use them in ibv_get_device_guid() to
avoid pointer aliasing (which some versions of gcc miscompile).
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 7 Sep 2005 18:16:14 +0000 (18:16 +0000)]
Update libibverbs for stale completion event handling
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 31 Aug 2005 23:01:55 +0000 (23:01 +0000)]
Add missing half of change log entry
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 31 Aug 2005 22:51:36 +0000 (22:51 +0000)]
Add -dbg packages with debugging symbols to Debian packages
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 31 Aug 2005 18:39:26 +0000 (18:39 +0000)]
Update for new kernel ABI (stale event handling)
Update to handle new kernel ABI for avoiding stale asynchronous
events. When a CQ, QP or SRQ is destroyed, the kernel reports the
number of events it has given to userspace, and we wait until we've
handled the same number of events.
This does introduce a library API change: consumers are now required
to call ibv_put_async_event() to release every asynchronous event that
they retrieve via ibv_get_async_event().
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 31 Aug 2005 03:38:44 +0000 (03:38 +0000)]
Add man pages for libibverbs example programs
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 30 Aug 2005 21:34:01 +0000 (21:34 +0000)]
Fix warnings on platforms where uint64_t != unsigned long long
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 30 Aug 2005 18:44:49 +0000 (18:44 +0000)]
Fix up Debian packaging
- Add bug #s for ITP bugs
- Change @topspin.com addresses to @cisco.com
- Add Debian-specific package minor version
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 30 Aug 2005 17:38:18 +0000 (17:38 +0000)]
Merge Dotan Barak's vstat tool into ibv_devinfo
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Pete Wyckoff [Fri, 26 Aug 2005 17:09:17 +0000 (17:09 +0000)]
Avoid segv when no IB devices are found
Signed-off-by: Pete Wyckoff <pw@osc.edu>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Wed, 10 Aug 2005 03:53:17 +0000 (03:53 +0000)]
Add support for SRQs
Add libibverbs support for SRQs, including ibv_srq_pingpong example.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 9 Aug 2005 19:44:51 +0000 (19:44 +0000)]
Make --rx-depth work in pingpong examples
Fix option handling in pinpgong examples so that --rx-depth long
option actually works.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Michael S. Tsirkin [Mon, 25 Jul 2005 22:25:59 +0000 (22:25 +0000)]
Lazy initialization of libibverbs on ibv_get_devices
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Fri, 1 Jul 2005 23:35:35 +0000 (23:35 +0000)]
Add port info dump to devinfo program
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Fri, 1 Jul 2005 20:55:49 +0000 (20:55 +0000)]
Move ud-pingpong.c to ud_pingpong.c
Be consistent with uc_pingpong.c and rc_pingpong.c.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Fri, 1 Jul 2005 20:54:33 +0000 (20:54 +0000)]
Get ready to receive before other side starts to send
Have server side of pingpong get ready to receive before client side
starts sending, to close a race condition.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Tue, 28 Jun 2005 16:11:49 +0000 (16:11 +0000)]
Free context before closing associated file descriptors
Free context before closing associated file descriptors. This can
avoid some problems acquiring mmap_sem when there is still memory to
be released by the kernel.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Fri, 24 Jun 2005 17:28:32 +0000 (17:28 +0000)]
Always pass 0 for CQ event handler
Always pass 0 to the kernel for CQ event handler until multiple
handlers are implemented and added to the API.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier [Fri, 24 Jun 2005 16:06:01 +0000 (16:06 +0000)]
Don't follow driver path in user's environment if we're running SUID
Signed-off-by: Roland Dreier <roland@topspin.com>
Roland Dreier [Thu, 23 Jun 2005 17:29:10 +0000 (17:29 +0000)]
Expand libibverbs README
Signed-off-by: Roland Dreier <roland@topspin.com>
Roland Dreier [Tue, 21 Jun 2005 21:27:34 +0000 (21:27 +0000)]
Update for kernel ABI changes
Update userspace verbs libraries to match kernel ABI changes (required
for using "struct ib_udata *" interface).
Signed-off-by: Roland Dreier <roland@topspin.com>
Roland Dreier [Wed, 15 Jun 2005 17:49:35 +0000 (17:49 +0000)]
Include debian/ directory in distribution tarballs
Signed-off-by: Roland Dreier <roland@topspin.com>
Roland Dreier [Wed, 15 Jun 2005 17:20:59 +0000 (17:20 +0000)]
Create new ibv_uc_pinpong example
Create new ibv_uc_pinpong example for using UC transport. Move
original RC pingpong to ibv_rc_pingpong for consistency.
Signed-off-by: Roland Dreier <roland@topspin.com>
Roland Dreier [Mon, 6 Jun 2005 20:05:14 +0000 (20:05 +0000)]
Write up some basics in libibverbs/README
Signed-off-by: Roland Dreier <roland@topspin.com>
Roland Dreier [Mon, 6 Jun 2005 19:44:17 +0000 (19:44 +0000)]
Implement userspace side of query_device verb
Implement query_device verb and add a "devinfo" example.
Signed-off-by: Roland Dreier <roland@topspin.com>
Roland Dreier [Tue, 31 May 2005 15:56:49 +0000 (15:56 +0000)]
Add generic userspace part of query GID and query P_Key verbs
Signed-off-by: Roland Dreier <roland@topspin.com>