[MTHCA] improve the time of handling events like port state change
[mirror/winof/.git] / hw / mthca / kernel / mthca_provider.h
index 2e71579..9cf5a77 100644 (file)
@@ -372,11 +372,11 @@ int mthca_modify_port(struct ib_device *ibdev,
                             u8 port, int port_modify_mask,
                             struct ib_port_modify *props);
 
-int mthca_query_pkey(struct ib_device *ibdev,
-                           u8 port, u16 index, u16 *pkey);
+int mthca_query_pkey_chunk(struct ib_device *ibdev,
+                           u8 port, u16 index, u16 pkey[32]);
 
-int mthca_query_gid(struct ib_device *ibdev, u8 port,
-                          int index, union ib_gid *gid);
+int mthca_query_gid_chunk(struct ib_device *ibdev, u8 port,
+                          int index, union ib_gid gid[8]);
 
 struct ib_ucontext *mthca_alloc_ucontext(struct ib_device *ibdev,
                                                ci_umv_buf_t* const                     p_umv_buf);