diff options
author | Eli Cohen <eli@mellanox.co.il> | 2007-05-17 10:32:41 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-05-20 10:18:04 -0700 |
commit | 2446304dd687488c054d0437f2aeef1ef2bfbd02 (patch) | |
tree | 70f999aca66563488d7b38ad226de34a071cfa90 /drivers/infiniband/hw/mlx4/srq.c | |
parent | 59b0ed121297b57abb2352bdc8313959e7cb5635 (diff) |
IB/mlx4: Pass send queue sizes from userspace to kernel
Pass the number of WQEs for the send queue and their size from userspace
to the kernel to avoid having to keep the QP size calculations in sync
between the kernel driver and libmlx4. This fixes a bug seen with the
current mlx4_ib driver and current libmlx4 caused by a difference in the
calculated sizes for SQ WQEs. Also, this gives more flexibility for
userspace to experiment with using multiple WQE BBs for a single SQ WQE.
Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/srq.c')
0 files changed, 0 insertions, 0 deletions