IB/ehca: Support small QP queues
authorStefan Roscher <stefan.roscher at de.ibm.com>
Fri, 20 Jul 2007 14:04:17 +0000 (16:04 +0200)
committerRoland Dreier <rolandd@cisco.com>
Sat, 21 Jul 2007 04:19:47 +0000 (21:19 -0700)
commite2f81daf23efde23d8cac1fc253d41838f0347cf
tree310c493f007cc10625426118eaf217e50dd978f3
parent0c10f7b79b5bb07a37aa5927072abdc3f45ac8d3
IB/ehca: Support small QP queues

eHCA2 supports QP queues that can be as small as 512 bytes. This
greatly reduces memory overhead for consumers that use lots of QPs
with small queues (e.g. RDMA-only QPs). Apart from dealing with
firmware, this code needs to manage bite-sized chunks of kernel pages,
making sure that no kernel page is shared between different protection
domains.

Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
drivers/infiniband/hw/ehca/ehca_classes.h
drivers/infiniband/hw/ehca/ehca_cq.c
drivers/infiniband/hw/ehca/ehca_eq.c
drivers/infiniband/hw/ehca/ehca_main.c
drivers/infiniband/hw/ehca/ehca_pd.c
drivers/infiniband/hw/ehca/ehca_qp.c
drivers/infiniband/hw/ehca/ehca_uverbs.c
drivers/infiniband/hw/ehca/hcp_if.c
drivers/infiniband/hw/ehca/ipz_pt_fn.c
drivers/infiniband/hw/ehca/ipz_pt_fn.h