android_kernel_xiaomi_sm7250/drivers/infiniband
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
..
core [IB] uverbs: Close some exploitable races 2005-09-26 13:01:03 -07:00
hw/mthca [IB] mthca: Round up number of slots in HCA context memory table 2005-09-26 21:12:26 -07:00
ulp/ipoib [PATCH] IPoIB: Don't flush workqueue from within workqueue 2005-09-20 10:52:04 -07:00
Kconfig [PATCH] IB: clean up user access config options 2005-09-07 12:43:08 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00