]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
IB/ehca: QP code restructuring in preparation for SRQ
authorJoachim Fenkes <fenkes@de.ibm.com>
Mon, 9 Jul 2007 13:23:15 +0000 (15:23 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:27 +0000 (20:12 -0700)
commit9a79fc0a1b815cbd05a8e37ea838acfccb7235cc
treeed94fc291a5017f94e2b9d57f6909a84e1eb40db
parent91f13aa3fc22e357b494c5b8270e94543870928d
IB/ehca: QP code restructuring in preparation for SRQ

- Replace init_qp_queues() by a shorter init_qp_queue(), eliminating
  duplicate code.

- hipz_h_alloc_resource_qp() doesn't need a pointer to struct ehca_qp any
  longer. All input and output data is transferred through the parms
  parameter.

- Change the interface to also support SRQ.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_classes.h
drivers/infiniband/hw/ehca/ehca_qp.c
drivers/infiniband/hw/ehca/hcp_if.c
drivers/infiniband/hw/ehca/hcp_if.h