summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ehca/hcp_if.h
diff options
context:
space:
mode:
authorJoachim Fenkes <fenkes@de.ibm.com>2007-04-24 19:44:31 +0400
committerRoland Dreier <rolandd@cisco.com>2007-04-25 08:30:38 +0400
commitc4ed790dfd4b2182c76e0fcd79d4aa85ab02eccf (patch)
tree488e7a1b7130540536707bdef467617d14a76232 /drivers/infiniband/hw/ehca/hcp_if.h
parentbd8031b49a9b05933fb1ec1c36620ed4e1e67793 (diff)
downloadlinux-c4ed790dfd4b2182c76e0fcd79d4aa85ab02eccf.tar.xz
IB/ehca: Implement modify_port
Add "Modify Port" verb support to eHCA driver. The IB communication manager needs this to set the IsCM port capability bit when initializing. Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/hcp_if.h')
-rw-r--r--drivers/infiniband/hw/ehca/hcp_if.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ehca/hcp_if.h b/drivers/infiniband/hw/ehca/hcp_if.h
index 587ebd470959..2869f7dd6196 100644
--- a/drivers/infiniband/hw/ehca/hcp_if.h
+++ b/drivers/infiniband/hw/ehca/hcp_if.h
@@ -85,6 +85,10 @@ u64 hipz_h_query_port(const struct ipz_adapter_handle adapter_handle,
const u8 port_id,
struct hipz_query_port *query_port_response_block);
+u64 hipz_h_modify_port(const struct ipz_adapter_handle adapter_handle,
+ const u8 port_id, const u32 port_cap,
+ const u8 init_type, const int modify_mask);
+
u64 hipz_h_query_hca(const struct ipz_adapter_handle adapter_handle,
struct hipz_query_hca *query_hca_rblock);