]> git.openfabrics.org - ~shefty/libmlx4.git/log
~shefty/libmlx4.git
17 years agoDon't set last byte of GID for non-global address vectors
Roland Dreier [Tue, 10 Apr 2007 17:33:48 +0000 (10:33 -0700)]
Don't set last byte of GID for non-global address vectors

Previous generation HCAs needed the last byte of the GID set to 2 for
non-global address vectors, but ConnectX just ignores the remote GID
field for non-global AVs, so remove the unnecessary code that sets it.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
17 years agoRemove unused source file ah.c
Roland Dreier [Tue, 10 Apr 2007 17:31:03 +0000 (10:31 -0700)]
Remove unused source file ah.c

Signed-off-by: Roland Dreier <rolandd@cisco.com>
17 years agoImplement handling for completions with error
Roland Dreier [Tue, 10 Apr 2007 03:36:47 +0000 (20:36 -0700)]
Implement handling for completions with error

Convert status from HCA's hardware values to libibverbs enum for
completions with error in mlx4_handle_error_cqe().  Also, there's no
way mlx4_handle_error_cqe() can fail, so there's no reason for it to
return a value.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
17 years agoSimplify completion with error handling
Roland Dreier [Tue, 10 Apr 2007 03:20:44 +0000 (20:20 -0700)]
Simplify completion with error handling

The out-of-line function to handle error CQEs doesn't need as many
parameters as the libmthca version did, so get rid of everything
except the CQE pointer and the WC pointer.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
17 years agoInitial import of libmlx4 repository
Roland Dreier [Mon, 9 Apr 2007 07:49:42 +0000 (00:49 -0700)]
Initial import of libmlx4 repository

Signed-off-by: Roland Dreier <rolandd@cisco.com>