70f999aca66563488d7b38ad226de34a071cfa90 parent 59b0ed121297b57abb2352bdc8313959e7cb5635 author Eli Cohen 1179387161 +0300 committer Roland Dreier 1179681484 -0700 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 Signed-off-by: Roland Dreier