Lines Matching +full:partition +full:-

100 	if (iocp->ioc_status == 0)
103 return (dladm_ib_ioctl_err2status(iocp->ioc_status));
107 * Get the active configuration information for the partition given by
120 * The ioc_linkid here will contain the data link id of the IB partition
134 attrp->dia_physlinkid = ioc.ibdioc.ioc_linkid;
135 attrp->dia_partlinkid = ioc.ioc_partid;
136 attrp->dia_pkey = ioc.ioc_pkey;
137 attrp->dia_portnum = ioc.ibdioc.ioc_portnum;
138 attrp->dia_hca_guid = ioc.ibdioc.ioc_hcaguid;
139 attrp->dia_port_guid = ioc.ibdioc.ioc_portguid;
140 attrp->dia_instance = ioc.ibdioc.ioc_port_inst;
143 * If the IP over IB driver reports that this partition was created
147 attrp->dia_flags |= DLADM_PART_FORCE_CREATE;
154 * Get the configuration information about the IB partition 'linkid' from the
167 /* Get the IB partition's datalink ID */
173 attrp->dia_partlinkid = linkid;
179 * Get the name of the IB Phys link over which IB partition was
185 attrp->dia_physlinkid = DATALINK_INVALID_LINKID;
190 &attrp->dia_physlinkid, NULL, NULL, NULL)) !=
195 /* Get the IB partition's P_Key */
197 &attrp->dia_pkey, sizeof (uint64_t));
208 * set the force create flag in the partition attributes.
216 attrp->dia_flags |= DLADM_PART_FORCE_CREATE;
226 * Get the configuration information for the IB partition given by the datalink
308 attrp->dia_physlinkid = ioc.ibdioc.ioc_linkid;
309 attrp->dia_portnum = ioc.ibdioc.ioc_portnum;
310 attrp->dia_port_pkey_tbl_sz = ioc.ioc_pkey_tbl_sz;
311 attrp->dia_port_pkeys = ioc.ioc_pkeys;
312 attrp->dia_hca_guid = ioc.ibdioc.ioc_hcaguid;
313 attrp->dia_port_guid = ioc.ibdioc.ioc_portguid;
314 attrp->dia_instance = ioc.ibdioc.ioc_port_inst;
328 if (attr && attr->dia_port_pkeys)
329 free(attr->dia_port_pkeys);
333 * Call into the IP over IB driver to create a partition object.
343 ioc.ibdioc.ioc_linkid = pattr->dia_physlinkid;
344 /* IB Partition datalink ID */
345 ioc.ioc_partid = pattr->dia_partlinkid;
346 ioc.ioc_pkey = pattr->dia_pkey;
347 ioc.ibdioc.ioc_port_inst = pattr->dia_instance;
348 ioc.ioc_force_create = ((pattr->dia_flags & DLADM_OPT_FORCE)
356 * partition specified by pattr.
368 status = dladm_create_conf(handle, pname, pattr->dia_partlinkid,
374 * Get the name of the IB Phys link over which this partition was
377 status = dladm_datalink_id2info(handle, pattr->dia_physlinkid,
388 u64 = pattr->dia_pkey;
396 if (pattr->dia_flags & DLADM_OPT_FORCE) {
415 * Create a new IB Partition datalink of name 'pname' over the IB Physical link
418 * partition will be created even if the P_Key 'pkey' does not exist or if the
463 * partition.
480 * Create the IB partition object.
489 * If the persist flag is set then write this partition information
500 * If the name-value pair list of properties were provided set those
504 for (i = 0; i < proplist->al_count; i++) {
505 dladm_arg_info_t *aip = &proplist->al_info[i];
508 pattr.dia_partlinkid, aip->ai_name, aip->ai_val,
509 aip->ai_count, pattr.dia_flags);
532 * Call into the IP over IB driver to delete the IB partition and free up all
546 * Delete an IB partition if 'flags' contains the active flag. Update the
559 * Make sure that the datalinkid provided is an IB partition class
587 * A partition could have been temporarily deleted in which
588 * case the delete of the active partition above would have
621 * plinkid is the IB partition datalink's ID. Get an handle to the
630 * Get the name of the IB Phys link over which this partition was
651 /* Get the IB partition's P_key */
661 * the partition creation to succeed even if the IB HCA port over which
662 * the partition is being created is still down. Since dladm_part_up
672 /* IB Partition's datalink ID. */
679 /* Create the active IB Partition object. */
690 * Bring up one or all IB partition(s) present in the persistent configuration
691 * database. If we need to bring up one IB Partition, its datalink ID is