android_kernel_xiaomi_sm7250/drivers/infiniband
Jack Morgenstein a3c8ab4fe8 IB/mthca: fix QP size limits for mem-free HCAs
Unlike tavor, the max work queue size is an exact power of 2 for arbel
mode, despite what the documentation (of the QUERY_DEV_LIM firmware
command) says.  Without this patch, on Arbel, we can start with a QP
of a valid size and get above the reported limit after rounding to the
next power of two.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2005-11-30 09:55:22 -08:00
..
core IB/uverbs: track multicast group membership for userspace QPs 2005-11-29 16:57:01 -08:00
hw/mthca IB/mthca: fix QP size limits for mem-free HCAs 2005-11-30 09:55:22 -08:00
ulp IPoIB: fix error handling in ipoib_open 2005-11-29 10:55:58 -08:00
Kconfig IB: Add SCSI RDMA Protocol (SRP) initiator 2005-11-02 14:07:13 -08:00
Makefile IB: Add SCSI RDMA Protocol (SRP) initiator 2005-11-02 14:07:13 -08:00