Before You Begin
Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.
$ dladm show-linkprop -p cpus link
A list of CPUs that process packets for the datalink. Interrupts for the datalink might also be targeted to one of the CPUs in the list.
$ dladm set-linkprop -p cpus=cpu1,cpu2,... link
Refers to the CPU number that you want to assign to the link. You can dedicate multiple CPUs to the link.
$ dladm show-linkprop -p cpus link
This example shows how to dedicate specific CPUs to the datalink net0.
$ dladm show-linkprop -p cpus net0 LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE net0 cpus rw -- 0-2 -- --
The output shows that the system has implicitly assigned three CPUs (0-2) to the datalink net0. However, the CPUs are not exclusively allocated to the datalink net0.
$ dladm set-linkprop -p cpus=0,1 net0 $ dladm show-linkprop -p cpus net0 LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE net0 cpus rw 0-1 0-1 -- --
The output shows that you have explicitly assigned two CPUs (0-1) to the datalink net0. The allocated CPUs will process packets for the datalink net0.