Age | Commit message (Collapse) | Author | Files | Lines |
|
Initialize the reserved attributes in modify QP command to eliminate
valgrind warnings like:
==23549== Syscall param write(buf) points to uninitialised byte(s)
==23549== at 0x316B1B933F: (within /lib64/tls/libc-2.3.4.so)
==23549== by 0x4A33AF7: ibv_cmd_modify_qp (cmd.c:782)
==23549== by 0x4F860D8: mlx4_modify_qp (verbs.c:480)
==23549== by 0x4A37A53: ibv_modify_qp@@IBVERBS_1.1 (verbs.c:441)
==23549== by 0x40972E: qp_reset_to_rtr (mr_test_fun.c:1189)
==23549== by 0x403AFC: mr_test_connect_qp (mr_test.c:232)
==23549== by 0x404956: do_test (mr_test.c:85)
==23549== by 0x402DF8: main (main.c:448)
==23549== Address 0x7FEFFF2AE is on thread 1's stack
Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
(cherry picked from commit d5052fa0bf8180be9edf1c4c1c014dde01f8a4dd)
|
|
The AC_CHECK_HEADER() test for <valgrind/memcheck.h> will never result
in HAVE_VALGRIND_MEMCHECK_H being defined, so ibverbs.h will never
include <valgrind/memcheck.h> and Valgrind annotations will never actually
get built. Fix this by adding an AC_DEFINE() of HAVE_VALGRIND_MEMCHECK_H
if the header is found.
Pointed out by Jeff Squyres <jsquyres@cisco.com>.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
(cherry picked from commit e72219d2826cc58e197c5742441440468d99897b)
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
For newly created QPs, set qp->state to IBV_QPS_RESET. At least
libmlx4 needs this fix, or else it won't correctly initialize the QP's
send queue when transitioning to INIT.
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
(cherry picked from commit 796e9fa16c4358e335e778ec790fce9012a46e08)
|
|
Add missing break statement in command line option handling switch.
Without the break statement, setting the 'm' (mtu) command line option
fell through to the next case and the same value was used for the 'q'
(num-qp) option.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
(cherry picked from commit 09335ff6377acf90d5ed1c28a6ce69d2aa620e09)
|
|
This reverts commit 5eaee85aec025be16e5aeeaac64abc6d8d9c191c.
This breaks ibv_destroy_ah() with libmthca, and isn't really appropriate
for the stable branch.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
If the ibv_cmd_* create function succeeds, then the object context
pointer must be set by that function so that the corresponding destroy
function will work. This avoids problems in the error cleanup path of
a low-level driver's create function that fails after calling an
ibv_cmd_* create function.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
(cherry picked from commit 8b3d225476c99ea29a68109a7d40e5ef353d4388)
|
|
asprintf() returns the number of bytes printed, so the way to check
for failure is to test if the return value is < 0.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
(cherry picked from commit 2d83a4b522b00ab36ada613920e9cf5594648934)
|
|
Handle asprintf() allocation failures in pingpong examples.
Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
(cherry picked from commit db39573253488a800ad3a57bf8846902c090450f)
|
|
Don't blindly copy device pointers if calloc() returns NULL.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
(cherry picked from commit 789728f7be1e6c7f22380ae739d7b692d2c08d0f)
|
|
Cherry-picked from dd3d43d89e398f23c4824d26f2698446ff2d120f.
Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Now that we're in git, there's no reason to have $Id in files.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
(cherry picked from d7f11c8805800d3644aa83d1d5f9f708bf9bf585 commit)
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Return the sq_draining value back to user space for query_qp instead
of the en_sqd_async notify value. This last is valid only for
modify_qp. For query_qp (according to the IB Spec V1.2), the draining
status should returned.
Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Fix operator precedence issues in how libibverbs-1.0 adds devices to
its list. Also change so that devices are reported in the same order
as they were in older versions.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Update i386/x86_64 versions to use "lock; addl $0"/"lfence" instead of
just a compiler barrier, to guard against out-of-order speculative
reads.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Change libibverbs/libmthca Valgrind support so that --with-valgrind
can take an installation directory to look in for Valgrind headers.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Print a warning if Valgrind annotations are requested but
<valgrind/memcheck.h> is not found.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Add basic Valgrind annotations to libibverbs and libmthca (disabled by
default, can be enabled by configuring with --with-valgrind). These
reduce false positive warnings from the Valgrind memcheck module.
Based on work and suggestions from Rainer Keller <keller@hlrs.de> and
Jeff Squyres <jsquyres@cisco.com>.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
The result of asprintf needs to be free when no longer needed.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Leonid Arsh <leonida@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
While comma at end of enumerator list is legal since 1999, some tools
(notably gcc versions pre-4.0) seem to default to 1989 mode when
running with -pedantic flag, and warn about this usage.
Since most of our enums in header files do not have comma at end, its
probably easier to fix the remaining two cases than educate all users
of libibverbs on virtues of C99.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Fix build failure with Debian sparc compiler: membar is only supported
under V9 ISA.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Reduce libibverbs dependency on libsysfs by using local functions for
internal sysfs access. libsysfs is still required because of the ABI,
which passes a struct sysfs_class_device * to low-level driver init
functions.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Deprecate various "ib_XXX" names (introduced as part of SA and
marshalling code). Preferred versions like "ibv_XXX" are now
available.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Depend on %{_includedir}/sysfs/libsysfs.h instead of sysfs-devel to be
friendlier to building on SuSE distros.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
This fixes warnings about implicit declaration of free().
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Put more detail about copyright holders and licenses in debian/copyright.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Debian packaging sets compat to 5, so packages also need to
Build-Depend on debhelper (>= 5).
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Debian packaging fixes only.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
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>
|
|
They bugged some silly people.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
Be optimistic and assume that the next release will be 1.0.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Add support for kernel ABI 5, which properly aligns struct ibv_create_qp_resp.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Essentially just adding API and support for passing the call through
to provider plug-ins.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Factor out more common pingpong code.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
- 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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Noted by Christoph Raisch.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Add common user/kernel data structures and copy routines in libibverbs.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
|
|
|
|
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Fix version in spec file changelog.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
Just to be really anal.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Pointed out by Michael S. Tsirkin.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
Fix overrun in ibv_srq_pingpong (detected by Fedora Core 4
"FORTIFY_SOURCE").
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Also finish support for modify SRQ verb.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Add dist to release and require sysfsutils-devel to for -devel package.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
Fail compilation if __BYTE_ORDER is neither __LITTLE_ENDIAN nor __BIG_ENDIAN.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
- 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>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Pete Wyckoff <pw@osc.edu>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Add libibverbs support for SRQs, including ibv_srq_pingpong example.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Fix option handling in pinpgong examples so that --rx-depth long
option actually works.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
Be consistent with uc_pingpong.c and rc_pingpong.c.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
Update userspace verbs libraries to match kernel ABI changes (required
for using "struct ib_udata *" interface).
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
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>
|
|
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
Implement query_device verb and add a "devinfo" example.
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
Some address handle attributes (notably static rate flow control) were
uninitialized. Fix this by initializing all fields to 0 using
designated initializers.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
Fix for two obvious typos in pingpong and ud-pingpong parameter parsing
(found by Grant in rdma_lat code).
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
Update error messages in libibverbs init so they're easier to
understand, as suggested by Grant Grundler.
|
|
Also add debian/ directories to build libibverbs.
|
|
|
|
Add command codes for all verbs to userspace include files. Define
parameter structures for query GID, query P_Key, attach multicast and
detach multicast commands.
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
|
|
Add support for opening kernel uverbs file, getting context and event
FDs, and reading async events.
|
|
|
|
Start filling in more of the verbs API.
Implement tracking for possibly overlapping locked memory ranges.
|
|
|
|
Fix Makefile.am to build the right executable.
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
Rename ib_drivers example program to ib_devices, which is a much more
sensible name.
Signed-off-by: Roland Dreier <roland@topspin.com>
|
|
Signed-off-by: Roland Dreier <roland@topspin.com>
|