diff options
author | Joachim Fenkes <fenkes@de.ibm.com> | 2007-04-24 17:44:31 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-04-24 21:30:38 -0700 |
commit | c4ed790dfd4b2182c76e0fcd79d4aa85ab02eccf (patch) | |
tree | 488e7a1b7130540536707bdef467617d14a76232 /drivers/infiniband/hw/ehca/hcp_if.h | |
parent | bd8031b49a9b05933fb1ec1c36620ed4e1e67793 (diff) |
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.h | 4 |
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 587ebd47095..2869f7dd619 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); |