linux/drivers/infiniband/hw/mlx5
Eli Cohen b125a54bfd IB/mlx5: Fix send work queue size calculation
1. Make sure wqe_cnt does not exceed the limit published by firmware.

2. There is no requirement that the number of outstanding work
   requests will be a power of two. Remove the ilog2 in the
   calculation of sq.max_post to fix that.

3. Add case for IB_QPT_XRC_TGT in sq_overhead and return 0 as XRC
   target QPs do not have a send queue.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2013-10-10 09:23:55 -07:00
..
ah.c
cq.c
doorbell.c
Kconfig
mad.c
main.c IB/mlx5: Fix stack info leak in mlx5_ib_alloc_ucontext() 2013-07-31 14:12:08 -07:00
Makefile
mem.c
mlx5_ib.h
mr.c mlx5: Return -EFAULT instead of -EPERM 2013-07-11 16:48:45 -07:00
qp.c IB/mlx5: Fix send work queue size calculation 2013-10-10 09:23:55 -07:00
srq.c
user.h