summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/io')
-rw-r--r--usr/src/uts/common/io/ib/clients/ibd/ibd.c4
-rw-r--r--usr/src/uts/common/io/ib/clients/rds/rdsib_ib.c4
-rw-r--r--usr/src/uts/common/io/ib/ibtl/ibtl_cq.c24
-rw-r--r--usr/src/uts/common/io/ib/ibtl/ibtl_handlers.c8
-rw-r--r--usr/src/uts/common/io/ib/ibtl/ibtl_impl.c6
-rw-r--r--usr/src/uts/common/io/ib/ibtl/ibtl_mem.c129
-rw-r--r--usr/src/uts/common/io/ib/mgt/ibcm/ibcm_arp.c1
-rw-r--r--usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c4
-rw-r--r--usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c4
-rw-r--r--usr/src/uts/common/io/ib/mgt/ibmf/ibmf_impl.c11
-rw-r--r--usr/src/uts/common/io/warlock/hermon.wlcmd11
-rw-r--r--usr/src/uts/common/io/warlock/ibtl.wlcmd13
-rw-r--r--usr/src/uts/common/io/warlock/tavor.wlcmd9
13 files changed, 188 insertions, 40 deletions
diff --git a/usr/src/uts/common/io/ib/clients/ibd/ibd.c b/usr/src/uts/common/io/ib/clients/ibd/ibd.c
index b41a46cf19..fe904905af 100644
--- a/usr/src/uts/common/io/ib/clients/ibd/ibd.c
+++ b/usr/src/uts/common/io/ib/clients/ibd/ibd.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -268,7 +268,7 @@ static struct modlinkage ibd_modlinkage = {
* data).
*/
static struct ibt_clnt_modinfo_s ibd_clnt_modinfo = {
- IBTI_V2,
+ IBTI_V_CURR,
IBT_NETWORK,
ibd_async_handler,
NULL,
diff --git a/usr/src/uts/common/io/ib/clients/rds/rdsib_ib.c b/usr/src/uts/common/io/ib/clients/rds/rdsib_ib.c
index 380ad1af17..651836bf77 100644
--- a/usr/src/uts/common/io/ib/clients/rds/rdsib_ib.c
+++ b/usr/src/uts/common/io/ib/clients/rds/rdsib_ib.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
@@ -85,7 +85,7 @@ static void rds_async_handler(void *clntp, ibt_hca_hdl_t hdl,
ibt_async_code_t code, ibt_async_event_t *event);
static struct ibt_clnt_modinfo_s rds_ib_modinfo = {
- IBTI_V2,
+ IBTI_V_CURR,
IBT_NETWORK,
rds_async_handler,
NULL,
diff --git a/usr/src/uts/common/io/ib/ibtl/ibtl_cq.c b/usr/src/uts/common/io/ib/ibtl/ibtl_cq.c
index 36b3dbb0c6..6a8142d328 100644
--- a/usr/src/uts/common/io/ib/ibtl/ibtl_cq.c
+++ b/usr/src/uts/common/io/ib/ibtl/ibtl_cq.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,9 @@
* CDDL HEADER END
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
#include <sys/ib/ibtl/impl/ibtl.h>
@@ -204,12 +202,13 @@ ibt_free_cq(ibt_cq_hdl_t ibt_cq)
* ibt_query_cq() - Returns the size of the cq
*/
ibt_status_t
-ibt_query_cq(ibt_cq_hdl_t ibt_cq, uint32_t *entries_p)
+ibt_query_cq(ibt_cq_hdl_t ibt_cq, uint32_t *entries_p, uint_t *count_p,
+ uint_t *usec_p, ibt_cq_handler_id_t *hid_p)
{
IBTF_DPRINTF_L3(ibtf_cq, "ibt_query_cq(%p)", ibt_cq);
return (IBTL_CQ2CIHCAOPS_P(ibt_cq)->ibc_query_cq(IBTL_CQ2CIHCA(ibt_cq),
- ibt_cq->cq_ibc_cq_hdl, entries_p));
+ ibt_cq->cq_ibc_cq_hdl, entries_p, count_p, usec_p, hid_p));
}
@@ -225,6 +224,17 @@ ibt_resize_cq(ibt_cq_hdl_t ibt_cq, uint32_t new_sz, uint32_t *real_sz)
ibt_cq->cq_ibc_cq_hdl, new_sz, real_sz));
}
+ibt_status_t
+ibt_modify_cq(ibt_cq_hdl_t ibt_cq, uint_t count, uint_t usec,
+ ibt_cq_handler_id_t hid)
+{
+ IBTF_DPRINTF_L3(ibtf_cq, "ibt_modify_cq(%p, %d, %d, %d)", ibt_cq, count,
+ usec, hid);
+
+ return (IBTL_CQ2CIHCAOPS_P(ibt_cq)->ibc_modify_cq(IBTL_CQ2CIHCA(ibt_cq),
+ ibt_cq->cq_ibc_cq_hdl, count, usec, hid));
+}
+
/*
* ibt_poll_cq()
diff --git a/usr/src/uts/common/io/ib/ibtl/ibtl_handlers.c b/usr/src/uts/common/io/ib/ibtl/ibtl_handlers.c
index 130a0012a3..1592d06e01 100644
--- a/usr/src/uts/common/io/ib/ibtl/ibtl_handlers.c
+++ b/usr/src/uts/common/io/ib/ibtl/ibtl_handlers.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -1092,7 +1092,7 @@ ibtl_cq_handler_call(ibtl_cq_t *ibtl_cq)
IBTF_DPRINTF_L4(ibtf_handlers, "ibtl_cq_handler_call(%p)", ibtl_cq);
- mutex_enter(&ibtl_cq->cq_mutex);
+ _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*ibtl_cq))
cq_handler = ibtl_cq->cq_comp_handler;
arg = ibtl_cq->cq_arg;
if (cq_handler != NULL)
@@ -1100,7 +1100,6 @@ ibtl_cq_handler_call(ibtl_cq_t *ibtl_cq)
else
IBTF_DPRINTF_L2(ibtf_handlers, "ibtl_cq_handler_call: "
"no cq_handler for cq %p", ibtl_cq);
- mutex_exit(&ibtl_cq->cq_mutex);
}
/*
@@ -1280,10 +1279,9 @@ ibt_set_cq_handler(ibt_cq_hdl_t ibtl_cq, ibt_cq_handler_t completion_handler,
IBTF_DPRINTF_L3(ibtf_handlers, "ibt_set_cq_handler(%p, %p, %p)",
ibtl_cq, completion_handler, arg);
- mutex_enter(&ibtl_cq->cq_mutex);
+ _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*ibtl_cq))
ibtl_cq->cq_comp_handler = completion_handler;
ibtl_cq->cq_arg = arg;
- mutex_exit(&ibtl_cq->cq_mutex);
}
diff --git a/usr/src/uts/common/io/ib/ibtl/ibtl_impl.c b/usr/src/uts/common/io/ib/ibtl/ibtl_impl.c
index 5542ac9f71..9d3a8fea42 100644
--- a/usr/src/uts/common/io/ib/ibtl/ibtl_impl.c
+++ b/usr/src/uts/common/io/ib/ibtl/ibtl_impl.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -232,7 +232,7 @@ ibt_attach(ibt_clnt_modinfo_t *mod_infop, dev_info_t *arg, void *clnt_private,
/*
* Validate the Transport API version.
*/
- if (mod_infop->mi_ibt_version != IBTI_V2) {
+ if (mod_infop->mi_ibt_version != IBTI_V_CURR) {
IBTF_DPRINTF_L1(ibtf, "ibt_attach: IB client '%s' has an "
"invalid IB TI Version '%d'", mod_infop->mi_clnt_name,
mod_infop->mi_ibt_version);
@@ -522,7 +522,7 @@ ibc_attach(ibc_clnt_hdl_t *ibc_hdl_p, ibc_hca_info_t *info_p)
IBTF_DPRINTF_L2(ibtf, "ibc_attach(%p, %p)", ibc_hdl_p, info_p);
/* Validate the Transport API version */
- if (info_p->hca_ci_vers != IBCI_V2) {
+ if (info_p->hca_ci_vers != IBCI_V3) {
IBTF_DPRINTF_L1(ibtf, "ibc_attach: Invalid IB CI Version '%d'",
info_p->hca_ci_vers);
return (IBC_FAILURE);
diff --git a/usr/src/uts/common/io/ib/ibtl/ibtl_mem.c b/usr/src/uts/common/io/ib/ibtl/ibtl_mem.c
index 7ce4a1fdde..c8e4559e5b 100644
--- a/usr/src/uts/common/io/ib/ibtl/ibtl_mem.c
+++ b/usr/src/uts/common/io/ib/ibtl/ibtl_mem.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,10 @@
* CDDL HEADER END
*/
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
#include <sys/ib/ibtl/impl/ibtl.h>
@@ -571,6 +569,127 @@ ibt_unmap_mem_area(ibt_hca_hdl_t hca_hdl, ibt_ma_hdl_t ma_hdl)
return (status);
}
+/*
+ * Function:
+ * ibt_map_mem_iov()
+ * Input:
+ * hca_hdl HCA Handle
+ * iov_attr A pointer to an ibt_iov_attr_t that describes the
+ * virtual ranges to be translated.
+ * Output:
+ * wr A pointer to the work request where the output
+ * sgl (reserved_lkey, size, paddr) will be written.
+ * mi_hdl_p Memory IOV Handle.
+ * Returns:
+ * IBT_SUCCESS
+ * Description:
+ * Translate an array of virtual address ranges into HCA physical
+ * addresses, sizes, and reserved_lkey.
+ */
+ibt_status_t
+ibt_map_mem_iov(ibt_hca_hdl_t hca_hdl, ibt_iov_attr_t *iov_attr,
+ ibt_all_wr_t *wr, ibt_mi_hdl_t *mi_hdl_p)
+{
+ ibt_status_t status;
+
+ IBTF_DPRINTF_L3(ibtl_mem, "ibt_map_mem_iov(%p, %p, %p)",
+ hca_hdl, iov_attr, wr);
+
+ status = IBTL_HCA2CIHCAOPS_P(hca_hdl)->ibc_map_mem_iov(
+ IBTL_HCA2CIHCA(hca_hdl), iov_attr, wr, mi_hdl_p);
+ if (status == IBT_SUCCESS) {
+ mutex_enter(&hca_hdl->ha_mutex);
+ hca_hdl->ha_ma_cnt++;
+ mutex_exit(&hca_hdl->ha_mutex);
+ }
+
+ return (status);
+}
+
+
+/*
+ * Function:
+ * ibt_unmap_mem_iov()
+ * Input:
+ * hca_hdl HCA Handle
+ * mi_hdl Memory IOV Handle.
+ * Output:
+ * None.
+ * Returns:
+ * IBT_SUCCESS
+ * Description:
+ * Un pin physical pages pinned during an ibt_map_mem_iov() call.
+ */
+ibt_status_t
+ibt_unmap_mem_iov(ibt_hca_hdl_t hca_hdl, ibt_mi_hdl_t mi_hdl)
+{
+ ibt_status_t status;
+
+ IBTF_DPRINTF_L3(ibtl_mem, "ibt_unmap_mem_iov(%p, %p)",
+ hca_hdl, mi_hdl);
+
+ status = (IBTL_HCA2CIHCAOPS_P(hca_hdl)->ibc_unmap_mem_iov(
+ IBTL_HCA2CIHCA(hca_hdl), mi_hdl));
+ if (status == IBT_SUCCESS) {
+ mutex_enter(&hca_hdl->ha_mutex);
+ hca_hdl->ha_ma_cnt--;
+ mutex_exit(&hca_hdl->ha_mutex);
+ }
+
+ return (status);
+}
+
+/*
+ * Function:
+ * ibt_alloc_io_mem()
+ * Input:
+ * hca_hdl HCA Handle
+ * size Number of bytes to allocate
+ * mr_flag Possible values: IBT_MR_SLEEP, IBT_MR_NONCOHERENT
+ * Output:
+ * kaddrp Contains pointer to the virtual address of the
+ * memory allocated by this call. (Set to NULL if
+ * memory allocation fails).
+ * mem_alloc_hdl Memory access handle returned by ibt_mem_alloc()
+ *
+ * Returns:
+ * IBT_SUCCESS
+ * IBT_INSUFF_RESOURCE
+ * IBT_HCA_HDL_INVALID
+ * IBT_MR_ACCESS_REQ_INVALID
+ * IBT_INVALID_PARAM
+ * Description:
+ * Wrapper for ddi_dma_mem_alloc()
+ */
+ibt_status_t
+ibt_alloc_io_mem(ibt_hca_hdl_t hca_hdl, size_t size, ibt_mr_flags_t mr_flag,
+ caddr_t *kaddrp, ibt_mem_alloc_hdl_t *mem_alloc_hdl)
+{
+ return (IBTL_HCA2CIHCAOPS_P(hca_hdl)->ibc_alloc_io_mem(
+ IBTL_HCA2CIHCA(hca_hdl), size, mr_flag, kaddrp,
+ (ibc_mem_alloc_hdl_t *)mem_alloc_hdl));
+}
+
+/*
+ * Function:
+ * ibt_free_io_mem()
+ * Input:
+ * hca_hdl HCA Handle
+ * mem_alloc_hdl Memory access handle returned by ibt_mem_alloc()
+ * Output:
+ * None
+ *
+ * Returns:
+ * IBT_SUCCESS
+ * Description:
+ * Wrapper for ddi_dma_mem_free()
+ */
+ibt_status_t
+ibt_free_io_mem(ibt_hca_hdl_t hca_hdl, ibt_mem_alloc_hdl_t mem_alloc_hdl)
+{
+ return (IBTL_HCA2CIHCAOPS_P(hca_hdl)->ibc_free_io_mem(
+ IBTL_HCA2CIHCA(hca_hdl), (ibc_mem_alloc_hdl_t)mem_alloc_hdl));
+}
/*
* Function:
diff --git a/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_arp.c b/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_arp.c
index dd7c9554a5..f846923a96 100644
--- a/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_arp.c
+++ b/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_arp.c
@@ -582,6 +582,7 @@ ibcm_do_lifconf(struct lifconf *lifcp, uint_t *bufsizep)
lifn.lifn_count += 4;
bzero(lifcp, sizeof (struct lifconf));
+ _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*lifcp))
lifcp->lifc_family = AF_UNSPEC;
lifcp->lifc_len = *bufsizep = lifn.lifn_count * sizeof (struct lifreq);
lifcp->lifc_buf = kmem_zalloc(*bufsizep, KM_SLEEP);
diff --git a/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c b/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
index 3cdc87d634..512faaa38a 100644
--- a/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
+++ b/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -226,7 +226,7 @@ struct ibcm_close_s {
} ibcm_close;
static ibt_clnt_modinfo_t ibcm_ibt_modinfo = { /* Client's modinfop */
- IBTI_V2,
+ IBTI_V_CURR,
IBT_CM,
ibcm_async_handler,
NULL,
diff --git a/usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c b/usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
index 12da927fff..c39a0e794f 100644
--- a/usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
+++ b/usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -171,7 +171,7 @@ struct modlinkage ibdm_modlinkage = {
};
static ibt_clnt_modinfo_t ibdm_ibt_modinfo = {
- IBTI_V2,
+ IBTI_V_CURR,
IBT_DM,
ibdm_event_hdlr,
NULL,
diff --git a/usr/src/uts/common/io/ib/mgt/ibmf/ibmf_impl.c b/usr/src/uts/common/io/ib/mgt/ibmf/ibmf_impl.c
index 0290a4b2fe..afa5adb6c1 100644
--- a/usr/src/uts/common/io/ib/mgt/ibmf/ibmf_impl.c
+++ b/usr/src/uts/common/io/ib/mgt/ibmf/ibmf_impl.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
* CDDL HEADER END
*/
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* This file implements the client interfaces of the IBMF.
*/
@@ -168,7 +165,7 @@ ibmf_init(void)
IBMF_TNF_TRACE, "", "ibmf_init() enter\n");
/* setup the IBT module information */
- ibmf_statep->ibmf_ibt_modinfo.mi_ibt_version = IBTI_V2;
+ ibmf_statep->ibmf_ibt_modinfo.mi_ibt_version = IBTI_V_CURR;
ibmf_statep->ibmf_ibt_modinfo.mi_clnt_class = IBT_IBMA;
ibmf_statep->ibmf_ibt_modinfo.mi_async_handler
= ibmf_ibt_async_handler;
diff --git a/usr/src/uts/common/io/warlock/hermon.wlcmd b/usr/src/uts/common/io/warlock/hermon.wlcmd
index f3ef62b246..ad23dc0a2a 100644
--- a/usr/src/uts/common/io/warlock/hermon.wlcmd
+++ b/usr/src/uts/common/io/warlock/hermon.wlcmd
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
@@ -39,6 +39,7 @@ root hermon_ci_query_ah
root hermon_ci_modify_ah
root hermon_ci_alloc_qp
root hermon_ci_alloc_special_qp
+root hermon_ci_alloc_qp_range
root hermon_ci_free_qp
root hermon_ci_release_qpn
root hermon_ci_query_qp
@@ -47,6 +48,7 @@ root hermon_ci_alloc_cq
root hermon_ci_free_cq
root hermon_ci_query_cq
root hermon_ci_resize_cq
+root hermon_ci_modify_cq
root hermon_ci_alloc_cq_sched
root hermon_ci_free_cq_sched
root hermon_ci_alloc_eec
@@ -79,6 +81,8 @@ root hermon_ci_modify_srq
root hermon_ci_post_srq
root hermon_ci_map_mem_area
root hermon_ci_unmap_mem_area
+root hermon_ci_map_mem_iov
+root hermon_ci_unmap_mem_iov
root hermon_ci_alloc_lkey
root hermon_ci_register_physical_mr
root hermon_ci_reregister_physical_mr
@@ -87,6 +91,8 @@ root hermon_ci_destroy_fmr_pool
root hermon_ci_flush_fmr_pool
root hermon_ci_register_physical_fmr
root hermon_ci_deregister_fmr
+root hermon_ci_alloc_io_mem
+root hermon_ci_free_io_mem
### Hermon Firmware commands (currently unused)
root hermon_sync_tpt_cmd_post
@@ -159,6 +165,9 @@ root hermon_fmr_avl_compare
root hermon_fmr_processing
add hermon_sw_fmr_s::fmr_flush_function targets warlock_dummy
+### Hermon FMR processing
+root hermon_inter_err_chk
+
add bus_ops::bus_add_eventcall targets warlock_dummy
add bus_ops::bus_get_eventcookie targets warlock_dummy
add bus_ops::bus_post_event targets warlock_dummy
diff --git a/usr/src/uts/common/io/warlock/ibtl.wlcmd b/usr/src/uts/common/io/warlock/ibtl.wlcmd
index 579c3ca4ab..39380b532e 100644
--- a/usr/src/uts/common/io/warlock/ibtl.wlcmd
+++ b/usr/src/uts/common/io/warlock/ibtl.wlcmd
@@ -18,10 +18,9 @@
#
# CDDL HEADER END
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
# IBTF TI and VTI api entry points
root ibt_attach
@@ -84,6 +83,7 @@ root ibt_alloc_cq
root ibt_free_cq
root ibt_query_cq
root ibt_resize_cq
+root ibt_modify_cq
root ibt_poll_cq
root ibt_set_cq_private
root ibt_get_cq_private
@@ -148,6 +148,10 @@ root ibt_post_srq
root ibt_query_srq
root ibt_get_srq_private
root ibt_set_srq_private
+root ibt_alloc_io_mem
+root ibt_free_io_mem
+root ibt_map_mem_iov
+root ibt_unmap_mem_iov
# IBTF CI api entry points
root ibc_init
@@ -245,6 +249,7 @@ add ibc_operations_s::ibc_free_mw targets warlock_dummy
add ibc_operations_s::ibc_free_pd targets warlock_dummy
add ibc_operations_s::ibc_free_qp targets warlock_dummy
add ibc_operations_s::ibc_modify_ah targets warlock_dummy
+add ibc_operations_s::ibc_modify_cq targets warlock_dummy
add ibc_operations_s::ibc_modify_ports targets warlock_dummy
add ibc_operations_s::ibc_modify_qp targets warlock_dummy
add ibc_operations_s::ibc_modify_system_image targets warlock_dummy
@@ -281,6 +286,10 @@ add ibc_operations_s::ibc_destroy_fmr_pool targets warlock_dummy
add ibc_operations_s::ibc_flush_fmr_pool targets warlock_dummy
add ibc_operations_s::ibc_register_physical_fmr targets warlock_dummy
add ibc_operations_s::ibc_deregister_fmr targets warlock_dummy
+add ibc_operations_s::ibc_alloc_io_mem targets warlock_dummy
+add ibc_operations_s::ibc_free_io_mem targets warlock_dummy
+add ibc_operations_s::ibc_map_mem_iov targets warlock_dummy
+add ibc_operations_s::ibc_unmap_mem_iov targets warlock_dummy
add ibt_clnt_modinfo_s::mi_async_handler targets warlock_dummy
add ibtl_handlers.c:ibtl_async_client_call/async_handler targets warlock_dummy
add ibtl_handlers.c:ibtl_cq_handler_call/cq_handler targets warlock_dummy
diff --git a/usr/src/uts/common/io/warlock/tavor.wlcmd b/usr/src/uts/common/io/warlock/tavor.wlcmd
index 32acea6328..47ed431b8b 100644
--- a/usr/src/uts/common/io/warlock/tavor.wlcmd
+++ b/usr/src/uts/common/io/warlock/tavor.wlcmd
@@ -1,8 +1,7 @@
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
one tavor_state_s
@@ -20,6 +19,7 @@ root tavor_ci_query_ah
root tavor_ci_modify_ah
root tavor_ci_alloc_qp
root tavor_ci_alloc_special_qp
+root tavor_ci_alloc_qp_range
root tavor_ci_free_qp
root tavor_ci_release_qpn
root tavor_ci_query_qp
@@ -28,6 +28,7 @@ root tavor_ci_alloc_cq
root tavor_ci_free_cq
root tavor_ci_query_cq
root tavor_ci_resize_cq
+root tavor_ci_modify_cq
root tavor_ci_alloc_cq_sched
root tavor_ci_free_cq_sched
root tavor_ci_alloc_eec
@@ -68,6 +69,10 @@ root tavor_ci_destroy_fmr_pool
root tavor_ci_flush_fmr_pool
root tavor_ci_register_physical_fmr
root tavor_ci_deregister_fmr
+root tavor_ci_map_mem_iov
+root tavor_ci_unmap_mem_iov
+root tavor_ci_alloc_io_mem
+root tavor_ci_free_io_mem
### Tavor Firmware commands (currently unused)
root tavor_sync_tpt_cmd_post