summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/ib/ibtl/ibci.h
diff options
context:
space:
mode:
authorBill Taylor <Bill.Taylor@Sun.COM>2010-03-22 13:54:46 -0700
committerBill Taylor <Bill.Taylor@Sun.COM>2010-03-22 13:54:46 -0700
commitc7facc54c4abed9e554ff80225311e6b7048d3c9 (patch)
treec846e4ebb88c5255b23292f5f61bb21b6a8345c8 /usr/src/uts/common/sys/ib/ibtl/ibci.h
parentb6611e3b41e720b79f165a90cc0ffa574819d2e8 (diff)
downloadillumos-gate-c7facc54c4abed9e554ff80225311e6b7048d3c9.tar.gz
6932984 IBTF and HCA drivers need to more completely support FMR and ibt_map_mem_area()
Diffstat (limited to 'usr/src/uts/common/sys/ib/ibtl/ibci.h')
-rw-r--r--usr/src/uts/common/sys/ib/ibtl/ibci.h24
1 files changed, 3 insertions, 21 deletions
diff --git a/usr/src/uts/common/sys/ib/ibtl/ibci.h b/usr/src/uts/common/sys/ib/ibtl/ibci.h
index 636773f989..63c77fae25 100644
--- a/usr/src/uts/common/sys/ib/ibtl/ibci.h
+++ b/usr/src/uts/common/sys/ib/ibtl/ibci.h
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -136,23 +136,6 @@ typedef struct ibtl_hca_devinfo_s *ibc_clnt_hdl_t; /* ibc_attach() */
/*
- * ibt_hca_attr_t
- */
-#define hca_max_rdd hca_opaque2 /* Max RDDs in HCA */
-#define hca_max_eec hca_opaque3 /* Max EEContexts in HCA */
-#define hca_max_rd_sgl hca_opaque4 /* Max SGL entries per RD WR */
-#define hca_max_rdma_in_ee hca_opaque5 /* Max RDMA Reads/Atomics in */
- /* per EEC with HCA as target */
-#define hca_max_rdma_out_ee hca_opaque6 /* Max RDMA Reads/Atomics out */
- /* per EE by this HCA */
-#define hca_max_ipv6_qp hca_max_ipv6_chan
-#define hca_max_ether_qp hca_max_ether_chan
-#define hca_eec_max_ci_priv_sz hca_opaque7
-#define hca_rdd_max_ci_priv_sz hca_opaque8
-#define hca_max_map_per_fmr hca_opaque9
-
-
-/*
* ibt_wc_t
*/
#define wc_eecn wc_detail /* End-to-End Context RD's only */
@@ -371,9 +354,8 @@ typedef struct ibc_operations_s {
/* Address translation */
ibt_status_t (*ibc_map_mem_area)(ibc_hca_hdl_t hca_hdl,
ibt_va_attr_t *va_attrs, void *ibtl_reserved,
- uint_t paddr_list_len, ibt_phys_buf_t *paddr_list_p,
- uint_t *num_paddr_p, size_t *paddr_bufsz_p,
- ib_memlen_t *paddr_offset_p, ibc_ma_hdl_t *ma_hdl_p);
+ uint_t paddr_list_len, ibt_reg_req_t *reg_req,
+ ibc_ma_hdl_t *ma_hdl_p);
ibt_status_t (*ibc_unmap_mem_area)(ibc_hca_hdl_t hca_hdl,
ibc_ma_hdl_t ma_hdl);
ibt_status_t (*ibc_map_mem_iov)(ibc_hca_hdl_t hca_hdl,