7fca319231ae4b5 parent 2771e9ed4702e46c3f4c305eb2e047c251c2ad2b author Jack Morgenstein 1164525019 +0200 committer Roland Dreier 1164843188 -0800 IB/mthca: Fix initial SRQ logsize for mem-free HCAs When initializing an mthca SRQ, the log_srq_size field should be the log of the number of SRQ WQEs, not the log of the number of bytes in the SRQ. This affects only mthca drivers for memfree HCAs which set the initial srq wqe counter (in the SW2HW transition) to a non-zero value. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier *“Þ‘1x