• Eli Cohen's avatar
    IB/mlx4: Pass send queue sizes from userspace to kernel · 2446304d
    Eli Cohen authored
    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: default avatarEli Cohen <eli@mellanox.co.il>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    2446304d
user.h 2.53 KB