aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ehca/hipz_hw.h
diff options
context:
space:
mode:
authorJoachim Fenkes <fenkes@de.ibm.com>2007-11-02 15:33:51 +0200
committerRoland Dreier <rolandd@cisco.com>2007-11-13 15:26:59 -0800
commit40ebb5615e2e069d3b8936b894ceff436c914003 (patch)
tree23621b411d4921b94633b59408cca64f9ab52d8c /drivers/infiniband/hw/ehca/hipz_hw.h
parentIB/ipath: Fix race with ACK retry timeout list management (diff)
downloadlinux-dev-40ebb5615e2e069d3b8936b894ceff436c914003.tar.xz
linux-dev-40ebb5615e2e069d3b8936b894ceff436c914003.zip
IB/ehca: Return physical link information in query_port()
Newer firmware versions return physical port information to the partition, so hand that information to the consumer if it's present. Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/ehca/hipz_hw.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ehca/hipz_hw.h b/drivers/infiniband/hw/ehca/hipz_hw.h
index d9739e554515..485b8400359e 100644
--- a/drivers/infiniband/hw/ehca/hipz_hw.h
+++ b/drivers/infiniband/hw/ehca/hipz_hw.h
@@ -402,7 +402,11 @@ struct hipz_query_port {
u64 max_msg_sz;
u32 max_mtu;
u32 vl_cap;
- u8 reserved2[1900];
+ u32 phys_pstate;
+ u32 phys_state;
+ u32 phys_speed;
+ u32 phys_width;
+ u8 reserved2[1884];
u64 guid_entries[255];
} __attribute__ ((packed));