kernel-ark/drivers/infiniband/hw/mthca
Michael S. Tsirkin f02b16bea2 [IB] mthca: Round up number of slots in HCA context memory table
When allocating a table for mem-free HCA context, don't assume that
obj_size * nobj is an even multiple of MTHCA_TABLE_CHUNK_SIZE.  In
particular, make sure we allocate at least one slot even if the table
is smaller than MTHCA_TABLE_CHUNK_SIZE.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2005-09-26 21:12:26 -07:00
..
Kconfig
Makefile
mthca_allocator.c
mthca_av.c
mthca_cmd.c [IB] mthca: Fix off by one bug in mthca_map_cmd 2005-09-26 09:42:09 -07:00
mthca_cmd.h
mthca_config_reg.h
mthca_cq.c
mthca_dev.h
mthca_doorbell.h
mthca_eq.c [IB] mthca: fix off by one in clr_int calculation 2005-09-26 09:38:34 -07:00
mthca_mad.c
mthca_main.c
mthca_mcg.c
mthca_memfree.c [IB] mthca: Round up number of slots in HCA context memory table 2005-09-26 21:12:26 -07:00
mthca_memfree.h
mthca_mr.c
mthca_pd.c
mthca_profile.c
mthca_profile.h
mthca_provider.c
mthca_provider.h
mthca_qp.c [PATCH] IB/mthca: Fix device removal memory leak 2005-09-20 10:54:48 -07:00
mthca_reset.c
mthca_srq.c [PATCH] IB/mthca: Don't try to set srq->last for userspace SRQs 2005-09-19 09:17:56 -07:00
mthca_uar.c
mthca_user.h
mthca_wqe.h