1
0
Fork 0
alistair23-linux/drivers/infiniband/hw/mthca
Jack Morgenstein a07bacca7b IB/mthca: Fix check of size in SRQ creation
The previous patch for Tavor broke MemFree logic.

The driver should perform limit check only for Tavor.  For MemFree,
the check is incorrect, since ds (WQE stride) is always a power-of-2
(although the max_desc_size may not be).

In Tavor, however, WQE stride and desc_size are the same, and are not
necessarily power-of-2.  The check was really for the WQE stride (and
it Tavor, we use max_desc_size for the stride).

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-03-29 09:36:46 -08:00
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [IB] mthca: first pass at catastrophic error reporting 2005-10-27 11:03:38 -07:00
mthca_allocator.c [PATCH] IB/mthca: Factor out common queue alloc code 2005-08-26 20:37:37 -07:00
mthca_av.c IB/mthca: Implement query_ah method 2006-03-20 10:08:17 -08:00
mthca_catas.c Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2005-11-10 13:27:06 -08:00
mthca_cmd.c IB/mthca: Optimize large messages on Sinai HCAs 2006-03-20 10:08:22 -08:00
mthca_cmd.h IB/mthca: Support for query QP and SRQ 2006-03-20 10:08:15 -08:00
mthca_config_reg.h [PATCH] IB: Add copyright notices 2005-08-26 20:37:35 -07:00
mthca_cq.c IB/mthca: Add device-specific support for resizing CQs 2006-03-20 10:08:08 -08:00
mthca_dev.h IB/mthca: Optimize large messages on Sinai HCAs 2006-03-20 10:08:22 -08:00
mthca_doorbell.h [PATCH] IB: sparse endianness cleanup 2005-08-26 20:37:35 -07:00
mthca_eq.c IB/mthca: Coverity fix to mthca_init_eq_table() 2006-03-20 10:08:25 -08:00
mthca_mad.c IB/mthca: Add modify_device method to set node description 2006-03-20 10:08:10 -08:00
mthca_main.c IB/mthca: Update firmware versions 2006-03-20 10:08:22 -08:00
mthca_mcg.c IB/mthca: Whitespace cleanups 2006-03-20 10:08:09 -08:00
mthca_memfree.c IB/mthca: Use an enum for HCA page size 2006-03-20 10:08:19 -08:00
mthca_memfree.h IB/mthca: Use an enum for HCA page size 2006-03-20 10:08:19 -08:00
mthca_mr.c IB/mthca: Optimize large messages on Sinai HCAs 2006-03-20 10:08:22 -08:00
mthca_pd.c IB/mthca: Get rid of might_sleep() annotations 2006-03-20 10:08:07 -08:00
mthca_profile.c IB/mthca: Optimize large messages on Sinai HCAs 2006-03-20 10:08:22 -08:00
mthca_profile.h [PATCH] IB/mthca: Add SRQ implementation 2005-08-26 20:37:37 -07:00
mthca_provider.c IB/mthca: Implement query_ah method 2006-03-20 10:08:17 -08:00
mthca_provider.h IB/mthca: Add device-specific support for resizing CQs 2006-03-20 10:08:08 -08:00
mthca_qp.c IB/mthca: Fix modify QP error path 2006-03-24 15:47:30 -08:00
mthca_reset.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
mthca_srq.c IB/mthca: Fix check of size in SRQ creation 2006-03-29 09:36:46 -08:00
mthca_uar.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
mthca_user.h IB/mthca: Add device-specific support for resizing CQs 2006-03-20 10:08:08 -08:00
mthca_wqe.h IB/mthca: fix posting of send lists of length >= 255 on mem-free HCAs 2005-11-29 11:33:46 -08:00