1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
|
'\" te
.\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
.\" 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.
.\" 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.
.\" 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]
.TH CFGADM_IB 1M "Jul 2, 2008"
.SH NAME
cfgadm_ib \- InfiniBand hardware specific commands for cfgadm
.SH SYNOPSIS
.LP
.nf
\fB/usr/sbin/cfgadm\fR \fB-f\fR [\fB-y\fR | \fB-n\fR] [\fB-v\fR] \fB-c\fR \fIfunction\fR \fIap_id\fR...
.fi
.LP
.nf
\fB/usr/sbin/cfgadm\fR [\fB-f\fR] [\fB-y\fR | \fB-n\fR] [\fB-v\fR] [\fB-o\fR \fIhardware_options\fR]
\fB-x\fR \fIhardware_function\fR \fIap_id\fR...
.fi
.LP
.nf
\fB/usr/sbin/cfgadm\fR \fB-v\fR [\fB-a\fR] [\fB-s\fR \fIlisting_option\fR] [-] [\fIap_id\fR | \fIap_type...\fR]
.fi
.LP
.nf
\fB/usr/sbin/cfgadm\fR \fB-v\fR \fB-h\fR [\fIap_id\fR]...
.fi
.SH DESCRIPTION
.sp
.LP
The InfiniBand hardware specific library \fB/usr/lib/cfgadm/ib.so.1\fR provides
the functionality for administering its fabric through the \fBcfgadm\fR(1M)
utility. \fBcfgadm\fR operates on attachment points. See \fBcfgadm\fR(1M).
.sp
.LP
An InfiniBand (\fBIB\fR) device is enumerated by the IB nexus driver,
\fBib\fR(7D), based on the services from the IB Device Manager (IBDM).
.sp
.LP
The IB nexus driver creates and initializes five types of child device nodes:
.RS +4
.TP
.ie t \(bu
.el o
IB Port devices
.RE
.RS +4
.TP
.ie t \(bu
.el o
IB HCA service (HCA_SVC) devices
.RE
.RS +4
.TP
.ie t \(bu
.el o
IB Virtual Physical Point of Attachment (VPPA) devices
.RE
.RS +4
.TP
.ie t \(bu
.el o
I/O Controller (IOC)
.RE
.RS +4
.TP
.ie t \(bu
.el o
IB Pseudo devices
.RE
.sp
.LP
See \fBib\fR(7D) for details on enumeration of IB Port, IB VPPA, and IB HCA_SVC
devices. For additional information on IBDM, see \fBibdm\fR(7D). See
\fBib\fR(4) for details on IB Pseudo devices.
.sp
.LP
For IB administration, two types of static attachment point are created for the
fabric administration as seen by the given host. There is one static attachment
point \fBib\fR and all IB devices (either an IOC, Port, VPPA, HCA_SVC, or a
Pseudo device) in the fabric are represented as dynamic attachment points based
off of it. There is another static attachment point for each Host Channel
Adapter (HCA) in the host based on its node Globally Unique Identifier (GUID)
value.
.sp
.LP
Attachment points are named through ap_ids. There are two types of ap_ids:
logical and physical. The physical ap_id is based on the physical path name.
For the IB fabric it is \fB/devices/ib:fabric\fR. The logical ap_id is a
shorter, and has a more user friendly name.
.sp
.LP
The static ap_id for the IB fabric is \fBib\fR. The IB devices are dynamic
attachment points and have no physical ap_id. The logical ap_id of an IOC
contains its GUID, \fBib::\fR\fIIOC-GUID\fR. An example of an IOC ap_id is
\fBib::80020123456789a\fR. The logical ap_id of a Pseudo device, see ib(4) for
details, is of the format \fBib::\fR\fIdriver_name\fR\fB,\fR\fIunit-address\fR.
An example of a pseudo ap_id would be \fBib::sdp,0\fR where "\fBsdp\fR" is the
driver name and "\fB0\fR" is its \fIunit-address\fR property. The logical ap_id
of Port, VPPA and HCA_SVC device contains its Partition Key (\fIP_Key\fR),
\fIPort GUID\fR / \fINode GUID\fR and a communication service-name. The format
of ap_id is as below:
.sp
.ne 2
.na
\fBPort device\fR
.ad
.sp .6
.RS 4n
\fBib::\fR\fIPORT_GUID\fR\fB,\fR\fI0\fR\fB,\fR\fIservice-name\fR
.RE
.sp
.ne 2
.na
\fBVPPA device\fR
.ad
.sp .6
.RS 4n
\fBib::\fR\fIPORT_GUID\fR\fB,\fR\fIP_Key\fR\fB,\fR\fIservice-name\fR
.RE
.sp
.ne 2
.na
\fBHCA_SVC device\fR
.ad
.sp .6
.RS 4n
\fBib::\fR\fIHCA_GUID\fR\fB,\fR0\fB,\fR\fIservicename\fR
.RE
.sp
.LP
The Partition Key (\fIP_Key\fR) is \fB0\fR for Port and HCA_SVC devices. The
\fIP_Key\fR helps determine the partition to which this port belongs for a VPPA
device node. A port might have more than one \fIP_Key\fR. An example of a VPPA
device logical ap_id point is \fBib::80245678,ffff,ipib\fR. The
\fIport-GUID\fR is \fB80245678\fR, the \fIP_Key\fR is \fB0xffff\fR, and the
service name is \fBipib\fR. The service-name information is obtained from the
file \fB/kernel/drv/ib.conf\fR which contains service-name strings. The HCA's
logical ap_id contains its node GUID value, hca:HCA-GUID. An example is
\fBhca:21346543210a987\fR.
.sp
.LP
A listing of the IB attachment points includes information on all IB devices
(IOC, VPPA, HCA_SVC, Pseudo, and Port devices seen by the IBDM and the IB nexus
driver) in the fabric even if they are not seen by the host and configured for
use.
.sp
.LP
The following shows a listing of five IB devices (two IOC, one VPPA, one Port,
one HCA_SVC) and one HCA:
.sp
.in +2
.nf
example# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
hca:21346543210a987 IB-HCA connected configured ok
ib IB-FABRIC connected configured ok
ib::80020123456789a IB-IOC connected configured ok
ib::802abc9876543 IB-IOC connected unconfigured unknown
ib::80245678,ffff,ipib IB-VPPA connected configured ok
ib::12245678,0,nfs IB-PORT connected configured ok
ib::21346543,0,hnfs IB-HCA_SVC connected configured ok
ib::sdp,0 IB-PSEUDO connected configured ok
.fi
.in -2
.sp
.sp
.LP
The ap_id \fBib::802abc9876543\fR shows an IOC device that is not yet
configured by the host for use or had been previously offlined by an explicit
.sp
.in +2
.nf
cfgadm \fB-c\fR unconfigure
.fi
.in -2
.sp
.sp
.LP
operation. The distinction was made by the information displayed under the
\fBCondition\fR column. The IB device with a zero P_Key and HCA GUID is a
HCA_SVC device. Refer to \fBcfgadm\fR(1M) for more information regarding
listing attachment points.
.sp
.LP
The receptacle state for attachment points have the following meanings:
.sp
.ne 2
.na
\fBconnected\fR
.ad
.sp .6
.RS 4n
For an IOC/VPPA/Port/Pseudo/HCA_SVC device, \fBconnected\fR implies that it has
been seen by the host. The device might not have been configured for use by
Solaris.
.sp
For a HCA attachment point, \fBconnected\fR implies that it has been configured
and is in use.
.sp
All IB ap_ids are always shown as connected.
.RE
.sp
.LP
The occupant state for attachment points have the following meanings:
.sp
.ne 2
.na
\fBconfigured\fR
.ad
.sp .6
.RS 4n
The IB device, and the HCA ap_id, are configured and usable by Solaris.
.RE
.sp
.ne 2
.na
\fBunconfigured\fR
.ad
.sp .6
.RS 4n
The IB device at the ap_id was explicitly offlined using \fBcfgadm\fR \fB-c\fR
\fBunconfigure\fR, was not successfully configured. This could be because it
wasn not successfully configuref for use with Solaris (no driver, or a device
problem), or because it was never configured for use by the IB nexus driver.
.sp
The \fBunconfigured\fR operation is not supported for the HCA attachment point.
The IB static apid, \fBib\fR, is shown unconfigured if the system has no IB
hardware.
.RE
.sp
.LP
The attachment point conditions are:
.sp
.ne 2
.na
\fBfailed\fR
.ad
.sp .6
.RS 4n
Not used.
.RE
.sp
.ne 2
.na
\fBfailing\fR
.ad
.sp .6
.RS 4n
Not used.
.RE
.sp
.ne 2
.na
\fBok\fR
.ad
.sp .6
.RS 4n
Normal state. Ready for use.
.RE
.sp
.ne 2
.na
\fBunknown\fR
.ad
.sp .6
.RS 4n
This state is only valid for IB device that have been probed by IBDM but not
yet configured for use by Solaris. It is also shown for devices that have been
explicitly offlined by a \fBcfgadm\fR \fB-c\fR \fBunconfigure\fR operation.
This condition does not apply to a HCA attachment point.
.RE
.sp
.ne 2
.na
\fBunusable\fR
.ad
.sp .6
.RS 4n
Not used.
.RE
.SH OPTIONS
.sp
.LP
The following options are supported:
.sp
.ne 2
.na
\fB\fB-c\fR \fIfunction\fR\fR
.ad
.sp .6
.RS 4n
The IB hardware specific library supports two generic commands
(\fIfunction\fRs). These commands are not supported on the static attachment
points (that is, the HCA ap_ids and the IB static \fBib\fR ap_id).
.sp
The following generic commands are supported:
.sp
.ne 2
.na
\fBconfigure\fR
.ad
.sp .6
.RS 4n
Configure the IB device to be used by Solaris.
.RE
.sp
.ne 2
.na
\fBunconfigure\fR
.ad
.sp .6
.RS 4n
Unconfigure the IB device. If successful, \fBcfgadm\fR reports the
\fBcondition\fR of this \fBap_id\fR as \fBunknown\fR.
.RE
.RE
.sp
.ne 2
.na
\fB\fB-f\fR\fR
.ad
.sp .6
.RS 4n
Not supported.
.RE
.sp
.ne 2
.na
\fB\fB-h\fR \fIap_id\fR\fR
.ad
.sp .6
.RS 4n
Obtain IB specific help for an IB attachment point.
.RE
.sp
.ne 2
.na
\fB\fB-l\fR\fR
.ad
.sp .6
.RS 4n
List the state and condition of IB attachment points. The \fB-l\fR option works
as described in \fBcfgadm\fR(1M).
.sp
When paired with the \fB-a\fR option, displays the dynamic attachment points as
well (IOC, VPPA, Port, Pseudo, and HCA_SVC devices).
.sp
When paired with \fB-v\fR option, displays verbose data about the ap_ids. For
an IOC, the \fBInfo\fR field in the
.sp
.in +2
.nf
cfgadm \fB-avl\fR
.fi
.in -2
.sp
output displays the following information: VendorID, IOCDeviceID,
DeviceVersion, SubsystemVendorID, SubsystemID, Class, Subclass, Protocol,
ProtocolVersion and IDString from the IOCControllerProfile. If the ID string
isn't provided then nothing is displayed in its place. These fields are defined
in the InfiniBand Specification Volume 1 (http://www.infinibandta.org).
.sp
For a VPPA, Port, or HCA_SVC device the \fBInfo\fR field in the \fBcfgadm
-lav\fR display shows the service name information to which this device is
bound. If no such information exists, nothing is displayed.
.sp
For a Pseudo device \fBcfgadm -alv\fR displays the driver name and its
\fBunit-address\fR information. For a HCA the verbose listing displays the
VendorID, ProductID of the HCA, number of ports it has, and the PortGUID value
of its ports. See \fBEXAMPLES\fR.
.RE
.sp
.ne 2
.na
\fB\fB-o\fR \fIhardware_option\fR\fR
.ad
.sp .6
.RS 4n
This option is not currently defined.
.RE
.sp
.ne 2
.na
\fB\fB-s\fR \fIlisting_option\fR\fR
.ad
.sp .6
.RS 4n
Attachment points of class ib can be listed by using the select sub-option.
Refer to the \fBcfgadm\fR(1M) man page for more information.
.RE
.sp
.ne 2
.na
\fB\fB-x\fR \fIhardware_function\fR\fR
.ad
.sp .6
.RS 4n
Perform a hardware specific function. Note that the \fIname\fR can not be more
than 4 characters long.
.sp
The following hardware specific functions are supported:
.sp
.ne 2
.na
\fB\fBadd_service\fR
\fB-ocomm\fR\fB=[port|vppa|hca_svc],service=\fR\fIname\fR\fR
.ad
.sp .6
.RS 4n
This hardware specific function is supported on the static \fBIB\fR attachment
point. It can be used to add a new service to \fB/kernel/drv/ib.conf\fR file
and to update the \fBib\fR(7D) driver.
.sp
You must use the \fBservice=\fR\fIname\fR option to indicate the new service to
be added. You must use the option \fBcomm=[port|vppa|hca_svc]\fR option to add
the \fBname\fR service to either \fBport-svc-list\fR or to the
\fBhca-svc-list\fR in the \fB/kernel/drv/ib.conf\fR file. See \fBEXAMPLES\fR.
.RE
.sp
.ne 2
.na
\fB\fBdelete_service\fR
\fB-ocomm\fR\fB=[port|vppa|hca_svc],service=\fR\fIname\fR\fR
.ad
.sp .6
.RS 4n
This hardware specific function is supported on the static \fBIB\fR attachment
point only. It can be used to delete an existing service from the
\fB/kernel/drv/ib.conf\fR file and also from the \fBib\fR(7D) driver's data
base. You must use the \fBservice=name\fR option to indicate which service to
delete. You must use the \fBcomm=[port|vppa|hca_svc]\fR option to delete this
service from the \fBport-svc-list\fR, \fBvppa-svc-list\fR, or
\fBvppa-svc-list\fR of the \fB/kernel/drv/ib.conf\fR file. See \fBEXAMPLES\fR.
.RE
.sp
.ne 2
.na
\fB\fBlist_clients\fR\fR
.ad
.sp .6
.RS 4n
Supported on \fBHCA\fR attachment points. Displays all the kernel IB clients
using this \fBHCA\fR. It also displays the respective ap_ids of these kernel IB
clients and if they have opened an alternate \fBHCA\fR device. See
\fBEXAMPLES\fR.
.sp
\&.
.sp
If a given kernel IB client does not have a valid ap_id then a \fB-\fR is
displayed in that column.
.RE
.sp
.ne 2
.na
\fB\fBlist_services\fR\fR
.ad
.sp .6
.RS 4n
This hardware specific function is supported on the static \fBIB\fR attachment
point only. It lists all the Port and VPPA services as read from the
\fB/kernel/drv/ib.conf\fR file. See \fBEXAMPLES\fR.
.RE
.sp
.ne 2
.na
\fB\fBunconfig_clients\fR\fR
.ad
.sp .6
.RS 4n
This hardware specific function is supported on the static HCA attachment point
only. It can be used to unconfigure all IB kernel clients of this given HCA.
Only IB kernel clients that do not have an alternate HCA are unconfigured. See
\fBEXAMPLES\fR.
.RE
.sp
.ne 2
.na
\fB\fBupdate_ioc_config\fR\fR
.ad
.sp .6
.RS 4n
This hardware specific function is supported on static ib attachment point and
the IOC attachment points. For the \fBib\fR APID, this function updates
properties of all the IOC device nodes. For the IOC APID, this function updates
the properties of specified IOC device node. This command updates the
\fBport-list\fR, \fBport-entries\fR, \fBservice-id\fR, and \fBservice-name\fR
IOC node properties .
.sp
See \fBib\fR(7D).
.RE
.sp
.ne 2
.na
\fB\fBupdate_pkey_tbls\fR\fR
.ad
.sp .6
.RS 4n
Supported on the static \fBib\fR attachment point. Updates the \fBPKEY\fR
information inside \fBIBTL\fR. \fBIBTL\fR re-reads the \fBP_Key\fR tables for
all the ports on each \fBHCA\fR present on the host.
.sp
See \fBibtl\fR(7D).
.RE
.RE
.SH EXAMPLES
.LP
\fBExample 1 \fRListing the State and Condition of IB Devices
.sp
.LP
The following command lists the state and condition of IB devices on the
system. It only shows the static attachment points.
.sp
.in +2
.nf
example# cfgadm
hca:21346543210a987 IB-HCA connected configured ok
ib IB-FABRIC connected configured ok
.fi
.in -2
.sp
.sp
.LP
The \fB-a\fR option lists all attachment points. The following example uses the
\fB-a\fR option and lists all attachment points:
.sp
.in +2
.nf
example# cfgadm -a
hca:21346543210a987 IB-HCA connected configured ok
ib IB-FABRIC connected configured ok
ib::80020123456789a IB-IOC connected unconfigured ok
ib::80245678,ffff,ipib IB-VPPA connected configured ok
ib::21346543,0,hnfs IB-HCA_SVC connected configured ok
ib::12245678,0,nfs IB-PORT connected configured ok
ib::sdp,0 IB-PSEUDO connected configured ok
.fi
.in -2
.sp
.LP
\fBExample 2 \fRListing the Verbose Status of a IB VPPA Device
.sp
.LP
The following command lists the verbose status of a IB VPPA device:
.sp
.in +2
.nf
example# cfgadm -alv ib::80245678,ffff,ipib
Ap_Id Receptacle Occupant Condition Information
When Type Busy Phys_Id
ib::80245678,ffff,ipib connected configured ok ipib
unavailable IB-VPPA n /devices/ib:fabric::80245678,ffff,ipib
.fi
.in -2
.sp
.sp
.LP
A verbose listing of an IOC shows additional information. The following command
shows a verbose listing:
.sp
.in +2
.nf
example# cfgadm -alv ib::80020123456789a
Ap_Id Receptacle Occupant Condition Information
When Type Busy Phys_Id
ib::80020123456789a connected configured ok VID: 0xeaea
DEVID: 0xeaea VER: 0x5 SUBSYS_VID: 0x0 SUBSYS_ID: 0x0 CLASS: 0xffff
SUBCLASS: 0xff PROTO: 0xff PROTOVER: 0x1 ID_STRING: Sample Host Adapter
unavailable IB-IOC n /devices/ib:fabric::80020123456789a
.fi
.in -2
.sp
.sp
.LP
A verbose listing of a Pseudo device shows:
.sp
.in +2
.nf
example# cfgadm -alv ib::sdp,0
Ap_Id Receptacle Occupant Condition Information
When Type Busy Phys_Id
ib::sdp,0 connected configured ok Driver = "sd
p" Unit-address = "0"
unavailable IB-PSEUDO n /devices/ib:fabric::sdp,0
.fi
.in -2
.sp
.sp
.LP
A verbose listing of a HCA shows:
.sp
.in +2
.nf
example# cfgadm -alv hca:21346543210a987
Ap_Id Receptacle Occupant Condition Information
When Type Busy Phys_Id
hca:21346543210a987 connected configured ok VID: 0x15b3,
PID: 0x5a44, #ports: 0x2, port1 GUID: 0x80245678, port2 GUID: 0x80245679
unavailable IB-HCA n /devices/ib:21346543210a987
.fi
.in -2
.sp
.sp
.LP
You can obtain more user-friendly output if you specify these following
\fBcfgadm\fR class and field selection options: \fB\fR\fB-s\fR
\fB"select=class(ib),cols=ap_id:info"\fR
.sp
.LP
The following command displays only IB ap_ids. The output only includes the
\fBap_id\fR and \fBInformation\fR fields.
.sp
.in +2
.nf
# cfgadm -al -s "cols=ap_id:info" ib::80245678,ffff,ipib
Ap_Id Information
ib::80245678,ffff,ipib ipib
.fi
.in -2
.sp
.LP
\fBExample 3 \fRUnconfiguring an Existing IB IOC
.sp
.LP
The following command unconfigures the IB IOC attached to
\fBib::80020123456789a\fR, then displays the status of the \fBap_id\fR:
.sp
.in +2
.nf
# cfgadm -c unconfigure ib::80020123456789a
Unconfigure the device: /devices/ib:fabric::80020123456789a
This operation will suspend activity on the IB device
Continue (yes/no)?
.fi
.in -2
.sp
.sp
.LP
Enter: \fBy\fR
.sp
.in +2
.nf
IB device unconfigured successfully.
# cfgadm -al ib::80020123456789a
Ap_Id Type Receptacle Occupant Condition
ib::80020123456789 IB-IOC connected unconfigured unknown
#
.fi
.in -2
.sp
.sp
.LP
The condition unknown implies that the device node doesn't exist anymore and
this IB device's existence is known only to the IB Device Manager.
.LP
\fBExample 4 \fRConfiguring an IB IOC
.sp
.LP
The following series of commands configures an IB device attached to
\fBib::80020123456789a\fR:
.sp
.in +2
.nf
# cfgadm -yc configure ib::80020123456789a
# cfgadm -al ib::80020123456789a
Ap_Id Type Receptacle Occupant Condition
ib::80020123456789a IB-IOC connected configured ok
.fi
.in -2
.sp
.LP
\fBExample 5 \fRListing All Kernel IB Clients of a HCA
.sp
.LP
The following command lists all kernel IB clients of an HCA attached to
\fBhca:21346543210a987\fR:
.sp
.in +2
.nf
# cfgadm -x list_clients hca:21346543210a987
Attachment Point Clients Alternate HCA
ib::80020123456789a ioc1 Yes
ib::80245678,ffff,ipib ipib No
ib::21346543,0,hnfs hnfs No
- ibdm No
- ibmf No
.fi
.in -2
.sp
.LP
\fBExample 6 \fRAdding a Port Service
.sp
.LP
The following command adds a new Port service called \fBsrp\fR:
.sp
.in +2
.nf
# cfgadm -o comm=port,service=srp -x add_service ib
.fi
.in -2
.sp
.LP
\fBExample 7 \fRDeleting a VPPA Service
.sp
.LP
The following command deletes the \fBibd\fR VPPA service \fBibd\fR:
.sp
.in +2
.nf
# cfgadm -o comm=vppa,service=ipib -x delete_service ib
.fi
.in -2
.sp
.LP
\fBExample 8 \fRListing Port, VPPA, HCA_SVC Services
.sp
.LP
The following command lists all Port, VPPA, and HCA_SVC services:
.sp
.in +2
.nf
# cfgadm -x list_services ib
Port communication services:
srp
VPPA communication services:
ipib
nfs
HCA_SVC communication services:
hnfs
.fi
.in -2
.sp
.LP
\fBExample 9 \fRReprobing IOC Devices
.sp
.LP
The following command reprobes all IOC device nodes.
.sp
.in +2
.nf
# cfgadm -x update_ioc_config ib
This operation can update properties of IOC devices.
Continue (yes/no)?
Enter: y
#
.fi
.in -2
.sp
.LP
\fBExample 10 \fRUnconfiguring All Kernel Clients of a HCA
.sp
.LP
The following command unconfigures all kernel clients of a HCA
.sp
.in +2
.nf
# cfgadm -x unconfig_clients hca:21346543
This operation will unconfigure clients of this HCA.
Continue (yes/no)?
Enter: y
.fi
.in -2
.sp
.SH FILES
.sp
.ne 2
.na
\fB\fB/usr/lib/cfgadm/ib.so.1\fR\fR
.ad
.sp .6
.RS 4n
Hardware-specific library for generic InfiniBand device administration
.RE
.SH SEE ALSO
.sp
.LP
\fBcfgadm\fR(1M), \fBconfig_admin\fR(3CFGADM), \fBlibcfgadm\fR(3LIB),
\fBib\fR(4), \fBattributes\fR(5), \fBib\fR(7D), \fBibdm\fR(7D), \fBibtl\fR(7D)
.sp
.LP
InfiniBand Specification Volume 1 (http://www.infinibandta.org)
.SH NOTES
.sp
.LP
Apart from the listing (\fBcfgadm\fR \fB-l\fR or \fBcfgadm\fR \fB-x\fR
\fBlist_clients\fR), only the superuser can execute any functions on an
attachment point.
|