kernel-ark/drivers/infiniband/hw/mthca
Roland Dreier d20a401928 [PATCH] IB/mthca: Handle context tables smaller than our chunk size
When creating a table in context memory where the table is smaller
than our chunk size, we don't want to allocate and map a full chunk.
Instead, allocate just enough memory to cover the table.

This can be pretty simple because all tables are a power-of-2 size, so
either the table is a multiple of the chunk size, or it's smaller than
one chunk.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2005-08-26 20:37:37 -07:00
..
Kconfig
Makefile
mthca_allocator.c [PATCH] IB/mthca: Factor out common queue alloc code 2005-08-26 20:37:37 -07:00
mthca_av.c
mthca_cmd.c [PATCH] IB/mthca: Use correct port width capability value 2005-08-26 20:37:36 -07:00
mthca_cmd.h [PATCH] IB/mthca: Use correct port width capability value 2005-08-26 20:37:36 -07:00
mthca_config_reg.h
mthca_cq.c [PATCH] IB/mthca: Simplify handling of completions with error 2005-08-26 20:37:37 -07:00
mthca_dev.h [PATCH] IB/mthca: Factor out common queue alloc code 2005-08-26 20:37:37 -07:00
mthca_doorbell.h
mthca_eq.c
mthca_mad.c
mthca_main.c [PATCH] IB/mthca: Use correct port width capability value 2005-08-26 20:37:36 -07:00
mthca_mcg.c
mthca_memfree.c [PATCH] IB/mthca: Handle context tables smaller than our chunk size 2005-08-26 20:37:37 -07:00
mthca_memfree.h
mthca_mr.c [PATCH] IB/mthca: use generic function instead of arbel_ version in mthca_free_region() 2005-08-26 20:37:36 -07:00
mthca_pd.c
mthca_profile.c
mthca_profile.h
mthca_provider.c [PATCH] IB/mthca: Report correct max_msg_sz 2005-08-26 20:37:36 -07:00
mthca_provider.h [PATCH] IB/mthca: Factor out common queue alloc code 2005-08-26 20:37:37 -07:00
mthca_qp.c [PATCH] IB/mthca: Move WQE structures into their own header 2005-08-26 20:37:37 -07:00
mthca_reset.c
mthca_uar.c
mthca_user.h
mthca_wqe.h [PATCH] IB/mthca: Move WQE structures into their own header 2005-08-26 20:37:37 -07:00