summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ehca/ehca_classes.h
diff options
context:
space:
mode:
authorHoang-Nam Nguyen <hnguyen@de.ibm.com>2008-01-25 21:18:27 +0100
committerRoland Dreier <rolandd@cisco.com>2008-02-04 20:20:42 -0800
commit2b5e6b120e58d44cace68e6c7204b541a8b0b43f (patch)
treefa2cb052b146b22ec285928a000f133da3e7d73c /drivers/infiniband/hw/ehca/ehca_classes.h
parent528b03f73247c30750b740dcad16ad1914e56e89 (diff)
downloadlinux-2b5e6b120e58d44cace68e6c7204b541a8b0b43f.tar.gz
linux-2b5e6b120e58d44cace68e6c7204b541a8b0b43f.tar.bz2
linux-2b5e6b120e58d44cace68e6c7204b541a8b0b43f.zip
IB/ehca: Add PMA support
This patch enables ehca to redirect any PMA queries to the actual PMA QP. Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com> Reviewed-by: Joachim Fenkes <fenkes@de.ibm.com> Reviewed-by: Christoph Raisch <raisch@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_classes.h')
-rw-r--r--drivers/infiniband/hw/ehca/ehca_classes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_classes.h b/drivers/infiniband/hw/ehca/ehca_classes.h
index f281d16040f5..92cce8aacbb7 100644
--- a/drivers/infiniband/hw/ehca/ehca_classes.h
+++ b/drivers/infiniband/hw/ehca/ehca_classes.h
@@ -101,6 +101,7 @@ struct ehca_sport {
spinlock_t mod_sqp_lock;
enum ib_port_state port_state;
struct ehca_sma_attr saved_attr;
+ u32 pma_qp_nr;
};
#define HCA_CAP_MR_PGSIZE_4K 0x80000000