lp:mlnxofedmlx4

Created by Brian Fromme and last modified
Get this branch:
bzr branch lp:mlnxofedmlx4

Related bugs

Related blueprints

Branch information

Owner:
Mellanox OFED
Project:
MLNXOFEDmlx4
Status:
Development

Import details

Import Status: Failed

This branch is an import of the HEAD branch of the Git repository at git://git.openfabrics.org/~yishaih/libmlx4.git.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was .

Import started on alnitak and finished taking 15 seconds — see the log
Import started on izar and finished taking 15 seconds — see the log
Import started on izar and finished taking 15 seconds — see the log
Import started on alnitak and finished taking 15 seconds — see the log

Recent revisions

163. By Jason Gunthorpe <email address hidden>

Be explicit about _GNU_SOURCE

The recommended way to use this macro is at the top of the source
file, avoid globally setting it via 'gcc -D' as few source files actually
need it.

_GNU_SOURCE changes the behaviour of a few select calls away from
the C99 standard and should generally be minimized.

Signed-off-by: Jason Gunthorpe <email address hidden>
Reviewed-by: Yishai Hadas <email address hidden>

162. By Jason Gunthorpe <email address hidden>

Include pthread as part of the link

It is a mistake to not explicitly link to the libraries required.
Not linking causes the symbols to drop the symbol version which
could cause runtime problems down the road if pthread ever goes through
another symbol version change.

Note:
The AC_CHECK_LIB will cause the created Makefile to link with pthread.

Signed-off-by: Jason Gunthorpe <email address hidden>
Reviewed-by: Yishai Hadas <email address hidden>

161. By Roland Dreier

Return failure if asked to resize CQ to fewer than outstanding entries

Don't silently return 0 (success) but not resize the CQ when the number of
outstanding entries is smaller than the size requested. Instead return
EINVAL so the consumer knows the CQ wasn't resized.

This is one of the fixes in kernel commit 8ab9406a41c8 ("IB/mlx4: Bug fixes
in mlx4_ib_resize_cq") from Majd Dibbiny <email address hidden>.

Signed-off-by: Roland Dreier <email address hidden>
Reviewed-by: Yishai Hadas <email address hidden>

160. By Yishai Hadas <email address hidden>

Roll 1.2.1 release

Signed-off-by: Yishai Hadas <email address hidden>

159. By <email address hidden> <email address hidden>

Implement Send with invalidate

Send with invalidate can be used to invalidate a remote
memory window.

The invalidation is done by posting a send work request,
where the opcode is IBV_WR_SEND_WITH_INV and the immediate data
contains the R_key.

Upon success, the responder's work completion will contain the
invalidated R_key in its immediate data.

Signed-off-by: Majd Dibbiny <email address hidden>
Reviewed-by: Yishai Hadas <email address hidden>

158. By Majd Dibbiny <email address hidden>

Add Memory Windows support

Implement the following libibvebrs Memory Window verbs:
1. ibv_alloc_mw
2. ibv_dealloc_mw
3. ibv_bind_mw

Signed-off-by: Majd Dibbiny <email address hidden>
Reviewed-by: Yishai Hadas <email address hidden>

157. By Noa Osherovich <email address hidden>

Limit QP resources accepted for ibv_create_qp()

Do not accept number of WQEs or number of SGEs which exceed the
limits reported in ibv_query_device().

To accomplish this, when initializing the device context, query the
device for its limits (max_wr and max_sge) and store these values in
the context.

Signed-off-by: Noa Osherovich <email address hidden>
Reviewed-by: Yishai Hadas <email address hidden>

156. By Haggai Abramovsky <email address hidden>

Clean compilation warnings

Libmlx4 had some compilation warnings. This patch addresses them so
that compilation is now cleaner.

Signed-off-by: Haggai Abramovsky <email address hidden>
Signed-off-by: Noa Osherovich <email address hidden>
Reviewed-by: Yishai Hadas <email address hidden>

155. By Matan Barak <email address hidden>

Add MR re-registration

Add memory re-registration support.

Memory re-registration is a feature that enables one to change
the attributes of a memory region, including PD, translation
(address and length) and access flags.

Signed-off-by: Matan Barak <email address hidden>
Signed-off-by: Or Gerlitz <email address hidden>
Reviewed-by: Yishai Hadas <email address hidden>

154. By Haggai Abramovsky <email address hidden>

Update consumer index after resize CQ operation

The resize CQ operation generates a special CQE to indicate that the
resize is done. After consuming this CQE, we need to increment the
consumer index and update the doorbell record in the hardware as well.

Before this patch, we didn't update the doorbell record in the hardware,
which could resulted in CQ overrun.

Signed-off-by: Haggai Abramovsky <email address hidden>
Signed-off-by: Yishai Hadas <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.