HP-UX vPars and Integrity VM V6.3 Administrator Guide

conflicts at vPar or VM guest boot time, because those functions will not appear to be in use until
the vPars and VM guests are booted.
Use hpvmhwmgmt or vparhwmgmt command to view the DIO supported cards on a VSP and also
the assignment level the NICs support (device or function):
# vparhwmgmt -l -p dio
Assignment
H/W Path Class Owner Description Level Label
-------------- ------- ----- ------------------------- ---------- -------------
0/0/0/3/0/0/0 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/3/0/0/1 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/3/0/0/2 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/3/0/0/3 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/3/0/0/4 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/3/0/0/5 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/3/0/0/6 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/3/0/0/7 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/0 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/1 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/2 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/3 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/4 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/5 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/6 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/7 lan host HP PCIe 2-p 10GbE Built- device
Use the hpvmhwmgmt -p dio a path command to assign the card or function to the DIO
pool. For DLA cards, you can use the path of any port on the card. All functions of the card are
assigned to the DIO pool. After the function or device is added to the DIO pool, the hpvmhwmgmt
command shows the owner as hpvm and not host.
NOTE: If you use the L label option when adding a DLA card to the DIO pool, only the
function (path) that was specified in the command line will be labeled, other ports of the DLA card
must be labeled individually.
# hpvmhwmgmt -p dio -a 0/0/0/4/0/0/1 -L DLA1
# hpvmhwmgmt -l -p dio
Assignment
H/W Path Class Owner Description Level Label
-------------- ------- ----- ------------------------- ---------- -------------
0/0/0/3/0/0/0 lan host HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/0 lan hpvm HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/1 lan hpvm HP PCIe 2-p 10GbE Built- device DLA1
0/0/0/4/0/0/2 lan hpvm HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/3 lan hpvm HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/4 lan hpvm HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/5 lan hpvm HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/6 lan hpvm HP PCIe 2-p 10GbE Built- device
0/0/0/4/0/0/7 lan hpvm HP PCIe 2-p 10GbE Built- device
# hpvmhwmgmt -p dio -m 0/0/0/4/0/0/7 -L DLA1.1
# hpvmhwmgmt -p dio -l | grep DLA1
0/0/0/4/0/0/1 lan hpvm HP PCIe 2-p 10GbE Built- device DLA1
0/0/0/4/0/0/7 lan hpvm HP PCIe 2-p 10GbE Built- device DLA1.1
When a DIO device is added to the DIO pool, ioscan shows the device is claimed by the hpvmdio
device:
# ioscan -funC hpvmdio
Class I H/W Path Driver S/W State H/W Type Description
======= === ============= ========= ========= ========= ================
hpvmdio 0 0/0/0/4/0/0/0 hpvmdio CLAIMED INTERFACE HP PCIe 2-p 10GbE Built-in FLEX-10
/dev/hpvmdio0
.
You cannot add a function to the pool if it is in use by the VSP:
130 Creating virtual and direct I/O networks