2 .\" Copyright (c) 2004-2006 Storage Networking Industry Association. All Rights Reserved.
3 .\" Portions Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved.
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH MP_SETPROBINGPOLLINGRATE 3MPAPI "Feb 15, 2006"
9 MP_SetProbingPollingRate \- set the polling rate
13 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lMPAPI\fR [ \fIlibrary\fR\&.\|.\|. ]
16 \fBMP_STATUS\fR \fBMP_SetProbingPollingRate\fR(\fBMP_OID\fR \fIoid\fR,
17 \fBMP_UINT32\fR \fIpollingRate\fR);
27 An object ID of either the plugin or a multipath logical unit.
33 \fB\fIpollingRate\fR\fR
36 The value to be set in \fBMP_PLUGIN_PROPERTIES\fR
37 \fIcurrentProbingPollingRate\fR or
38 \fBMP_MULTIPATH_LOGICAL_UNIT_PROPERTIES\fR \fIProbingPollingRate\fR.
44 The \fBMP_SetProbingPollingRate()\fR function sets the polling rates. Setting
45 the \fIpollingRate\fR to zero disables polling.
48 If the object ID refers to a plugin, this sets the
49 \fIcurrentProbingPollingRate\fR property in the plugin properties. If the
50 object ID refers to a multipath logical unit, this sets the
51 \fIProbingPollingRate\fR property.
56 \fB\fBMP_STATUS_INVALID_OBJECT_TYPE\fR\fR
60 The \fIoid\fR does not specify any valid object type. This is most likely to
61 happen if an uninitialized object ID is passed to the API.
67 \fB\fBMP_STATUS_INVALID_PARAMETER\fR\fR
71 One of the polling values is outside the range supported by the driver or when
72 the \fIoid\fR has a type subfield other than \fBMP_OBJECT_TYPE_PLUGIN\fR or
73 \fBMP_OBJECT_TYPE_MULTIPATH_LU\fR.
79 \fB\fBMP_STATUS_OBJECT_NOT_FOUND\fR\fR
83 The \fIoid\fR ownerID or sequence number is invalid.
89 \fB\fBMP_STATUS_SUCCESS\fR\fR
93 The operation is successful.
99 \fB\fBMP_STATUS_UNSUPPORTED\fR\fR
103 The implementation does not support the API.
109 See \fBattributes\fR(5) for descriptions of the following attributes:
117 ATTRIBUTE TYPE ATTRIBUTE VALUE
119 Interface Stability T{
120 Standard: ANSI INCITS 412 Multipath Management API
129 \fBlibMPAPI\fR(3LIB), \fBattributes\fR(5)
132 \fIMultipath Management API Version 1.0\fR