This section provides examples of the use of the following cfgadm command options to modify existing IB configurations:
cfgadm -o hardware-options
cfgadm -x hardware-functions (also used to customize information display. See Displaying IB Device Information.)
When you enable additional P_keys or disable them, the P_key table information of an HCA's ports changes. For consistency, corresponding updates must also occur in the internal P_key databases of the InfiniBand Transport Framework (IBTF) and IBDM.
The following example shows how to update the P_key databases of IBTF and IBDM.
# cfgadm -x update_pkey_tbls -y ib
For more information, see the ibtl(7D) and ibdm(7D) man pages.
Example 3-10 Adding a Communication ServiceThe following example adds a VPPA communication service to the IB device and also includes verification of the operation.
# cfgadm -o comm=vppa,service=new -x add_service ib # cfgadm -x list_services ib Port communication services: srp VPPA communication services: ibd newThe service has been added. HCA_SVC communication services: nfs_serviceExample 3-11 Remove an Existing Communication Service
This example removes the communication service that was added in the previous example. The name of the communication service is new. After the removal, the completion of the operation is verified.
# cfgadm -o comm=vppa,service=new -x delete_service ib # cfgadm -x list_services ib Port communication services: srp VPPA communication services: ibd HCA_SVC communication services: hnfs