linux/drivers/infiniband/hw/mlx4
Roland Dreier 1c69fc2a90 IB/mlx4: Consolidate code to get an entry from a struct mlx4_buf
We use struct mlx4_buf for kernel QP, CQ and SRQ buffers, and the code
to look up an entry is duplicated in get_cqe_from_buf() and the QP and
SRQ versions of get_wqe().  Factor this out into mlx4_buf_offset().

This will also make it easier to switch over to using vmap() for buffers.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-02-06 21:07:54 -08:00
..
ah.c IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00
cq.c IB/mlx4: Consolidate code to get an entry from a struct mlx4_buf 2008-02-06 21:07:54 -08:00
doorbell.c IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
mad.c IB/mlx4: Incorrect semicolon after if statement 2007-08-15 20:24:06 -07:00
main.c IB/mlx4: Actually print out the driver version 2008-02-04 20:20:44 -08:00
Makefile IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00
mlx4_ib.h IB/mlx4: Implement FMRs 2007-10-09 19:59:16 -07:00
mr.c IB/mlx4: Implement FMRs 2007-10-09 19:59:16 -07:00
qp.c IB/mlx4: Consolidate code to get an entry from a struct mlx4_buf 2008-02-06 21:07:54 -08:00
srq.c IB/mlx4: Consolidate code to get an entry from a struct mlx4_buf 2008-02-06 21:07:54 -08:00
user.h IB/mlx4: Handle new FW requirement for send request prefetching 2007-06-18 08:13:48 -07:00