linux_dsm_epyc7002/drivers/infiniband/hw
Roland Dreier cd155c1c7c IB/mlx4: Fix creation of kernel QP with max number of send s/g entries
When creating a kernel QP where the consumer asked for a send queue
with lots of scatter/gater entries, set_kernel_sq_size() incorrectly
returned an error if the send queue stride is larger than the
hardware's maximum send work request descriptor size.  This is not a
problem; the only issue is to make sure that the actual descriptors
used do not overflow the maximum descriptor size, so check this instead.

Clamp the returned max_send_sge value to be no bigger than what
query_device returns for the max_sge to avoid confusing hapless users,
even if the hardware is capable of handling a few more s/g entries.

This bug caused NFS/RDMA mounts to fail when the server adapter used
the mlx4 driver.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-05-20 14:00:02 -07:00
..
amso1100 IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
cxgb3 RDMA/cxgb3: Fix uninitialized variable warning in iwch_post_send() 2008-05-16 14:58:40 -07:00
ehca IB/ehca: Wait for async events to finish before destroying QP 2008-05-07 11:35:06 -07:00
ipath IB/ipath: Fix UC receive completion opcode for RDMA WRITE with immediate 2008-05-15 16:37:25 -07:00
mlx4 IB/mlx4: Fix creation of kernel QP with max number of send s/g entries 2008-05-20 14:00:02 -07:00
mthca IB/mthca: Fix max_sge value returned by query_device 2008-05-16 14:58:44 -07:00
nes RDMA/nes: Fix up nes_lro_max_aggr module parameter 2008-05-13 11:27:25 -07:00